This repository has been archived by the owner on Jul 28, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
37 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,37 @@ | ||
# gateway-lightify | ||
# IoT Gateway Application for OSRAM Lightify | ||
|
||
Connect your OSRAM Lightify Hub to Watson IoT. | ||
|
||
- [IBM Watson IoT](https://internetofthings.ibmcloud.com) | ||
- [OSRAM Lightify](https://www.osram.com/lightify) | ||
|
||
## Lights | ||
|
||
### Automatic Device Registration | ||
|
||
Any new light connected to your Lightify hub will be auto-registered as a new device in Watson IoT | ||
|
||
### Events | ||
|
||
State updates are published to Watson IoT every 60 seconds (althought this can easily be changed). For every light connected to your hub the | ||
gateway will relay a state event containing all the state data available from Lightify: | ||
|
||
|
||
```json | ||
{ | ||
"online": true, | ||
"on": true, | ||
"lum": 100, | ||
"temp": 2702, | ||
"colour": { | ||
"red": 1, | ||
"green": 0, | ||
"blue": 0, | ||
}, | ||
"alpha": 255 | ||
} | ||
``` | ||
|
||
### Commands | ||
|
||
This version of the gateway only supports publishing state events. Command control will be added in the future. |