Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95919

MySensors - initiation problem after reboot

$
0
0

@pepeEL wrote:

Hi all
I use this sketch on Arduino Mega with relays.
https://pastebin.com/sysv9ahb

All is ok… but. WHen i restart Home assistant also Arduino on USB is restart. I dont want this because in all my house light will be OFF. But when some before restart HA is ON after restart is OFF. I dont use on Arduino save to eeprom because i want save eeprom.
To Arduino no restart when HA is restarted i use on Arduino between GND and RST capacity.
But is one problem.
When some realy is ON , and then i reboot HA and under restarting HA i change by button state this relay to OFF,then Home Assistant still show that this relay is ON. Only change state from button or HA update state.

Is any chance to implement in Home Assistant , to when HA start ask Arduino to show all state relays ? It will be a good feature. If i must eplane more lease write…

Also problem is when i use gateway on Ethernet module… the same sketch for relay. Ethernet gateway is in other room and when HA restart and under this restart relay change state he not show correct state in HA.Only show correct state after change by button or HA send change state to gateway ethernet.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95919

Trending Articles