Skip to content

Commit

Permalink
Add code for LED color control
Browse files Browse the repository at this point in the history
  • Loading branch information
bigbadblunt committed Oct 5, 2019
1 parent 5fa8ddb commit c352fd7
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,13 @@ lightwave2:
username: [email protected]
password: hunter2
```
## Usage
Once configured this should then automatically add all switches, lights, thermostats and blinds/covers that are configured in your Lightwave app.
Generation 2 devices will have attributes `current_power_w` for current power usage and `led_rgb` for the color of the LED.

The color of the LED can be changed using the service call `lightwave2.set_led_rgb`.


This should then automatically add all switches, lights, thermostats and blinds/covers that are configured in your Lightwave app.
## Thanks
Credit to Warren Ashcroft whose code I used as a base https://github.com/washcroft/LightwaveRF-LinkPlus
9 changes: 8 additions & 1 deletion info.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,11 @@ Add to configuration.yaml:
lightwave2:
username: [email protected]
password: hunter2
```
```

## Usage
Once configured this should then automatically add all switches, lights, thermostats and blinds/covers that are configured in your Lightwave app.

Generation 2 devices will have attributes `current_power_w` for current power usage and `led_rgb` for the color of the LED.

The color of the LED can be changed using the service call `lightwave2.set_led_rgb`.

0 comments on commit c352fd7

Please sign in to comment.