Closed PaulvS closed 8 years ago
The configuration is saved but during reboot GPIO5 signals a low meaning to default the config. As GPIO5 is floating on sonoff this may happen although I could not reproduce it. I removed the code using GPIO5 as the pin on sonoff is not accessible anyway. Please test and let me know if that fixed your problem.
First it still wasn't working for me, but I have to admit that I used esptool.exe on my computer instead of esptool.py. This seems to make a difference, cause as soon as I used esptool.py the saving of the topic and other parameters was working straight away. So, yes, it fixed my problem.
Now I have to mast the OTA updates. I use an AWS ubuntu instance to compile the software and now I want to setup the OTA server also on that machine.
Hi Theo,
I flashed a Sonoff switch with firmware 0.5.4 and I want to change the topic. In the Makefile I already changed the project to sonoff4, but now I want to change it to sonoff10 As stated in the readme I issue the command
cmnd\sonoff4\topic sonoff10
A lot of information is passed to the serial output, but the end result is that the sonoff is still listening to the old topic and the new topic is not saved. The same counts for the otaurl. This is also lost after a restart. It seems that the configuration is not saved.
Serial output: