Live data from Hacker News

Nine Raspberry Pis powering an office (2016)

monterail.com

41–50 of 159 posts

Re: Nine Raspberry Pis powering an office (2016)

#41

My RPi's are like lottery tickets. I buy them with the thought of all they could be used for...then collect duct in the junk drawer. I also tell myself I'm supporting the manufacturer, though it would appear they don't need my help.

I use one for the clock in my bedroom. I use FullPageOS to load a web page that contains the time, date and weather (Open Weather gives you 60 checks per minute for free - way more than I need). The clock is on a full size monitor so the wife and I can see it without our glasses on.

I basically deployed a nodejs app and configured FullPageOS to load that local page. The clock itself is just HTML and JavaScript (jQuery, bootstrap, moment.js) - there is no servers side code beyond basically the "connect+serve-static to server the index.html file.

Oh, and it plays the comet from Star Trek Deep Space Nine's Title Credits on the hour in the background.

Re: Nine Raspberry Pis powering an office (2016)

#42

My RPi's are like lottery tickets. I buy them with the thought of all they could be used for...then collect duct in the junk drawer. I also tell myself I'm supporting the manufacturer, though it would appear they don't need my help.

If you are looking for project ideas or inspiratation, take a look at the official Raspberry Pi magazine: MagPi.

Each issue is full of projects with step-by-step instructions on creating the project.

Each issue of the magazine can be downloaded for free as a PDF (or alternatively purchased as a print magazine):

The MagPi Magazine: https://magpi.raspberrypi.com/issues

Re: Nine Raspberry Pis powering an office (2016)

#43

That is surprising. I guess it's still economical for them to use these horrible computers despite the fact the mean time between failures is at best three weeks.

Do you have any references for MTBF or the Pi's failure modes in general? SD cards going out are pretty much the only thing people talk about, and that problem is easy to solve. Another thing is bad power supplies, again easily solved (and not the Pi's fault).

Re: Nine Raspberry Pis powering an office (2016)

#44

My RPi's are like lottery tickets. I buy them with the thought of all they could be used for...then collect duct in the junk drawer. I also tell myself I'm supporting the manufacturer, though it would appear they don't need my help.

I use mine all the time for experiments. They're super useful for doing quick one-off experiments to see if something will work. Sometimes I'll keep using them, other times I'll switch to a different platform.

Friday I was trying to figure out if I could remotely read realtime usage off my power meter. I've tried using a SDR for it but it uses some proprietary frequency hopping system that is difficult to understand and I don't have enough domain knowledge to reliably implement. But it had a debug port on it with what looked like an IR transmitter in it, and some reading online indicated that it might be flashing at a rate that indicates usage. It was too weak (and it was too bright outside) to see it with my phone, so I decided ot just try it out.

30 minutes later I had a Raspi with a IR receiver and lirc and I could confirm that it was pulsing at a rate of 1 pulse per watt-hour (1000 pulses per kWh).

The actual reader implementation I will probably do on esp32 because Raspi is overkill for this, it just needs to read the pulses and broadcast messages to MQTT, and I'll 3D print an enclosure so it's not just taped to the side of the meter. But the Raspi made it really easy to just try this idea out without making any commitments to it. That alone is worth keeping a few around.

Re: Nine Raspberry Pis powering an office (2016)

#45
post #26

Earlier quoted context omitted.

Can I heavily recommend the use of them as a pihole + Wireguard VPN + DNSCryptProxy Server. Pihole -> Great use for a network wide adblocker/DHCP server. Wireguard VPN -> In combination with a DDNS setup and some port forwarding enables the use of a global private VPN. I think it's a prerequisite for a decent home-automation setup. DNSCryptProxy -> Great for ensuring all DNS requests on the network via DNS over HTTPS…

Any good tutorials on setting up Wireguard? This (and Pihole) have been on my todo list for a while.

The easiest way is to use some kind of manager on top of wireguard. Tailscale is very good and free for a single user (or with headscale) Otherwise there is innernet, wiretrustee, ...

Re: Nine Raspberry Pis powering an office (2016)

#46
post #26

Earlier quoted context omitted.

Can I heavily recommend the use of them as a pihole + Wireguard VPN + DNSCryptProxy Server. Pihole -> Great use for a network wide adblocker/DHCP server. Wireguard VPN -> In combination with a DDNS setup and some port forwarding enables the use of a global private VPN. I think it's a prerequisite for a decent home-automation setup. DNSCryptProxy -> Great for ensuring all DNS requests on the network via DNS over HTTPS…

Any good tutorials on setting up Wireguard? This (and Pihole) have been on my todo list for a while.

I like wg-netns. It allows setup of a wireguard tunnel, similar to wg-quick does, in a Linux network namespace. So I can run some processes using the VPN, and others without.

By specifying the namespace in a systemd service file, I can let a service use a specific VPN.

https://github.com/dadevel/wg-netns

Re: Nine Raspberry Pis powering an office (2016)

#47

That is surprising. I guess it's still economical for them to use these horrible computers despite the fact the mean time between failures is at best three weeks.

Do you have any references for MTBF or the Pi's failure modes in general? SD cards going out are pretty much the only thing people talk about, and that problem is easy to solve. Another thing is bad power supplies, again easily solved (and not the Pi's fault).

My experiences with raspberry pis has been exclusively and extremely negative.

The first one I owned had some kind of electrical fault that bricked and destroyed my TV.

The second one I owned had a fault where a few of the capacitors on the back fell off upon me plugging it in for the first time.

The third one I tried had a fault where it would spontaneously shut down if I had any USB devices plugged into it for any reason at all (in this case it was a mouse and a flash drive).

The fourth one I owned had the same problem, and the way I fixed it was desoldering its onboard wifi receiver running it at an absurd underclock and overvolting the USB2 input with my bench power supply.

With that said, let me talk about their hardware.

The USB-C implementation on the raspberry pi 4 violates the USB spec. When this was brought up to the engineers over there, they completely memory holed the problem, saying it works on USB2 chargers through an adapter. I call bullshit because during normal use it will draw more than 12.5 watts (which exceeds power limits on USB2 cables).

I have never seen the micro HDMI port on anything made before 2013 so the adapters required to make it work with modern TVs may as well be proprietary ones sold by RPi.

The camera input connector is encrypted for some reason, so if you wanted to use a camera through there it has to be one of raspberry pi's.

Despite them claiming it's opensource, it really isn't. The only thing that they have made opensource is the schematics which are largely useless for integrating into your own designs. The main processor onboard (and a handful of other ICs) isn't even commercially available. They claim it is, but that's only if you order it in minimum quantities of a few hundred thousand or something.

So in order to use the RPi4's most basic features, you need a proprietary charger, a proprietary camera, and a proprietary video output dongle. These things are more locked down than most laptops.

And that's just the problems with the RPi4. That has absolutely nothing to do with the litany of problems the past versions have had, which I don't feel like listing here. One of the issues that comes to mind is that the RPi 3 had a problem where it would spontaneously shut down if the lights in the room flickered wrong.

Worst of all, because these clowns have mindshare it means that other more well-behaved SBCs will never get any form of community tech support or large enough marketshare to make any notable change.

Re: Nine Raspberry Pis powering an office (2016)

#48

That is surprising. I guess it's still economical for them to use these horrible computers despite the fact the mean time between failures is at best three weeks.

Last year I decommissioned a Pi 2 that had been running nonstop pretty much since it came out, with the same SD card. I used it as a camera/motion detector for my garage, so it isn’t like it had the perfect environment. I also have a pi 3 that runs nonstop collecting data from a couple usb peripherals. I have a pi zero W running as a print server for the last 2-3 years, and a pi 4 with multiple services and docker containers for the last 1.5-2 years. I have never experienced an SD or pi failure. I only buy the power supplies recommended by the pi foundation. I also gracefully shut down vs. yanking power (but I do not have these on UPS, so they do occasionally experience power outages)

Re: Nine Raspberry Pis powering an office (2016)

#49
post #48

That is surprising. I guess it's still economical for them to use these horrible computers despite the fact the mean time between failures is at best three weeks.

Last year I decommissioned a Pi 2 that had been running nonstop pretty much since it came out, with the same SD card. I used it as a camera/motion detector for my garage, so it isn’t like it had the perfect environment. I also have a pi 3 that runs nonstop collecting data from a couple usb peripherals. I have a pi zero W running as a print server for the last 2-3 years, and a pi 4 with multiple services and docker co…

That is all anecdotal evidence. All four that I have tried using have failed catastrophically for different reasons. See my reply to a different comment on the same thread.

Re: Nine Raspberry Pis powering an office (2016)

#50

Earlier quoted context omitted.

Check out the high endurance SD cards they typically support 10 to 100 times the writes other SD cards do and aren't that much more expensive. They are most often used in dashcams and the like.

Or for a kiosk you could probably run exclusively from RAM and never touch the SD card after the initial boot.

We found that booting from USB and using a 2.5" SSD drive is durable.
Post reply on HN