GithubHelp home page GithubHelp logo

Comments (8)

marciot avatar marciot commented on September 4, 2024

I feel like this was broken a while back, but I put in a fix for it a while ago. Are you trying with the latest code?

from esp32-dali-clock.

marciot avatar marciot commented on September 4, 2024

@richms: It looks like most of the examples on how to set the time zone on the ESP32 are broken, but I found a better explanation on how to do it and implemented it in the code. One advantage of the new method is that now you can select your location and the daylight savings will automatically be applied based on the calendar date.

from esp32-dali-clock.

richms avatar richms commented on September 4, 2024

Different problem now, the form doesn't fully load for me on both my phone and a laptop - sometime sit gets about 10 country options that have africa/something in them (last one is africa/Bujumbura on this load) and there is no submit button.

Other times the page doesnt load at all, or I get just the wifi fields and nothing below it. Reloading it on the laptop and it cant find the IP for www.msftconnecttest.com which is what it seems it tries to load to bring up the captive portal.

Putting the wifi network and key in and pressing enter tries to submit it but its like the wifi on the clock is dead at that point because it soon disconnects from it and no device can reconnect to the dali clock ssid until I reboot the ESP.

At all times the clock was still displaying on the composite screen attached so the whole thing hadn't crashed.

from esp32-dali-clock.

richms avatar richms commented on September 4, 2024

That time got a bit further, the list went to america/whitehorse, still no button on it. I guess the wifi manager cant deal with a form that long or something

from esp32-dali-clock.

marciot avatar marciot commented on September 4, 2024

@richms: It looks like the only way to fix this was to use JavaScript. Now the user first selects their general location, and then the web page sends a request to the ESP32 to populate the more specific locations.

from esp32-dali-clock.

marciot avatar marciot commented on September 4, 2024

@richms: Were you able to test this? If I don't hear back I will close this as resolved.

from esp32-dali-clock.

richms avatar richms commented on September 4, 2024

Im on holiday so cant get to the new hardware till the 12th of Jan, Its been crashing a lot with this so I want to get some more ESP32 boards. All my others except the 2 I have been trying have the older chip revision that doesnt work with the composite out library so I cant use them to test it.

Basically it would be crashing and rebooting as soon as I tried to connect to the wifi it broadcasts, so no chance to configure it and I want to rule out hardware before I test more. Will not be able to collect my aliexpress order till later to try it on new hardware.

from esp32-dali-clock.

marciot avatar marciot commented on September 4, 2024

@richms: Crashes during WiFi connect are commonly caused by a power dip on the supply rail. You can google it and see that it is a common problem. I recommend using a beefy power supply and thick gauge wires. This solved rebooting problems for me.

from esp32-dali-clock.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.