Open ackstorm23 opened 4 years ago
It would need a developer with one of these devices to add support. Contributions welcome.
I don't have the device but will see what I can do.
I don't have the device but will see what I can do.
I am not a developer but I will do my best to assist you.
@ackstorm23 Could you provide the device info for this light? This URL will return all devices (and a lot more) but I only need the object specific to the ligh. http://10.40.8.245:3480/data_request?id=sdata&output_format=json
For example, the device info for my upstairs hallway looks like this:
{
"name": "Upstairs hallway",
"altid": "25",
"id": 73,
"category": 2,
"subcategory": 0,
"room": 0,
"parent": 1,
"configured": "1",
"commFailure": "0",
"level": "0",
"status": "0",
"state": -1,
"comment": ""
},
This is stored in a devices array in the response object.
{
"name":"Colored Light Bulb",
"altid":"3",
"id":4,
"category":2,
"subcategory":4,
"room":3,
"parent":1,
"commFailure":"0",
"configured":"1",
"level":"57",
"status":"1",
"state":-1,
"comment":""
},
The device as it is seen by the RGB Device Controller device, which gets created by the Vera app of the same name.
{
"name":"RGB controller devic",
"altid":"",
"id":19,
"category":3,
"subcategory":-1,
"room":3,
"parent":0,
"message":"",
"configured":"0",
"lastresult":"[\"Rainbow slow\",\"Strobe red\",\"Strobe blue\",\"Rainbow fast\",\"LAPD\"]",
"color":"#000000002F",
"state":-1,
"comment":"",
"status":"1"
},
The RGB Controller Device found in the Vera UI under Apps, can control more than just this Bulb. It claims to support:
It might introduce RGBW support for Vera across a number of different devices, and as I've seen posts for Home Assistant not being able to control the white channels on many of the above devices. If this introduces uniform parameters for controlling multiple RGBW devices/vendors, this might be a wiser strategy to support that instead.
However that device does not detect as a colored bulb at all in Home Assistant right now, only as a switch and if you force it to be a light entity in the integration it shows up as a regular non-color dimmer.
I'm not particularly concerned with the RGB controller. There is enough information on the bulb itself to merit color and white controls.
The Problem:
Pyvera does not appear to support the Aeontec ZW098, which has RGB as well as 2 white channels. (RGBWW?)
The native Colored Light Bulb device
No app needed, this detects on it's own.
RGB controller device
It can also be controlled via an app in the Vera app list. Name: RGB Controller App id : 6686