leonvandenbeukel / Round-LED-Clock

Wi-Fi connected round LED Clock
Apache License 2.0
134 stars 64 forks source link

WLAN Manager integration and minor fixes #26

Open Input-BDF opened 2 years ago

Input-BDF commented 2 years ago

Needed some configrable wifi manager, added offset parameter to better define, where 12 o'clock is (using it now also as linear clock), integrated solutions of https://github.com/leonvandenbeukel/Round-LED-Clock/issues/12 and tryed to improve ESP8266 first pixel flickering bahaviour

dipietrofilippo commented 1 year ago

Hello, I have a problem, once all the connections have been made, the 60 LEDs all light up in sequence, first blue, then green, after that nothing happens, all the LEDs stay green. how can i solve? then how do I change the time and how do I connect the wifi. thank you all

Input-BDF commented 1 year ago

If LEDs are all green the ESP should have connected to your wifi configured in the WiFiManager-Portal (see below: "Yellow LEDs"). My implementation of WifiManager is a little bit "blue eyed". Sometimes I have to repower the ESP cause it somehow can not connect to the final wifi even configuration was correctly entered in the portal. But this was mostly an issue with my router which did not accept the device (when router was set to only accept known devices).

If all LEDs are yellow ESP is in config mode. This means the ESP opens an access point you can connect to and configure your target wifi-connection. The SSID of the temporary AP is in form of "RC[ESP-ChipId]" default pass "roundclock". You can change this in the autoconnect() call More about you can read in the WiFiManager documentation

Time is pulled from a NTP-Server. You can specify the ntp-server-url incode on this line