knalli / homebridge-pilight

Accessory plugin for Homebridge allowing to manage and control pilight devices
MIT License
16 stars 3 forks source link

Controlling a KiKa light via homebridge #22

Closed abko closed 7 years ago

abko commented 7 years ago

I am trying to hook up homebridge to my pilight setup.

my pilight devices and guide config look as below "devices": { "slaapkamerLamp": { "protocol": [ "kaku_switch_old" ], "id": [{ "id": 5, "unit": 4 }], "state": "off" } "gui": { "slaapkamerLamp": { "name": "Slaapkamer lamp", "group": [ "Slaapkamer" ], "readonly": 0 } }

I created the following accessory in the homebridge config.json file { "accessory": "pilight", "name": "WC Lamp", "device": "lamp", "sharedWS": false, "type": "Switch" }

in homebridge debug logging I am receiving warnings like No power state foundundefined and the accessory in the Home app on my phone indicates No reaction.

Can anyone advise what I am doing wrong?