4 ms·
Garage door opener using raspberry pi and web technologies. Features: - Web interface with multiple user accounts. - React/Material UI front end. - NodeJS bac
by zaabis 6y ago
Garage door opener using raspberry pi and web technologies.
Features:
- Web interface with multiple user accounts.
- React/Material UI front end.
- NodeJS backend with registration/login flows.
- theamk 6y ago.. all data stored on SD card and lost during one of power outages / if someone bumps the cable / if it gets too hot in the summer
- zaabis 6y agoOptional Firebase integration is a potential feature ;)
- ThePowerOfFuet 6y agoSo much for this: > Works locally only, via WLAN (it's a feature, not a bug!)
- zaabis 6y agoYeap, the opposite of all the IoT solutions. This can be again an optional feature, preferred for security
- GordonS 6y agoNot sure this actually happens. In practice. A friend works at an oil company, and they have dozens of rpis deployed on offshore rigs, and in land rigs in the middle east. They are working in pretty harsh conditions, with high salinity, sand in the air, high vibrations, very low temps, very high temps... and yet over the 6 years they have been running, not 1 has had a fault. All use SD cards, and they haven't been glued in or secured in any way. At this point, the RPi SD-card fault thing is becoming a meme.
- kavalg 6y agoNot my experience with commodity SD card, power supply and stock settings of Raspbian. They must be using some "secret sauce" to make them run 6 years without outages. I would suspect some industrial grade SD card (SLC or at least AMLC), high quality power supply (e.g. UPS with surge protection) and also some way to limit writes on the SD-card.
- GordonS 6y agoThey are running stock Raspbian. For SD cards, they are using a mix of SanDisk, Kingston and others - consumer versions. They are indeed using UPS', and the workloads naturally have a low write load.
- soylentcola 6y agoThat's nuts. I had to replace some old Cisco media players that we used as digital schedule boards outside of ~20 classrooms. The Cisco players were quite old and only needed to load a webpage that pulled schedule info from elsewhere and displayed it in the proper format. I decided to do this with RPi and went through several revisions as I learned/relearned a lot about Linux. The first version was built on full Raspbian and added a basic server listening on some port or another so I could remotely reboot the things by clicking links on a simple website I put together. That build would usually crap out after a few months and the Pis would stop booting fully from the Sandisk MicroSD cards. Most recent rev was built from the "Lite" version of Raspbian as I was looking to stay slim and have less stuff to update/run in the background/cause issues with the basic operation of a device that only needed to boot, load Chromium, and open a webpage defined in the startup script. Those have been a lot more stable (no more reimaging a card here and there every month or two) but they still occasionally crap out and a reimage is the only option (maybe once every 6-8 months). This is in an air conditioned building with stable power, wired LAN connection, and fast SD cards. I can't imagine they would be even this reliable running all the time in any sort of "hostile" environment or even using wireless networking. I looked into network boot but didn't really have the time or resources to set it all up on the school's network.
- 6y ago
- diffeomorphism 6y agoYou can use a usb stick instead. Are these particularly "hot summer" sensitive?