Skip to content

Commit 311439f

Browse files
authored
Merge pull request #1 from mjg59/master
Update
2 parents 9ff6fa8 + 1cceae7 commit 311439f

7 files changed

Lines changed: 413 additions & 81 deletions

File tree

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
Python control for Broadlink RM2 IR controllers
22
===============================================
33

4-
A simple Python API for controlling IR controllers from [Broadlink](http://www.ibroadlink.com/rm/). At present, only RM Pro (referred to as RM2 in the codebase) and A1 sensor platform devices are supported. There is currently no support for the cloud API.
4+
A simple Python API for controlling IR controllers from [Broadlink](http://www.ibroadlink.com/rm/). At present, the following devices are currently supported:
5+
6+
* RM Pro (referred to as RM2 in the codebase)
7+
* A1 sensor platform devices are supported
8+
* RM3 mini IR blaster
9+
10+
There is currently no support for the cloud API.
511

612
Example use
713
-----------
@@ -68,6 +74,11 @@ Check power state on a SmartPlug:
6874
state = devices[0].check_power()
6975
```
7076

77+
Check energy consumption on a SmartPlug:
78+
```
79+
state = devices[0].get_energy()
80+
```
81+
7182
Set power state for S1 on a SmartPowerStrip MP1:
7283
```
7384
devices[0].set_power(1, True)
@@ -76,4 +87,4 @@ devices[0].set_power(1, True)
7687
Check power state on a SmartPowerStrip:
7788
```
7889
state = devices[0].check_power()
79-
```
90+
```

0 commit comments

Comments
 (0)