view the rest of the comments
Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
Hey that sounds amazing, may I ask what moisture sensors you are using?
Edit: also automating sensor power draw sounds like something fun to work on. I'd love to test if having them power on just before or shortly before taking a reading and power off is feasible. Or if they need more time to get an accurate reading, finding the most optimal power cycle schedule to prolong sensor life while being able to take measurements at sensible times.
ACEIRMC 2set Soil Moisture... https://www.amazon.com/dp/B09JSND12L?ref=ppx_pop_mob_ap_share
They're just resistive electrodes with an analog sense of the conductivity of the soil, which is linearly correlated with moisture. It does this by applying a voltage to one side and sensing the current load to the other probe. This is exactly the same as electroplating, so if you keep them on 100% of the time, one will essentially dissolve in the dirt.
Instead, I run their power through a relay. I turn one relay on, it turns on all three of my sensors, I wait a few seconds, take three reads off each, one second apart, take the avg of each sensor, and record that. You can the save that to a timeseries database and host that locally too. Then plot that with Graphana.
To read the analog values, I use this: HiLetgo 3pcs ADS1115 16 Bit 16... https://www.amazon.com/dp/B07VPFLSMX?ref=ppx_pop_mob_ap_share
Now that you have logs, you can check moisture levels before activating your irrigation.
The next step is I have a set of float sensors in the rain barrel, towards the bottom. If the bottom one indicates empty it activates a solenoid to refill from the tap until the top one indicates full. They're about two inches apart.