willie-engelbrecht / esp32-watersoftner Goto Github PK
View Code? Open in Web Editor NEWArduino IDE & ESP32 Water Softner Salt level meter
License: Apache License 2.0
Arduino IDE & ESP32 Water Softner Salt level meter
License: Apache License 2.0
Hi @willie-engelbrecht ,
I've created a similar setup based on Tasmota. I am using a different sensor, vl53l0x with a laser, and seem to be having challenges with the battery life. 2,000 mAH battery is gone in about 4-5 days. Apparently this is less than a block of salt lasts for ;o).
I've disabled serial port logging and configured static IP. Tasmota's operating cycle looks like follows: wake up -> connect to Wi-Fi -> connect to NTP and MQTT -> measure vl53l0x distance via I2C -> post distance via MQTT -> go deep sleep for 1 hour. If I refer to MQTT broker's logs there is about 6 to 7 seconds between client connect and disconnect events.
Your code seems to be up to the point to accomplish the job. For how long does your battery pack lasts for, please? What's its capacity? And did you have any estimates as to how long does it take for your setup to post measurements?
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.