GithubHelp home page GithubHelp logo

ni-c / esptemp Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 5.85 MB

Battery powered ESP8266 controlled temperature and humidity sensor communicating via MQTT protocol.

License: MIT License

C++ 100.00%
battery esp12f esp8266 homeassistant htu21d humidity-monitoring humidity-sensor mqtt temperature-monitoring temperature-sensor

esptemp's People

Contributors

ni-c avatar

Stargazers

 avatar

Watchers

 avatar

esptemp's Issues

Battery drains if WiFi is not available or working

Subject of the issue

Battery drains fast if the WiFi is not available or the WiFi connection is not working.

Affected versions

  • v1.0

Steps to reproduce

Turn off your WiFi for a while and check the battery voltage or percentage before and after.

Expected behaviour

Battery drain should be reduced, if WiFi is not available or not working, the device should not try to reconnect to the WiFi every 5 minutes. Instead it should go to sleep for a longer time between reconnect-tries and resume to normal operation if the WiFi is working again.

Actual behaviour

When WiFi is not available, the battery drain is around 3.75% per day (under normal operation it is 0.5% per day). That's because the device tries to connect to the WiFi every 5 minutes until a connection timeout occurs.

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.