Open Bertels999 opened 1 year ago
Check the json api output for each, compare and find what’s different. Homebridge maps and presents “display as” options according to the types coming from Domoticz… (eg: things presenting as switches can be changed via home app between light , fan or switch. Things presenting as Lights can’t be changed. Outlets can normally be displayed as outlet or switch… but whether homebridge sees a light, switch or outlet is down to what Domoticz outputs.
Hi, I have all my devices in Domoticz and use Homebridge to publish them in Homekit.
I have some outlet switches (Shelly Plug S) that appear as lights in Homekit and Homebridge. I also have some older outlet switches that appear as outlets in Homekit.
How can I configure eDomoticz so that the outlet switches appear as outlets in Homekit? When I ask siri to switch off my lights, it also switches of my outlets which is not what I want.
There is a workaround: I created virtual On/Off switches in domoticz for those switches that appear as lights and which I excluded in eDomoticz. These virtual switches are recognised by eDomotics and Homekit as outlets. Furthermore, I configured the virtual devices in Domoticz to issue http On/Off commands using json to the non-virtual domoticz devices (only On command shown): http://localhost:8080/json.htm?type=command¶m=switchlight¶m=udevice&idx=YOUR_NON_VIRTUAL_IDX&switchcmd=On
In order that the virtual devices reflect the proper status, I also added to the non-virtual devices in Domoticz: http://localhost:8080/json.htm?type=command¶m=switchlight¶m=udevice&idx=YOUR_VIRTUAL_IDX&switchcmd=On
The addition of "¶m=udevice" updates the status without actualy switching on or off the device.
Thanks Bertels.