Giter Site home page Giter Site logo

Comments (5)

OttoWinter avatar OttoWinter commented on May 12, 2024

Jep will take a look at that. Only need to figure out what unit the value of that is in...

from esphome.

leeuwte avatar leeuwte commented on May 12, 2024

Thnx! You couldn't be much faster....

from esphome.

brandond avatar brandond commented on May 12, 2024

There's a note in the docs:

ESP.getVcc() may be used to measure supply voltage. ESP needs to reconfigure the ADC at startup in order for this feature to be available. Add the following line to the top of your sketch to use getVcc:

ADC_MODE(ADC_VCC);

Is that still WIP?

from esphome.

OttoWinter avatar OttoWinter commented on May 12, 2024

I don't really understand your question I think, but see https://esphomelib.com/esphomeyaml/components/sensor/adc.html#esp8266-measuring-vcc

from esphome.

brandond avatar brandond commented on May 12, 2024

Ahh, that was the bit that I was missing! I saw esphome/esphome-core@a2b7058 but was wondering where the ADC_MODE call was at. Sorry!

from esphome.

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.