Currently I have 2 home automation systems :
1 = Domoticz which is my primary system for 4 years with Razberry and RFXcom radio P1 and even MQTT icw SonOff.
2 = Home Assistant (which I like a lot, especially the tracking component)
I have setup Home assistant, but I would like to keep Domoticz as well (for now). So I thought why can’t I add switches in Home Assitant and trigger a JSON call. I can switch my lights in Domoticz
On: /json.htm?type=command¶m=switchlight&idx=99&switchcmd=On
Off: /json.htm?type=command¶m=switchlight&idx=99&switchcmd=Off
The response when the JSON call is made via the Chrome browser gives me the below response, should I put that somewhere in the HASS configuration or can that be ignored?
{
"status" : "OK",
"title" : "SwitchLight"
}
The only thing which is missing now, is that the both platforms might be out off sync.
When I do a call like: http://domoticz_ip:8080/json.htm?type=devices&filter=all&used=true&order=Name
I will get a list with all devices and there actual status. Can this be imported or synchronised?
and maybe use a specfic device url to get the status
When I do a call like:
http://domoticz_ip:8080/json.htm?type=devices&filter=all&used=true&order=Name