Announcement

Collapse
No announcement yet.

Power loss resilience

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Power loss resilience

    Hi. Powered up the Zee today for the first time and have started configuring devices. I have already experienced a power loss causing a corrupt file system on the Zee and needed to restore to factory which was very straightforward following Rich's instructions.

    However I'm thinking now that maybe the file system on the Zee is a bit more fragile to what I'm used to (Windows running on a laptop) so just thought I'd put a couple of questions out there to find out what others are doing ?

    Are you running your Zee on UPS with some notification for a clean shutdown if mains power goes ?

    What are you doing about backups ?

    Thanks and look forward to your thoughts ?

    Phill

    #2
    Whilst I don't run the Zee I run a R-Pi which I turn on and off by rotary switch, I also have had on a number of times the file system corrupted by turning it on and off by the switch. If you search the net there does seem to be some reports of corruption issues with the R-Pi when it is powered hard on/off.

    With it drawing next to nothing power wise you could get away with a small UPS and get many hours of it running, certainly enough time to notify you and get you to shut it down correctly.

    Have not seen any HS plugins for UPS's and Linux but they might be about or you might be able to get a python script from the net somewhere and get it to talk to HS so HS shuts itself down.

    Hope you are OK with the weather, some of the pictures on the news are terrible.

    Comment


      #3
      Same here - mine is connected to a UPS, so it never goes down unless I pull the plug manually. I have had to pull the plug a time or two, but luckily no corruptions.

      My backups are manual - I just copy off the /usr/local/Homeseer folder to a dropbox folder. One day, I will get around to automating it.
      HS4Pro on a Raspberry Pi4
      54 Z-Wave Nodes / 21 Zigbee Devices / 108 Events / 767 Devices
      Plugins: Z-Wave / Zigbee Plus / EasyTrigger / AK Weather / OMNI

      HSTouch Clients: 1 Android

      Comment


        #4
        Is there a preferred way of shutting down Homeseer from a script. I know that 'kill pid' will stop the process but is this a clean shutdown ? Once the process is stopped then it should be a simple case as you say of copying the folder and restarting Homeseer.

        I like the idea of copying to dropbox. I'll give that a go.

        Phill

        Comment


          #5
          The currently utilized (two years?) archlinux arm based pogoplug with mono sprinkler setup I have does do a clean shutdown of the application and mono ever night (morning); a backup "script" runs backing up everything to a mini USB stick. One completed then a reboot of the device happens. The working drives (USB) are either 2Gb or 4Gb (with extra space). The application / OS is way smaller than 2Gb though. This device is inside of my sprinkler box. The Zee HS directory does include clean application and OS shutdown scripts. Yup you cannot really back up a "mounted" device to do a snapshot other than maybe a reboot to a secondary OS and having the secondary OS image the primary OS hardware.
          - Pete

          Auto mator
          Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
          Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
          HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

          HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
          HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

          X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

          Comment


            #6
            Cheers Pete. Thanks for your advice (again 8-) and I've had a look and now found the restart script so will be making use of this soon.

            Comment

            Working...
            X