Search found 2 matches

by sabcio
Saturday 21 March 2020 19:39
Forum: dzVents
Topic: Domoticz crashes on complex data in customEvent [Solved]
Replies: 3
Views: 988

Re: Domoticz crashes on complex data in customEvent [Solved]

Ok, that does work, thanks MrHobbes74. Does not make sense to me but I'm no lua expert. Here's a working example Message payload: {"command":"customevent","event":"notResponsive","data":"{\"idx\":29,\"test\":\"ok\"}"}' Function: execute = function(dz, item) dz.log(item.data["idx"]) dz.log(item.data ...
by sabcio
Saturday 21 March 2020 11:12
Forum: dzVents
Topic: Domoticz crashes on complex data in customEvent [Solved]
Replies: 3
Views: 988

Domoticz crashes on complex data in customEvent [Solved]

Hi, trying out customEvents but my domoticz service crashes each time I try to send some more data 2020-03-21 10:58:19.235 MQTT: Topic: domoticz/in, Message: {"command":"customevent","event":"notResponsive","data":[{"idx":29,"test":"ok"}]} 2020-03-21 10:58:19.244 Error: Domoticz(pid:32647, tid:32690 ...