Restart HA every day - Satel integration

Hi,

I have a problem with Satel alarm system integration. Ever evening I shut down Rapsberry Pi on which I have HA and start it at 7AM. The problem is that Raspberry Pi and my router are started simultaneously (using smart plug) and it takes a few minutes for the router to connect to its mesh master. This breaks Satel integration (some bad timeout?). Even though finally the network communication is up, only HA restart fixes the problem with Satel. As a workaround I wanted to restart HA every day at 7:05 with below simple automation:

alias: Restart_HA
description: ''
trigger:
  - platform: time
    at: '07:05:00'
condition: []
action:
  - service: homeassistant.restart
mode: single   

But it went out that it works only for the current day, meaning if I set this script at 8:00AM to start at 8:05AM, it works for today, but for some strange reason it doesnt start at 8:05AM next days.

Thanks in advance for any advice.

When a raspberry pi starts it doesn’t know what the time is. It has no RTC.

It gets the time from the network.

Chicken meet egg.

I am not sure this is definitely the problem, but may I suggest you stop turning it off!

1 Like

:point_up_2: this.

Unfortunately that’s not a solution for me. I have this router, raspberry and connected to it sonoff boxes in my badroom, and all shine like a christmas tree, so I have to shut it down. The automation doesn’t work even though I set it 10+ mins after boot, when for sure it’s connected to the network and HA has correct time. If I set reboot automation manualy again (after failed trigger) for 2 mins later, it works…