Search found 2 matches

by WimFey
Wednesday 28 October 2015 7:24
Forum: Suggestions
Topic: [90] MQTT Support
Replies: 370
Views: 146322

Re: [90] MQTT Support

Checked the code for MQTT.cpp and find the following (https://github.com/domoticz/domoticz/blob/master/hardware/MQTT.cpp - +- at Line 268)

...
else if (szCommand == "switchscene")
{
if (root["idx"].empty())
goto mqttinvaliddata;
if (!root["idx"].isInt64())
goto mqttinvaliddata;

idx ...
by WimFey
Tuesday 27 October 2015 18:39
Forum: Suggestions
Topic: [90] MQTT Support
Replies: 370
Views: 146322

Re: [90] MQTT Support

Retel,

I'm getting the exact same error. The MQTT message: {"command": "setuservariable", "idx" : 1,"name" : "windspeed" , "type" : "1" , "value": "10"}

gives the following error in the Domoticz log:

2015-10-27 18:29:35.777 MQTT: Topic: domoticz/in, Message: {"command":"setuservariable","idx":1 ...