SendToHTTP problem

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
BertB
Normal user
Posts: 1049
Joined: 25 Apr 2015, 14:39

SendToHTTP problem

#1 Post by BertB » 28 Jul 2017, 18:13

When compiled with #define PLUGIN_BUILD_TESTING, SendToHTTP 192.168.0.243,8080,/json.htm?type=command&param=switchlight&idx=293&switchcmd=On does not toggle the switch in Domoticz.
When compiled with #define PLUGIN_BUILD_NORMAL, it does work as expected.

Milifax
Normal user
Posts: 10
Joined: 30 Jul 2017, 12:31

Re: SendToHTTP problem

#2 Post by Milifax » 31 Jul 2017, 11:38

BertB wrote: 28 Jul 2017, 18:13 When compiled with #define PLUGIN_BUILD_TESTING, SendToHTTP 192.168.0.243,8080,/json.htm?type=command&param=switchlight&idx=293&switchcmd=On does not toggle the switch in Domoticz.
When compiled with #define PLUGIN_BUILD_NORMAL, it does work as expected.
Try:

#define PLUGIN_BUILD_TESTING, SendToHTTP,192.168.0.243,808,/json.htm?type=command&param=switchlight&idx=293&switchcmd=On

BertB
Normal user
Posts: 1049
Joined: 25 Apr 2015, 14:39

Re: SendToHTTP problem

#3 Post by BertB » 02 Aug 2017, 18:46

Hi,
Thanks for the hint.
Unfortunately, it makes no difference.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 3 guests