Giter VIP home page Giter VIP logo

Comments (5)

jeremypoulter avatar jeremypoulter commented on June 1, 2024

This is supported on the OpenEVSE WiFi firmware (which was based on EmonESP) and I am planning to merge all the changes from that code back to EmonESP. Will be resolved as part of that work. @glynhudson what do you think?

from emonesp.

danbates2 avatar danbates2 commented on June 1, 2024

Looks like you've got it.
I cobbled this together if it helps.
https://github.com/danbates2/EmonESP/blob/master/src/src.ino

from emonesp.

jeremypoulter avatar jeremypoulter commented on June 1, 2024

Thanks that will do the job but stops the ESP doing anything while the Burton is pressed, also the LED is on GPIO0 so you have to be a bit clever if you want to use the LED for status.

FYI the OpenEVSE implementation is here: OpenEVSE/ESP8266_WiFi_v2.x#180

from emonesp.

danbates2 avatar danbates2 commented on June 1, 2024

A more elegant solution is better :)
It crossed my mind the LED could do some tripple blink or something indicating it's about to reset. What do you think?

from emonesp.

danbates2 avatar danbates2 commented on June 1, 2024

I've made the quick fix, hold for 10s reset..
Unfortunately I've got to choose other priorities and don't have the time to implement your method Jeremy. Although it is better, I was having a headache trying to merge the relevant parts of wifi.cpp. I've made a branch on my fork to try and merge your method but have to leave it at that. I just reread your post about wanting to merge relevant changes back from OpenEVSE, so am trusting that 'as is' is good enough for now, to be revisited when time better suits.

from emonesp.

Related Issues (20)

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.