News for hackers. Stuff that matters.
Re:Ask HN: What do you do with your Raspberry Pi? by el_benhameen on Monday June 24, 2019 @02:20PM (#20266655)
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...

Re:Ask HN: What do you do with your Raspberry Pi? by myhay on Monday June 24, 2019 @04:11PM (#20267921)
>>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. :)

Re:Ask HN: What do you do with your Raspberry Pi? by prometheus76 on Thursday June 27, 2019 @03:07PM (#20297502)
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.

Re:Ask HN: What do you do with your Raspberry Pi? by knd775 on Monday June 24, 2019 @06:14PM (#20269072)
Why do you seem to be shadowbanned with two comments? Your first comment was dead before I vouched for it, too.
Re:Ask HN: What do you do with your Raspberry Pi? by myhay on Tuesday June 25, 2019 @04:12AM (#20272073)
To be honest I don't know... I'm usually just reading on HN, nothing else...
Re:Ask HN: What do you do with your Raspberry Pi? by 1f97 on Tuesday June 25, 2019 @03:54AM (#20271994)
>-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.

Re:Ask HN: What do you do with your Raspberry Pi? by el_benhameen on Tuesday June 25, 2019 @11:27AM (#20275184)
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.

Re:Ask HN: What do you do with your Raspberry Pi? by n8henrie on Monday June 24, 2019 @09:59PM (#20270523)
Did you need to do anything special to control the 24v solenoids?
Re:Ask HN: What do you do with your Raspberry Pi? by el_benhameen on Tuesday June 25, 2019 @11:25AM (#20275154)
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