kibab / bathroom_metrics Goto Github PK
View Code? Open in Web Editor NEWESP32-based temperature / humidity prometheus exporter
ESP32-based temperature / humidity prometheus exporter
Hello, I have some suggestions on how to reduce your power rate on you DIY project.
Use static IP it will reduce time of new connection to router after wakeup.
For example:
#define ssid "kibab"
#define password "0612748587"
#define DHCP true
IPAddress local_IP(192, 168, 0, 61);
IPAddress gateway(192, 168, 0, 1);
IPAddress subnet(255, 255, 255, 0);
IPAddress primaryDNS(192, 168, 0, 1);
IPAddress secondaryDNS(8, 8, 4, 4);
#define chanal 6 //wifi channel
byte macAP[6] = {0xF8, 0x1A, 0x67, 0x86, 0x14, 0x70}; //router mac
On ESP you can use several SLEEP-modes
modem-sleep
light-sleep
deep-sleep (you should try this one)
There is a good article on this topic https://smartideal.net/kak-ispolzovat-deep-sleep-na-esp8266-nodemcu/
NB: Notice, that you can push your device to sleep mode without disconnecting and turning your WIFI off.
BME280 - you should put it on sleep too (power mode - sleep)
https://github.com/adafruit/Adafruit_BME280_Library/blob/master/Adafruit_BME280.h line 343
Here is a sample https://www.youtube.com/watch?v=O8FgrHR2laM
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.