Power Interupted

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.
Post Reply
rickybee
Posts: 9
Joined: Thursday 31 March 2016 15:28
Target OS: Raspberry Pi
Domoticz version:
Contact:

Power Interupted

Post by rickybee » Tuesday 05 June 2018 2:20

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.

User avatar
waaren
Posts: 1100
Joined: Tuesday 03 January 2017 15:18
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Power Interupted

Post by waaren » Tuesday 05 June 2018 7:29

I don't know if such a device exist but for the protection of my Synology NAS, I use this UPS
Knipsel.PNG
Knipsel.PNG (154.12 KiB) Viewed 657 times
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
Raspberry (debian stretch via berryboot on Synology DS916+) , Domoticz (almost) latest Beta, , dzVents 2.6, RFLink, RFXtrx433e, P1, Youless, Harmony, Hue, Yeelight, Xiaomi, HomeWizard, Zwave, Amazon echo

rickybee
Posts: 9
Joined: Thursday 31 March 2016 15:28
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Power Interupted

Post by rickybee » Tuesday 05 June 2018 13:21

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.

User avatar
Siewert308SW
Posts: 607
Joined: Monday 29 December 2014 16:47
Target OS: Raspberry Pi
Domoticz version: Beta
Location: The Netherlands - Zoutkamp (gn)
Contact:

Re: Power Interupted

Post by Siewert308SW » Tuesday 05 June 2018 13:45

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.
Setup:
- RPi3 - PIco HV3.0A / Domo Beta 3.9XXX / RFXtrx433E / Aeotec Gen5
- RPi3 - PIco HV3.0A / PiHole / PiVPN / NAS / Print Server
- Youless Elec&Gas
- FI9803P Cams
- KD101 detectors
- Zwave & KaKu

MyDomoticz scripts: @GitHub
PIco UPS Toolkit: @GitHub

User avatar
Egregius
Posts: 2733
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: Beta
Location: Beitem, BE
Contact:

Re: Power Interupted

Post by Egregius » Wednesday 06 June 2018 0:03

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.

MrRikkie
Posts: 5
Joined: Monday 18 July 2016 11:39
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Power Interupted

Post by MrRikkie » Wednesday 06 June 2018 8:00

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

User avatar
Siewert308SW
Posts: 607
Joined: Monday 29 December 2014 16:47
Target OS: Raspberry Pi
Domoticz version: Beta
Location: The Netherlands - Zoutkamp (gn)
Contact:

Re: Power Interupted

Post by Siewert308SW » Wednesday 06 June 2018 8:03

MrRikkie wrote:
Wednesday 06 June 2018 8:00
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
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:
- RPi3 - PIco HV3.0A / Domo Beta 3.9XXX / RFXtrx433E / Aeotec Gen5
- RPi3 - PIco HV3.0A / PiHole / PiVPN / NAS / Print Server
- Youless Elec&Gas
- FI9803P Cams
- KD101 detectors
- Zwave & KaKu

MyDomoticz scripts: @GitHub
PIco UPS Toolkit: @GitHub

User avatar
dre68
Posts: 24
Joined: Friday 30 January 2015 21:18
Target OS: Raspberry Pi
Domoticz version: latest
Location: Noordwijk, Netherlands
Contact:

Re: Power Interupted

Post by dre68 » Thursday 07 June 2018 9:10

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.

freijn
Posts: 387
Joined: Friday 23 December 2016 17:40
Target OS: Raspberry Pi
Domoticz version:
Location: Netherlands Purmerend
Contact:

Re: Power Interupted

Post by freijn » Thursday 07 June 2018 10:30

dre68 wrote:
Thursday 07 June 2018 9:10
I run my Pi's (3) 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
Do you have a link on how to achieve this please?

User avatar
dre68
Posts: 24
Joined: Friday 30 January 2015 21:18
Target OS: Raspberry Pi
Domoticz version: latest
Location: Noordwijk, Netherlands
Contact:

Re: Power Interupted

Post by dre68 » Thursday 07 June 2018 20:01


Post Reply

Who is online

Users browsing this forum: mcjackdus and 3 guests