Lurker News
I have Raspberry Pi and I mainly use it for VPN and piHole. I’m curious if you have one, have you found it useful? What do you do with your Raspberry Pi?

Comments (1,069) 486 threads

Show all comments

Showing thread 42 of 486

el_benhameen3 replies#
I love and hate this question! I've always been curious what others do with them, but I just convinced myself not to buy a 4 and I'm sure this thread will give me reason to reconsider.

-1x Raspberry Pi Zero W in my garage running my drip irrigation (a relay board connects it to standard 24V irrigation solenoids)
-1x Raspberry Pi 3 B+ in my office running a dynamic dns script and sitting behind a forwarded port for easy sshing. I have also used this to play with pihole and Apache Guacamole, plus whatever other networking stuff sounds interesting
-1x Raspberry Pi Zero W hopping between my garage and car running a program that collects and displays OBDII and GPS data
-Nx of most other Pi revisions collecting dust in my closets and storage areas. They're cheap enough that I've compulsively over-purchased them over the years...

myhay2 replies#
>>1x Raspberry Pi Zero W hopping between my garage and car running a program that collects and displays OBDII and GPS data

This is what I also want for my car. I am planning to collect the GPS and car data and answer the eternal question I have .. Which road to work is more efficient in time and gas. :)

knd7751 reply#
Why do you seem to be shadowbanned with two comments? Your first comment was dead before I vouched for it, too.
myhay#
To be honest I don't know... I'm usually just reading on HN, nothing else...
prometheus76#
I tried something similar and was astonished at the amount of variance caused by stoplights and weather. Because of that, it's hard to get a good dataset for comparison.

In the end, because of the variance caused by external factors, there was no clear winner in my case, so I now use an app from random.org to flip a coin and follow the results accordingly. That's not because either way is better, but this way if I have a long delay for some reason, I can blame it on a bad coin flip.

n8henrie1 reply#
Did you need to do anything special to control the 24v solenoids?
el_benhameen#
I got this relay board [0], then took the power supply from an old sprinkler control system and spliced its leads in. From there, it's dead simple to control using the GPIO python library. I eventually want to monitor things like temperature, soil moisture, and forecast to determine the watering schedule, but right now I just have a cron job that switches the valves on and off a few times a week.

[1] https://www.amazon.com/gp/product/B00KTELP3I

1f971 reply#
>-1x Raspberry Pi 3 B+ in my office running a dynamic dns script and sitting behind a forwarded port for easy sshing.

could you give more info about this? i want to set up something similar at home also.

el_benhameen#
Here's the script: https://github.com/benrad/pydydns

This is specifically for Route53 since that's where I handle my DNS records. I think it would probably be trivial to modify it to work with another DNS provider with an API, though.
It's quite old and probably ugly, but it's been working flawlessly for several years so I haven't really mucked with it much since I created it.