Sendtohttp Json issue with firmware mega-20230306

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Dick60
Normal user
Posts: 242
Joined: 11 Feb 2018, 17:35
Location: The Netherlands

Sendtohttp Json issue with firmware mega-20230306

#1 Post by Dick60 » 13 Mar 2023, 21:52

I upgraded my ESP8266 to the latest firmware version. There is a rule to turn On/Off my Milight using Domoticz. It worked perfect untill the firmware upgrade.
Turning On

Code: Select all

SendToHTTP xxx.xxx.x.xxx,8080,/json.htm?type=command&param=setcolbrightnessvalue&idx=507&hex=ffffff&brightness=100&iswhite=false
Turning Off

Code: Select all

SendToHTTP xxx.xxx.x.xxx,8080,/json.htm?type=command&param=switchlight&idx=507&switchcmd=Off
Turning On is after a PIR trigger. The log shows:
ACT : SendToHTTP xxx.xxx.x.xxx,8080,/json.htm?type=command¶m=setcolbrightnessvalue&idx=507&hex=ffffff&brightness=100&iswhi
50447693: HTTP : SendToHTTP xxx.xxx.x.xxx:8080 GET... failed HTTP code: -11 read Timeout
50447697: ACT : timerset,1,60
50448233: HTTP : C001 xxx.xxx.x.xxx:8080 GET... failed HTTP code: -11 read Timeout
50448234: HTTP : C001 connection failed (40/0)

What could cause this in the new firmware?

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Sendtohttp Json issue with firmware mega-20230306

#2 Post by TD-er » 13 Mar 2023, 21:57

What was the previous firmware version?

Is the IP address of the HTTP host local or somewhere on the internet?

What timeout is set in the controller, as it apparently also fails with a timeout.

Dick60
Normal user
Posts: 242
Joined: 11 Feb 2018, 17:35
Location: The Netherlands

Re: Sendtohttp Json issue with firmware mega-20230306

#3 Post by Dick60 » 13 Mar 2023, 22:03

I checked the config.dat of the previous firmware version and it is called config_ESP_Easy_U132_Build20116_202307. So this was the working firmware version. Can you do something with this info?

Post Reply

Who is online

Users browsing this forum: No registered users and 30 guests