http correct answer from socket or how to send http updates
Posted: Monday 26 November 2018 23:54
Hi,
I have set up a socket on my pc via java to receive updates.
on dzVents, as soon as the device is updated, I send the new data as a Json string using
which works fine, data is sent. However, after a litte time domotics shows me the error:
I assume it is because I just parse the received data. My question is: what "answer" is Domoticz waiting for, what do I have to send back? Or, is there a way to "fire and forget"-send data?
I have set up a socket on my pc via java to receive updates.
on dzVents, as soon as the device is updated, I send the new data as a Json string using
Code: Select all
domoticz.openURL(URL)
Code: Select all
Error: Error opening url: http://192.168.178.24:4242/{"idx":"85","Name":"Lux StudyRoom Inside Table","Data":"0 Lux","Type":"Lux","LastUpdate":"2018-11-26 23:44:14"}