I bought one of these light bulbs from Lidl:
It’s Zigbee and I found that it was soon discovered and paired in ZHA, with an entity of:
light.tz3000_odygigth_ts0505a_9978defe_level_light_color_on_off
It works fine in HA Lovelace.
I want to use it in Node-RED, but have encountered a problem:
If I enter it as a sole entity in a ‘call service’ node I get an ‘API Error’, but if I include it with another light entity, it works. The following flow shows what I mean:
[{"id":"b3975f16.562408","type":"api-call-service","z":"9087d484.221058","name":"Stairs Light On","server":"93de20d5.59f72","version":1,"debugenabled":false,"service_domain":"light","service":"on","entityId":"light.tz3000_odygigth_ts0505a_9978defe_level_light_color_on_off","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":560,"y":260,"wires":[["da52baf.c584548"]]},{"id":"e6f3f247.f3bf88","type":"inject","z":"9087d484.221058","name":"On","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":350,"y":260,"wires":[["b3975f16.562408"]]},{"id":"ebd672f1.279d8","type":"api-call-service","z":"9087d484.221058","name":"Both Hall and Stairs Lights On","server":"93de20d5.59f72","version":1,"debugenabled":false,"service_domain":"light","service":"turn_on","entityId":"light.lohas_bulb1, light.34007278f4cfa2cc2845_2, light.tz3000_odygigth_ts0505a_9978defe_level_light_color_on_off","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":610,"y":200,"wires":[[]]},{"id":"2b19471f.7f3e4","type":"inject","z":"9087d484.221058","name":"On","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":350,"y":200,"wires":[["ebd672f1.279d8"]]},{"id":"6dacfb2f.80d8e4","type":"api-call-service","z":"9087d484.221058","name":"Stairs Light Off","server":"93de20d5.59f72","version":1,"debugenabled":false,"service_domain":"light","service":"on","entityId":"light.tz3000_odygigth_ts0505a_9978defe_level_light_color_on_off","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":560,"y":380,"wires":[[]]},{"id":"a44dd0e8.bcbbc","type":"inject","z":"9087d484.221058","name":"Off","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":350,"y":380,"wires":[["6dacfb2f.80d8e4"]]},{"id":"cf43e450.5defa8","type":"api-call-service","z":"9087d484.221058","name":"Both Hall and Stairs Lights Off","server":"93de20d5.59f72","version":1,"debugenabled":false,"service_domain":"light","service":"turn_off","entityId":"light.lohas_bulb1, light.34007278f4cfa2cc2845_2, light.tz3000_odygigth_ts0505a_9978defe_level_light_color_on_off","data":"","dataType":"json","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":610,"y":320,"wires":[[]]},{"id":"993344a5.a21638","type":"inject","z":"9087d484.221058","name":"On","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":350,"y":320,"wires":[["cf43e450.5defa8"]]},{"id":"7bee77c5.f730f","type":"comment","z":"9087d484.221058","name":"This works.","info":"","x":190,"y":200,"wires":[]},{"id":"fe434c9a.be0d7","type":"comment","z":"9087d484.221058","name":"This works.","info":"","x":190,"y":320,"wires":[]},{"id":"997d698d.c3032","type":"comment","z":"9087d484.221058","name":"This doesn't","info":"","x":190,"y":380,"wires":[]},{"id":"9c18f0de.dcbe48","type":"comment","z":"9087d484.221058","name":"This doesn't","info":"","x":190,"y":260,"wires":[]},{"id":"da52baf.c584548","type":"debug","z":"9087d484.221058","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":730,"y":260,"wires":[]},{"id":"93de20d5.59f72","type":"server","name":"Home Assistant","legacy":false,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":false,"cacheJson":true}]
I would like to address the bulb on its own. Does anyone have an idea as to how I can do it, please?
Jim