Power Interupted
Moderators: leecollings, remb0
-
- Posts: 8
- Joined: Thursday 31 March 2016 15:28
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Power Interupted
We had a storm the other day, the power went off but not cleanly. For several seconds the power flickered, came on, off several times. The result... two Raspberry Pis with corrupted memory cards. I'm now having to rebuild my Domoticz system from scratch, again. And yes I did have an image of the card but I couldn't get it to load, but that's another story.
My question is, is there a device that one could put in the power line to the Pi which, when the power is interrupted for a fraction of a second, will cut the power to the device until it is manually turned on again? Thus preventing the system from repeatedly trying to boot and the power being cut off rendering the card unreadable.
My question is, is there a device that one could put in the power line to the Pi which, when the power is interrupted for a fraction of a second, will cut the power to the device until it is manually turned on again? Thus preventing the system from repeatedly trying to boot and the power being cut off rendering the card unreadable.
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Power Interupted
I don't know if such a device exist but for the protection of my Synology NAS, I use this UPS
This protects against power surges and will keep the power on my systems for about 30 minutes while disconnected from the grid and then gracefully stops my NAS.
The remaining free outlets are used to protect my PI's, Hue bridge and HomeWizard stuff. So in your case it could prevent the "flickering" of the power to your PI's
On a side note. I use berryboot in combination with my NAS (iSCSI). This mechanism will only boot from SD but every subsequent read / write is via the LAN to/from my NAS. Faster and much more reliable than read/write on SD-card
This protects against power surges and will keep the power on my systems for about 30 minutes while disconnected from the grid and then gracefully stops my NAS.
The remaining free outlets are used to protect my PI's, Hue bridge and HomeWizard stuff. So in your case it could prevent the "flickering" of the power to your PI's
On a side note. I use berryboot in combination with my NAS (iSCSI). This mechanism will only boot from SD but every subsequent read / write is via the LAN to/from my NAS. Faster and much more reliable than read/write on SD-card
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 8
- Joined: Thursday 31 March 2016 15:28
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Power Interupted
Thanks for the reply. Yes, I do use a UPS on my main computer and server so I don't have any problems there. I was hoping that there was a simpler, under $10 little switch device that one could put in the power line. Sort of like a reverse fuse that breaks the connection when there is a drop in power.
- Siewert308SW
- Posts: 290
- Joined: Monday 29 December 2014 15:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: The Netherlands
- Contact:
Re: Power Interupted
Or take a look a ups board.
Like Pico ups or some other hats.
I used to have a pico ups hat and it does the trick only support sucks.
Like Pico ups or some other hats.
I used to have a pico ups hat and it does the trick only support sucks.
Setup:
- RPi4 - Domo Stable / Aeotec Z-stick7 / PiHole Unbound Gemini
- RPi4 - PiHole / PiVPN Unbound Gemini
- Synology DS923+ / DS218j
- P1 Gas/Power, SmartGateway watermeter
- Fibaro switches, contacts, plugs, smoke/Co2 ect
- rootfs @ USB HDD
- RPi4 - Domo Stable / Aeotec Z-stick7 / PiHole Unbound Gemini
- RPi4 - PiHole / PiVPN Unbound Gemini
- Synology DS923+ / DS218j
- P1 Gas/Power, SmartGateway watermeter
- Fibaro switches, contacts, plugs, smoke/Co2 ect
- rootfs @ USB HDD
- Egregius
- Posts: 2589
- Joined: Thursday 09 April 2015 12:19
- Target OS: Linux
- Domoticz version: v2024.7
- Location: Beitem, BE
- Contact:
Re: Power Interupted
A simple relay and a push button could do the trick.
You start the relay with the push button and then the relay powers itself. When power grts interrupted you need to push the button again.
You start the relay with the push button and then the relay powers itself. When power grts interrupted you need to push the button again.
-
- Posts: 11
- Joined: Monday 18 July 2016 11:39
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.2
- Location: Eindhoven
- Contact:
Re: Power Interupted
Never tried it but would using a powerbank for the PI be a solution. Then make sure the powerbank is always connected to a charger.
Verzonden vanaf mijn iPhone met Tapatalk
Verzonden vanaf mijn iPhone met Tapatalk
- Siewert308SW
- Posts: 290
- Joined: Monday 29 December 2014 15:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: The Netherlands
- Contact:
Re: Power Interupted
Could work, used one years ago.
But keep in mind you need a power bank which is capable of charging and giving power at the same time.
Hard to find as nowadays those ain't sold anymore, at least over here
Setup:
- RPi4 - Domo Stable / Aeotec Z-stick7 / PiHole Unbound Gemini
- RPi4 - PiHole / PiVPN Unbound Gemini
- Synology DS923+ / DS218j
- P1 Gas/Power, SmartGateway watermeter
- Fibaro switches, contacts, plugs, smoke/Co2 ect
- rootfs @ USB HDD
- RPi4 - Domo Stable / Aeotec Z-stick7 / PiHole Unbound Gemini
- RPi4 - PiHole / PiVPN Unbound Gemini
- Synology DS923+ / DS218j
- P1 Gas/Power, SmartGateway watermeter
- Fibaro switches, contacts, plugs, smoke/Co2 ect
- rootfs @ USB HDD
- dre68
- Posts: 27
- Joined: Friday 30 January 2015 20:18
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Location: Noordwijk, Netherlands
- Contact:
Re: Power Interupted
I run my Pi's (3B) from USB stick, without SD card. No more corrupted SD cards by power outage or card wear by age. Also runs faster than with the OS on SD card
Last edited by dre68 on Wednesday 13 June 2018 17:49, edited 1 time in total.
Who is online
Users browsing this forum: Bing [Bot] and 1 guest