NodeMCU-ESP8266-Servo-Smart-Blinds
NodeMCU-ESP8266-Servo-Smart-Blinds copied to clipboard
EEPROM write doesnt hold
Great bit of code , nice and simple and does the job however I am having troubles with the EEPROM write being over written , i.e I can change the speed and duration with the config command in a browser , it works once but when I press the button in smart things again serial monitor displays "wrote 0" or "wrote 1" and then it will not move the servo any more untill i set the config again ... and then back to square one , works once ... then sets to 0 or 1... am I doing something wrong ?
im having the same issue any help would be awesome thank you for your code!!
I am also facing the same issue. Please provide a fix
I'm having the same issue. Can anyone fix this?
Same issue here, I didn't have a chance to review the code, but a workaround it to pass the duration at each call. http://esp8266-smart-blinds.local/close?speed=2&duration=5000 or http://esp8266-smart-blinds.local/open?speed=2&duration=5000
I think, I found the issue, the allocation for the EEPROM is incorrect and may cause the memory to be overwritten.
The DEFAULT_HOSTNAME is 20 characters but the allocation is 19 characters. The next bit was to be used for duration but may get overwritten.
Same issues , constantly rewrites config files . Passing the duration each call works as a bypass, by how can I get smartthings to do the same . This is a great start , would love to get this working 100 %
Same issues , constantly rewrites config files . Passing the duration each call works as a bypass, by how can I get smartthings to do the same . This is a great start , would love to get this working 100 %
I found this thread to create a virtual switch that sends http commands - https://community.smartthings.com/t/released-virtual-http-switch-button-creator/54383 Only tested briefly yesterday but seems to work ok.