Tell us about yourself!
Hari,I really thought I had this thing beat. My Wifi connects every time now, and the brightness is fine, but now I note that both units I built appear to lose exactly an hour, when the time is read again, although I really believe it happens at the top of the hour, but that might just be a coincidence. I noted a couple others have that experience as well. Any thoughts? I have tried both google and NIST timeservers (I'm in the States) but no change.Mark
I have the same issue - did you find a fix? I have tried various power supplies (although did not think that would help, but thought maybe it was corrupting the time update somehow), and am now going to change the wi-fi update rate.Mark
Hari,I thought I had this all figured out, but now it appears that when first powered up, the unit connects and grabs the time with no problem. (I can disconnect power, and it comes right back up and connects with power restored.) However, although I cant say exactly when, the time becomes exactly one hour off. Right now, I don't have the time offset hard coded (I use the WiFi link to set the parameters), but will try that next. I don't think the WiFi refreshRate could affect the time in that way (exactly 1 hour shift all at once), so I'm hoping that will solve the remaining issue. I'll let you know. I see the time is updated once an hour, so perhaps that is the clue.Mark
Hari,I posted just before I started to look through the code. I see the commented section for the refresh, and found the post where you explain it (I think.) I'm assuming there is some timing relationship between the refresh rate and the persistence?Mark
Hari,Thanks for the explanation. I was able to make the display suitably bright without having any WiFi issues using a refreshRate of 0.010. I did not alter the persistence at all - just the refresh. I may work with the rate and persistence a bit more, but for now it is connecting and displaying a time consistently, and the brightness is good enough to be seen in a brightly lit room, so I'm happy. Again, I appreciate your efforts and those of the other builders to share the pieces of the puzzle that let some of us fix our various issues. It's all about the learning experience.Mark
Hari,The branch with the decreased refresh rate appears to work for my ESP-12E, although it has a slight flicker and a bit dimmer. Can you point me to where in the code I can adjust the refresh rate to see if I can go just a bit higher? Thanks again for your project, help and patience.Mark
Hari,I tried the later branch for the ESP-12E version (which I have) and also tried the version where I manually fill in my Wi-Fi information. However, each time, after a reboot and connection (it tells me it is connected and shows the offset and 24 hr choice), all I get is the two colons, and no time. Unlike others, I can reset 10 or 15 times, each time it says connected, but never see the time.Any thoughts? Thanks,Mark
Niko1971 - Out of curiosity, are you using the ESP-12E version of the NodeMCU? I'm having the exact same issue and it might be related to that.
Love the clock! After getting past a few hiccups (mission json lib) I was able to connect, configure and display the time. However, if I remove power, although the clock will reconnect to my Wi-Fi network again (suggesting it saved the parameters) when power is on, it never displays the time again (only the two colons.) If I do the double reset, and save each configurable item again (have to enter and save everything, including time zone and hour format) it works until I remove power.Any thoughts on that? I know it is saving some data, because it can auto reconnect, but it won't actually display time until I re-save all of the config data. Curious.Mark
Anthony - I would be very interested in your proposed clock. Do you plan to do an Instructable on that as well? Mark
Thanks very much for the Instuctables to begin with - this one really covered exactly what I needed, especially the shutdown function with the button. I had heard that a hard power down could corrupt things, and was a bit worried how to protect against that. Your Instructable really helped. Thanks again.Mark