Hi there, i am building a simple home alarm system , using sonoff motion and window sensors , Sonoff Rf bridge and raspberry pi as host for HA.
I always get to the point where all works fine, alarm get triggered by sensors, i can disarm , arm again… it’s functional.If i unplug the Raspberry Pi then plug it again , alarm does’t respond anymore to sensors.
This is first time i use HA for any application so i am new to this.
Please give me a hint, i already lost 2 days with this and no success.Thanks in advance
Unplug power or network?
If power: don’t do that. It’s a surefire way to corrupt your SD card.
If network: assign an IP address to your Pi in your routers DHCP server. This way your Pi always starts with the same IP address.
Thanks for your reply, i found the problem .Some of the automation ware off after restart.
I solved it with this.
service: automation.turn_on
{
“entity_id”: “group.all_automations”
}