mirror of
https://github.com/mjg59/python-broadlink.git
synced 2024-11-14 03:20:14 +01:00
Update README.md
Add new models and fix syntax errors in the instructions.
This commit is contained in:
parent
9a04f68212
commit
82a20dbdda
26
README.md
26
README.md
@ -1,13 +1,21 @@
|
|||||||
Python control for Broadlink RM2, RM3 and RM4 series controllers
|
Python control for Broadlink devices
|
||||||
===============================================
|
===============================================
|
||||||
|
|
||||||
A simple Python API for controlling IR/RF controllers from [Broadlink](http://www.ibroadlink.com/rm/). At present, the following devices are currently supported:
|
A simple Python API for controlling Broadlink devices. At present, the following devices are supported:
|
||||||
|
|
||||||
* RM Pro (referred to as RM2 in the codebase)
|
- Universal remotes: `RM pro`, `RM pro+`, `RM pro plus`, `RM mini 3`, `RM4 pro`, `RM4 mini`, `RM4C mini`, `RM4S`
|
||||||
* A1 sensor platform devices are supported
|
- Smart plugs: `SP1`, `SP2`, `SP mini`, `SP mini+`, `SP3`, `SP3S`, `SP4L`, `SP4M`
|
||||||
* RM3 mini IR blaster
|
- Power strips: `MP1-1K4S`, `MP1-1K3S2U`, `MP2`
|
||||||
* RM4 and RM4C mini blasters
|
- Control box: `SC1`, `SCB1E`, `MCB1`
|
||||||
- SP2/SP3/SP4 smart plugs
|
- Sensors: `A1`
|
||||||
|
- Alarm kit: `S1C`, `S2KIT`
|
||||||
|
- Light bulb: `LB1`, `SB800TD`
|
||||||
|
|
||||||
|
Other devices with Broadlink DNA:
|
||||||
|
- Smart plugs: `Ankuoo NEO`, `Ankuoo NEO PRO`, `Efergy Ego`, `BG AHC/U-01`
|
||||||
|
- Outlet: `BG 800`, `BG 900`
|
||||||
|
- Curtain motor: `Dooya DT360E-45/20`
|
||||||
|
- Thermostat: `Hysen HY02B05H`
|
||||||
|
|
||||||
There is currently no support for the cloud API.
|
There is currently no support for the cloud API.
|
||||||
|
|
||||||
@ -42,7 +50,7 @@ Using your machine's IP address with `local_ip_address`
|
|||||||
```
|
```
|
||||||
import broadlink
|
import broadlink
|
||||||
|
|
||||||
devices = broadlink.discover(timeout=5, local_ip_address=192.168.0.100)
|
devices = broadlink.discover(timeout=5, local_ip_address='192.168.0.100')
|
||||||
```
|
```
|
||||||
|
|
||||||
Using your subnet's broadcast address with `discover_ip_address`
|
Using your subnet's broadcast address with `discover_ip_address`
|
||||||
@ -50,7 +58,7 @@ Using your subnet's broadcast address with `discover_ip_address`
|
|||||||
```
|
```
|
||||||
import broadlink
|
import broadlink
|
||||||
|
|
||||||
devices = broadlink.discover(timeout=5, discover_ip_address=192.168.0.255)
|
devices = broadlink.discover(timeout=5, discover_ip_address='192.168.0.255')
|
||||||
```
|
```
|
||||||
|
|
||||||
Obtain the authentication key required for further communication:
|
Obtain the authentication key required for further communication:
|
||||||
|
Loading…
Reference in New Issue
Block a user