njh / sonoff-ota-flash-cli

Bash script to perform an OTA (Over the Air) firmware update for Sonoff 'DIY Mode' device on the command line
http://sonoff-ota.aelius.com/
MIT License
129 stars 19 forks source link

Removed device_id from post requests #19

Open IBims1NicerTobi opened 10 months ago

IBims1NicerTobi commented 10 months ago

Fix for new firmware versions not responding to any requests in diy mode.

njh commented 10 months ago

Thank you very much for preparing this. I have no idea why I included the empty deviceid key in the first place. I presume because it was either in the documentation or saw it in packet captures.

Have you been able to test this on older versions of the Sonoff firmware?

IBims1NicerTobi commented 10 months ago

Nope this has only been tested once by me on the most recent firmware. There seems to be someone else in #18 who tried it.

langscape commented 10 months ago

Tested this on 3.7.6, it fixes the issue with deviceid