I think Andreas Spiess has done good videos on this (at least the solar and battery parts). You might need to search a bit on his channel.
For the pump youād prob just measure current with a multimeter?
I think Andreas Spiess has done good videos on this (at least the solar and battery parts). You might need to search a bit on his channel.
For the pump youād prob just measure current with a multimeter?
wow, what a good guidelines i found here. thank you!
i have one issue stillā¦ how is possible to make component update for uart_bus?
Typically you use component.update
on the actual sensor.
Do you have any electrical schematic and materials list here ? I am trying to create the same thing for my dying rose plants. Would be helpful.
Afraid not. I can do a materials list easy enough.
Schematic I can have a go at but will have to put aside some time.
I tried many schematics but end up burning something. Would be nice if I have them. Thank you
Materials List
1st pass at materials list. May not be complete yet. I included a few extra links to things like soldering equipment and crimping kit I have.
Component | Notes | Link |
---|---|---|
Single 18650 Battery Holder | Cheap probably ok. | Ali Express |
3.7V 18650 Battery | Buy a good one locally. Get like a 3000-36000mAH one. Get a protected one. Do a little research about local buying options. | |
Solar Panel (5V) | Make sure you get the right voltage. | I bought from this Ali Store |
Sunflower: Solar Power Manager 5V | Investigate your buying options. | Core Electronics |
Pump | Do a little research on pumps and buy a slightly better one | Ali Express |
VL53L0X | Ali Express | |
BH1750 | Ali Express | |
L298n | If you want pump flow control via PWM, you should get the full size version rather than the mini. | Ali Express |
2 x Resistors (300kā¦) | More detail here. | |
ESP32 LILYGOĀ® TTGO T7 Mini32 V1.5 | Get a good ESP32 for this project. Get one optimised for low energy / deep sleep with battery connections. Tried other boards but idel current too high. | Ali Express |
Capacitive soil moisture sensor | Water proofed with nail polish and hot glue. These are notoriously short lived so read up on them. | Ali Express |
Treated Pine Sleepers | I made my ācut planā and got Bunnings to cut to size. | Bunnings |
Decking Screws | For fixing the base box together | Bunnings |
Castors | To roll your plant around | |
Water Jerry Can | To use as water tank. | Bunnings |
Glass food storage container with Plastic lid | Consider your solar panel size when sizing this. | KMart , IKEA |
Flexible Silicone wire | Ali Express | |
Crimping Tool & Kit | ā¦. | ā¦ |
Soldering equipment | Ali Express | |
Very short usb cable | Connect ESP32 and Solar Power Manager | |
Tubing | Check / confirm the Internal diameter for compatibility with pump. | Ali Express |
3d printer | To print irrigation rings plus other bits and bobs like ācomponent mount plateā. | |
Hot Glue Gun | For mounting components | Ali Express |
Iāve added a first cut materials list above.
Not sure when Iāll get to doing a wiring diagram. Started one but I suck at them and struggle.
Wiring Diagram
I think this is right.
A few points:
Even the tiniest details would be helpful as I am a commerce student and hobbyist electronics and this would be my first automated project.
This is probably āquite an advanced 1st projectā.
The build isnāt detailed step by step etc.
So you would need to be patient and persistent to work through it.
Wiring diagram is above.
Thank you very much.
It would be kickass if there was a google doc where everyone building this collaborately could document the step by step. Why hasnāt anyone done this yet?
You can be the first;) Itās not done because no-one has done it;)
Some of my projects where I donāt think there would be too much interest I tend to lag a bit on the detailed documentation and just do it a bit more āon demandā.
Documentation contributions welcome though.
Sometimes itās worth just dumping stuff to help close the gaps on a thread like this and then that can help build the how-to. Like I did that kind of thing over here.
Hey there, buddy!
I just had to drop you a line to express my immense gratitude for sharing this projectāitās like stumbling upon a hidden gem in a digital treasure trove! Seriously, itās been an absolute game-changer for me in getting to grips with ESPHome.
Your coding finesse has me in awe, my friend. Iām diving deep into your code, uncovering new approaches, and soaking up knowledge like a sponge. Itās like a thrilling adventure, and your project is the map leading me to programming enlightenment!
Thanks a million for your generosity. Letās keep this coding journey rolling!
Thanks for the kind words.
I assure you itās really more of an assembly of other peopleās work on the forums which I learnt and put together one brick at a time, rather than great programming skills on my part.
Iāve been contemplating which of my deep projects I can use your new trick on BTW;) Thereās always more to learnā¦
Hey there!
Donāt sell yourself short, buddy! Researching, understanding, assembling, and creating something new is commendable. Incorporating the knowledge and reasoning of others into our own is a very dignified way to learn and grow. Iām sure your ability to gather and apply othersā ideas is an impressive skill in itself.
I want to thank you again for sharing this project with us. Itās shedding light on many aspects that were previously elusive to me, and Iām thrilled to see how I can apply these new insights to my own projects. Your contribution is truly inspiring and valuable to me.
Thanks again, and letās keep in touch!
Big hugs!
Hi there. I got the esp32 with battery and also wanted to monitor the battery status. I am using the battery code and noticed the update_interval is set to never. Is there something else I need to add because the battery voltage and percent stays unknown. If I set the interval to some seconds, it displays some values.
You can set it to some value which works for you.
I update mine āmanuallyā from elsewhere in the code.
Hey, guys!
So, I did manage to implement a system that measures and reports the battery level of my ESP32 devices to Home Assistant. But hereās the catch: after testing it, Iāve had to discard it. Why? Because even though I have ESP32 devices in deep sleep mode most of the day (only waking up for a couple of seconds twice a day), the battery consumption was still way too high for my projects.
I mean, the idea was cool, but the battery drain wasnāt acceptable for my needs. So, for now, Iām putting this on hold until I can test ESP devices with Zigbee connectivity, which I hope will be more efficient on battery life.
The downside? Zigbee devices are still a bit on the expensive side for my current projects. So, yeah, Iāll have to wait a bit to test them properly.
As for the battery monitoring code I created? Iāll try to rescue it, but honestly, I think itās gonna be a tough one. Plus, the code was also tied to some hardware changes in the devicesā circuits. So, yeah, not super easy to revive it without a bit more work.
Just wanted to share my experience in case anyone else is facing the same issue.