this post was submitted on 02 Jul 2023
1158 points (97.5% liked)

Selfhosted

40296 readers
396 users here now

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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. 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.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I'm already hosting pihole, but i know there's so much great stuff out there! I want to find some useful things that I can get my hands on. Thanks!

Edit: Thanks all! I've got a lil homelab setup going now with Pihole, Jellyfin, Paperless ngx, Yacht and YT-DL. Going to be looking into it more tomorrow, this is so much fun!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 10 points 1 year ago (1 children)

Smart garden sounds amazing! My girlfriend would love that... Maybe I'll set that up with her!

[–] [email protected] 4 points 1 year ago (3 children)

Yes I actually have two of them. My backyard has three outdoor moisture sensors, so it can know if it's moist enough. It has a drop irrigation system connected to regular plastic pressure for tubing. It has two zones that can be controlled with two solenoids. It also has a 12V pump. All of that is powered by a 12V power supply and controlled by a four zone relay board. Remember to turn the power off to your outdoor sensors so that they don't destroy themselves when you're not sensing. You can also add a flow sensor to measure your water consumption.

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago) (1 children)

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.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

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.

[–] [email protected] 3 points 1 year ago (2 children)

I was considering a smart garden setup as well. I ended up going with a dumb version that has no dependency on any electrical power: Blumat. They’re from Austria, if i recall correctly. They feed water as the plants consume it.

The Blumat “carrots” are porous and as the soil dries, pressure becomes negative and opens up the switch that controls the feed water line, which then drips water onto the soil until its reached the calibrated moisture level which closes the switch.

Not “self-hosted” in the traditional sense but definitely hosted in the primitive sense.

[–] [email protected] 3 points 1 year ago

Those sound really useful. I like the no power aspect that just works.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

My larger system is entirely 12V power and is connected directly into a 2-panel 24V solar system with battery.

But entirely mechanical without external input like power is a really good idea.

[–] [email protected] 3 points 1 year ago (1 children)

As someone who has no idea how to do any of this, I think I might need to learn...

[–] [email protected] 1 points 1 year ago

If you can do python and you can wire one part to one part, one part at a time, it's not hard, at least to me. Get the analog sensor, connect it to the analog to digital converter, connect all of their power to a relay, connect the relay and the converter to the pi, connect that to power. Then use Python to check the value in a loop, forever.