Update MiLight module for new API and add improved (or some at all) handling of lamp types other than rgbw. Also remove invalid comments from json file, and support future versions of node-milight-promise

This commit is contained in:
Sam Edwards
2015-08-25 10:28:08 -07:00
parent b3675f4be3
commit 11f71e076c
3 changed files with 104 additions and 170 deletions

View File

@@ -153,12 +153,12 @@
{
"accessory":"MiLight",
"name": "Lamp",
"ip_address": "255.255.255.255", // IP Address of the WiFi Bridge, or 255.255.255.255 to broadcast to all
"port": 8899, // Default port 8899 (50000 for v1 or v2 bridge)
"zone": 1, // Zone to address commands to (not used for rgb only bulbs)
"type": "rgbw", // Bulb type (rgbw, rgb, white)
"delay": 35, // Delay between commands sent to the WiFi bridge (default 35)
"repeat": 3 // Number of times each command is repeated for reliability (default 3)
"ip_address": "255.255.255.255",
"port": 8899,
"zone": 1,
"type": "rgbw",
"delay": 35,
"repeat": 3
},
{
"accessory": "Tesla",