Turning ON a Shelly Plus 1 to power relay to power Starlink on 12V causes Home Assistant to REBOOT

Every time I turn on a Shelly Plus 1 device, it seems that Home Assistant Reboots.

I cannot seem to gather any useful information in the Logs. Even with Debug logging on the Shelly turned on.

I turn ON the device and immediately I loos communication with Home Assistant.

After last event, I turned on Debug Mode on the Shelly and the HA Log now shows:

2024-09-04 18:57:41.886 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration alarmo which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2024-09-04 18:57:41.887 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2024-09-04 18:57:41.889 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration watchman which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2024-09-04 18:57:41.891 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration midea_ac_lan which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

2024-09-04 18:57:42.610 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //config/home-assistant_v2.db was shutdown cleanly

2024-09-04 18:57:42.661 WARNING (Recorder) [homeassistant.components.recorder.util] Ended unfinished session (id=83 from 2024-09-05 01:33:33.854444)

2024-09-04 18:57:47.971 WARNING (MainThread) [hass_nabucasa.cloud_api] Fetched https://alexa-api.nabucasa.com/access_token (400)

2024-09-04 19:00:51.557 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching STARLINK data in 0.000 seconds (success: True)

2024-09-04 19:01:43.695 DEBUG (MainThread) [aioshelly.rpc_device.device] host 172.17.10.100:80: RPC device create, MAC: B8D61A8C3924

2024-09-04 19:01:43.695 DEBUG (MainThread) [aioshelly.rpc_device.wsrpc] Adding device B8D61A8C3924 to WsServer message subscriptions

2024-09-04 19:01:43.696 DEBUG (MainThread) [homeassistant.components.shelly] Setting up online RPC device shellyplus1-b8d61a8c3924

2024-09-04 19:01:43.696 DEBUG (MainThread) [aioshelly.rpc_device.device] host 172.17.10.100:80: RPC device initialize

2024-09-04 19:01:43.721 DEBUG (MainThread) [aioshelly.common] host 172.17.10.100:80: error: MacAddressMismatchError('Input MAC: B8D61A8C3924, Shelly MAC: B8D61A8C3660')

2024-09-04 19:01:43.721 DEBUG (MainThread) [aioshelly.rpc_device.device] host 172.17.10.100:80: error: MacAddressMismatchError('Input MAC: B8D61A8C3924, Shelly MAC: B8D61A8C3660')

2024-09-04 19:01:43.721 DEBUG (MainThread) [aioshelly.rpc_device.device] host 172.17.10.100:80: RPC device shutdown

2024-09-04 19:01:51.557 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching STARLINK data in 0.000 seconds (success: True)

2024-09-04 19:02:28.480 DEBUG (MainThread) [aioshelly.rpc_device.wsrpc] recv(172.17.10.100:80): {'src': 'shellyplus1-b8d61a8c3660', 'dst': 'aios-281472359860272', 'method': 'NotifyStatus', 'params': {'ts': 1725501748.4, 'switch:0': {'id': 0, 'temperature': {'tC': 52.0, 'tF': 125.6}}}}

2024-09-04 19:02:28.480 DEBUG (MainThread) [aioshelly.rpc_device.wsrpc] Notification: NotifyStatus {'ts': 1725501748.4, 'switch:0': {'id': 0, 'temperature': {'tC': 52.0, 'tF': 125.6}}}

2024-09-04 19:02:28.480 DEBUG (MainThread) [homeassistant.components.shelly] Shelly STARLINK handle update, type: RpcUpdateType.STATUS

2024-09-04 19:02:28.480 DEBUG (MainThread) [homeassistant.components.shelly] Manually updated STARLINK data

2024-09-04 19:03:04.063 DEBUG (MainThread) [aioshelly.rpc_device.device] host 172.17.10.100:80: RPC device create, MAC: B8D61A8C3924

2024-09-04 19:03:04.063 DEBUG (MainThread) [aioshelly.rpc_device.wsrpc] Adding device B8D61A8C3924 to WsServer message subscriptions

2024-09-04 19:03:04.064 DEBUG (MainThread) [homeassistant.components.shelly] Setting up online RPC device shellyplus1-b8d61a8c3924

2024-09-04 19:03:04.064 DEBUG (MainThread) [aioshelly.rpc_device.device] host 172.17.10.100:80: RPC device initialize

2024-09-04 19:03:04.078 DEBUG (MainThread) [aioshelly.common] host 172.17.10.100:80: error: MacAddressMismatchError('Input MAC: B8D61A8C3924, Shelly MAC: B8D61A8C3660')

2024-09-04 19:03:04.079 DEBUG (MainThread) [aioshelly.rpc_device.device] host 172.17.10.100:80: error: MacAddressMismatchError('Input MAC: B8D61A8C3924, Shelly MAC: B8D61A8C3660')

2024-09-04 19:03:04.079 DEBUG (MainThread) [aioshelly.rpc_device.device] host 172.17.10.100:80: RPC device shutdown

2024-09-04 19:03:28.558 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching STARLINK data in 0.000 seconds (success: True)

2024-09-04 19:04:24.420 DEBUG (MainThread) [aioshelly.rpc_device.device] host 172.17.10.100:80: RPC device create, MAC: B8D61A8C3924

2024-09-04 19:04:24.420 DEBUG (MainThread) [aioshelly.rpc_device.wsrpc] Adding device B8D61A8C3924 to WsServer message subscriptions

2024-09-04 19:04:24.420 DEBUG (MainThread) [homeassistant.components.shelly] Setting up online RPC device shellyplus1-b8d61a8c3924

2024-09-04 19:04:24.420 DEBUG (MainThread) [aioshelly.rpc_device.device] host 172.17.10.100:80: RPC device initialize

2024-09-04 19:04:24.436 DEBUG (MainThread) [aioshelly.common] host 172.17.10.100:80: error: MacAddressMismatchError('Input MAC: B8D61A8C3924, Shelly MAC: B8D61A8C3660')

2024-09-04 19:04:24.436 DEBUG (MainThread) [aioshelly.rpc_device.device] host 172.17.10.100:80: error: MacAddressMismatchError('Input MAC: B8D61A8C3924, Shelly MAC: B8D61A8C3660')

2024-09-04 19:04:24.436 DEBUG (MainThread) [aioshelly.rpc_device.device] host 172.17.10.100:80: RPC device shutdown

2024-09-04 19:04:28.557 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching STARLINK data in 0.000 seconds (success: True)

2024-09-04 19:05:28.557 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching STARLINK data in 0.000 seconds (success: True)

2024-09-04 19:05:44.696 DEBUG (MainThread) [aioshelly.rpc_device.device] host 172.17.10.100:80: RPC device create, MAC: B8D61A8C3924

2024-09-04 19:05:44.696 DEBUG (MainThread) [aioshelly.rpc_device.wsrpc] Adding device B8D61A8C3924 to WsServer message subscriptions

2024-09-04 19:05:44.696 DEBUG (MainThread) [homeassistant.components.shelly] Setting up online RPC device shellyplus1-b8d61a8c3924

2024-09-04 19:05:44.697 DEBUG (MainThread) [aioshelly.rpc_device.device] host 172.17.10.100:80: RPC device initialize

2024-09-04 19:05:44.734 DEBUG (MainThread) [aioshelly.common] host 172.17.10.100:80: error: MacAddressMismatchError('Input MAC: B8D61A8C3924, Shelly MAC: B8D61A8C3660')

2024-09-04 19:05:44.734 DEBUG (MainThread) [aioshelly.rpc_device.device] host 172.17.10.100:80: error: MacAddressMismatchError('Input MAC: B8D61A8C3924, Shelly MAC: B8D61A8C3660')

2024-09-04 19:05:44.734 DEBUG (MainThread) [aioshelly.rpc_device.device] host 172.17.10.100:80: RPC device shutdown

2024-09-04 19:06:28.557 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching STARLINK data in 0.000 seconds (success: True)

2024-09-04 19:07:04.897 DEBUG (MainThread) [aioshelly.rpc_device.device] host 172.17.10.100:80: RPC device create, MAC: B8D61A8C3924

2024-09-04 19:07:04.897 DEBUG (MainThread) [aioshelly.rpc_device.wsrpc] Adding device B8D61A8C3924 to WsServer message subscriptions

2024-09-04 19:07:04.897 DEBUG (MainThread) [homeassistant.components.shelly] Setting up online RPC device shellyplus1-b8d61a8c3924

2024-09-04 19:07:04.897 DEBUG (MainThread) [aioshelly.rpc_device.device] host 172.17.10.100:80: RPC device initialize

2024-09-04 19:07:04.912 DEBUG (MainThread) [aioshelly.common] host 172.17.10.100:80: error: MacAddressMismatchError('Input MAC: B8D61A8C3924, Shelly MAC: B8D61A8C3660')

2024-09-04 19:07:04.912 DEBUG (MainThread) [aioshelly.rpc_device.device] host 172.17.10.100:80: error: MacAddressMismatchError('Input MAC: B8D61A8C3924, Shelly MAC: B8D61A8C3660')

2024-09-04 19:07:04.912 DEBUG (MainThread) [aioshelly.rpc_device.device] host 172.17.10.100:80: RPC device shutdown

2024-09-04 19:07:28.557 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching STARLINK data in 0.000 seconds (success: True)

2024-09-04 19:08:25.027 DEBUG (MainThread) [aioshelly.rpc_device.device] host 172.17.10.100:80: RPC device create, MAC: B8D61A8C3924

2024-09-04 19:08:25.028 DEBUG (MainThread) [aioshelly.rpc_device.wsrpc] Adding device B8D61A8C3924 to WsServer message subscriptions

2024-09-04 19:08:25.028 DEBUG (MainThread) [homeassistant.components.shelly] Setting up online RPC device shellyplus1-b8d61a8c3924

2024-09-04 19:08:25.028 DEBUG (MainThread) [aioshelly.rpc_device.device] host 172.17.10.100:80: RPC device initialize

2024-09-04 19:08:25.056 DEBUG (MainThread) [aioshelly.common] host 172.17.10.100:80: error: MacAddressMismatchError('Input MAC: B8D61A8C3924, Shelly MAC: B8D61A8C3660')

2024-09-04 19:08:25.056 DEBUG (MainThread) [aioshelly.rpc_device.device] host 172.17.10.100:80: error: MacAddressMismatchError('Input MAC: B8D61A8C3924, Shelly MAC: B8D61A8C3660')

2024-09-04 19:08:25.056 DEBUG (MainThread) [aioshelly.rpc_device.device] host 172.17.10.100:80: RPC device shutdown

2024-09-04 19:08:28.557 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching STARLINK data in 0.000 seconds (success: True)

2024-09-04 19:09:28.557 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching STARLINK data in 0.000 seconds (success: True)

2024-09-04 19:09:45.487 DEBUG (MainThread) [aioshelly.rpc_device.device] host 172.17.10.100:80: RPC device create, MAC: B8D61A8C3924

2024-09-04 19:09:45.488 DEBUG (MainThread) [aioshelly.rpc_device.wsrpc] Adding device B8D61A8C3924 to WsServer message subscriptions

2024-09-04 19:09:45.488 DEBUG (MainThread) [homeassistant.components.shelly] Setting up online RPC device shellyplus1-b8d61a8c3924

2024-09-04 19:09:45.488 DEBUG (MainThread) [aioshelly.rpc_device.device] host 172.17.10.100:80: RPC device initialize

2024-09-04 19:09:45.503 DEBUG (MainThread) [aioshelly.common] host 172.17.10.100:80: error: MacAddressMismatchError('Input MAC: B8D61A8C3924, Shelly MAC: B8D61A8C3660')

2024-09-04 19:09:45.503 DEBUG (MainThread) [aioshelly.rpc_device.device] host 172.17.10.100:80: error: MacAddressMismatchError('Input MAC: B8D61A8C3924, Shelly MAC: B8D61A8C3660')

2024-09-04 19:09:45.503 DEBUG (MainThread) [aioshelly.rpc_device.device] host 172.17.10.100:80: RPC device shutdown

Two of your Shelly devices have exchanged IP addresses. You need to remove their configuration from HA and configure it again. It is recommended to use IP addresses reserved by DHCP.

I removed the only two Shelly devices I had. Also removed the integration. Then rebooted and HA found 1 new device that was the one Shelly Plus 1 device I have now on the network.

Still having the same issueā€¦ HA shuts down and reboots after one click to turn on or off the device.

Please attach a log file.

OKā€¦ gathering ā€¦

BTW: The shelly unit works find when I use its web interface. I can turn it on and off and on and offā€¦

Hereā€™s the log:

2024-09-04 23:31:55.585 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration alarmo which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-09-04 23:31:55.587 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-09-04 23:31:55.589 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration watchman which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-09-04 23:31:55.590 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration midea_ac_lan which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-09-04 23:31:56.217 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //config/home-assistant_v2.db was shutdown cleanly
2024-09-04 23:31:56.272 WARNING (Recorder) [homeassistant.components.recorder.util] Ended unfinished session (id=80 from 2024-09-05 06:28:47.891589)
2024-09-04 23:31:59.776 DEBUG (MainThread) [aioshelly.rpc_device.device] host 172.17.10.100:80: RPC device create, MAC: B8D61A8C3660
2024-09-04 23:31:59.777 DEBUG (MainThread) [aioshelly.rpc_device.wsrpc] Adding device B8D61A8C3660 to WsServer message subscriptions
2024-09-04 23:31:59.777 DEBUG (MainThread) [homeassistant.components.shelly] Setting up online RPC device STARLINK
2024-09-04 23:31:59.777 DEBUG (MainThread) [aioshelly.rpc_device.device] host 172.17.10.100:80: RPC device initialize
2024-09-04 23:31:59.804 DEBUG (MainThread) [aioshelly.rpc_device.wsrpc] Trying to connect to device at 172.17.10.100
2024-09-04 23:31:59.821 INFO (MainThread) [aioshelly.rpc_device.wsrpc] Connected to 172.17.10.100
2024-09-04 23:31:59.821 DEBUG (MainThread) [aioshelly.rpc_device.wsrpc] send(172.17.10.100:80): {'id': 1, 'method': 'Shelly.GetConfig', 'src': 'aios-281472181399200'}
2024-09-04 23:31:59.915 DEBUG (MainThread) [aioshelly.rpc_device.wsrpc] recv(172.17.10.100:80): {'id': 1, 'src': 'shellyplus1-b8d61a8c3660', 'dst': 'aios-281472181399200', 'result': {'ble': {'enable': True, 'rpc': {'enable': True}, 'observer': {'enable': False}}, 'cloud': {'enable': True, 'server': 'shelly-39-eu.shelly.cloud:6022/jrpc'}, 'input:0': {'id': 0, 'name': None, 'type': 'switch', 'enable': True, 'invert': False, 'factory_reset': True}, 'mqtt': {'enable': False, 'server': None, 'client_id': 'shellyplus1-b8d61a8c3660', 'user': None, 'ssl_ca': None, 'topic_prefix': 'shellyplus1-b8d61a8c3660', 'rpc_ntf': True, 'status_ntf': False, 'use_client_cert': False, 'enable_rpc': True, 'enable_control': True}, 'switch:0': {'id': 0, 'name': None, 'in_mode': 'follow', 'initial_state': 'match_input', 'auto_on': False, 'auto_on_delay': 60.0, 'auto_off': False, 'auto_off_delay': 60.0}, 'sys': {'device': {'name': 'STARLINK', 'mac': 'B8D61A8C3660', 'fw_id': '20240819-074322/1.4.2-gc2639da', 'discoverable': True, 'eco_mode': False, 'addon_type': None}, 'location': {'tz': 'America/Los_Angeles', 'lat': 37.5281, 'lon': -121.9732}, 'debug': {'level': 2, 'file_level': None, 'mqtt': {'enable': False}, 'websocket': {'enable': False}, 'udp': {'addr': None}}, 'ui_data': {}, 'rpc_udp': {'dst_addr': None, 'listen_port': None}, 'sntp': {'server': 'time.google.com'}, 'cfg_rev': 25}, 'wifi': {'ap': {'ssid': 'ShellyPlus1-B8D61A8C3660', 'is_open': True, 'enable': False, 'range_extender': {'enable': False}}, 'sta': {'ssid': 'SNOOPYII-2.4', 'is_open': False, 'enable': True, 'ipv4mode': 'static', 'ip': '172.17.10.100', 'netmask': '255.255.255.0', 'gw': '172.17.10.1', 'nameserver': '172.17.10.1'}, 'sta1': {'ssid': None, 'is_open': True, 'enable': False, 'ipv4mode': 'dhcp', 'ip': None, 'netmask': None, 'gw': None, 'nameserver': None}, 'roam': {'rssi_thr': -80, 'interval': 60}}, 'ws': {'enable': False, 'server': None, 'ssl_ca': 'ca.pem'}}}
2024-09-04 23:31:59.921 DEBUG (MainThread) [aioshelly.rpc_device.wsrpc] Shelly.GetConfig(None) -> {'id': 1, 'src': 'shellyplus1-b8d61a8c3660', 'dst': 'aios-281472181399200', 'result': {'ble': {'enable': True, 'rpc': {'enable': True}, 'observer': {'enable': False}}, 'cloud': {'enable': True, 'server': 'shelly-39-eu.shelly.cloud:6022/jrpc'}, 'input:0': {'id': 0, 'name': None, 'type': 'switch', 'enable': True, 'invert': False, 'factory_reset': True}, 'mqtt': {'enable': False, 'server': None, 'client_id': 'shellyplus1-b8d61a8c3660', 'user': None, 'ssl_ca': None, 'topic_prefix': 'shellyplus1-b8d61a8c3660', 'rpc_ntf': True, 'status_ntf': False, 'use_client_cert': False, 'enable_rpc': True, 'enable_control': True}, 'switch:0': {'id': 0, 'name': None, 'in_mode': 'follow', 'initial_state': 'match_input', 'auto_on': False, 'auto_on_delay': 60.0, 'auto_off': False, 'auto_off_delay': 60.0}, 'sys': {'device': {'name': 'STARLINK', 'mac': 'B8D61A8C3660', 'fw_id': '20240819-074322/1.4.2-gc2639da', 'discoverable': True, 'eco_mode': False, 'addon_type': None}, 'location': {'tz': 'America/Los_Angeles', 'lat': 37.5281, 'lon': -121.9732}, 'debug': {'level': 2, 'file_level': None, 'mqtt': {'enable': False}, 'websocket': {'enable': False}, 'udp': {'addr': None}}, 'ui_data': {}, 'rpc_udp': {'dst_addr': None, 'listen_port': None}, 'sntp': {'server': 'time.google.com'}, 'cfg_rev': 25}, 'wifi': {'ap': {'ssid': 'ShellyPlus1-B8D61A8C3660', 'is_open': True, 'enable': False, 'range_extender': {'enable': False}}, 'sta': {'ssid': 'SNOOPYII-2.4', 'is_open': False, 'enable': True, 'ipv4mode': 'static', 'ip': '172.17.10.100', 'netmask': '255.255.255.0', 'gw': '172.17.10.1', 'nameserver': '172.17.10.1'}, 'sta1': {'ssid': None, 'is_open': True, 'enable': False, 'ipv4mode': 'dhcp', 'ip': None, 'netmask': None, 'gw': None, 'nameserver': None}, 'roam': {'rssi_thr': -80, 'interval': 60}}, 'ws': {'enable': False, 'server': None, 'ssl_ca': 'ca.pem'}}}
2024-09-04 23:31:59.922 DEBUG (MainThread) [aioshelly.rpc_device.wsrpc] send(172.17.10.100:80): {'id': 2, 'method': 'Shelly.GetStatus', 'src': 'aios-281472181399200', 'dst': 'shellyplus1-b8d61a8c3660'}
2024-09-04 23:31:59.960 DEBUG (MainThread) [aioshelly.rpc_device.wsrpc] recv(172.17.10.100:80): {'id': 2, 'src': 'shellyplus1-b8d61a8c3660', 'dst': 'aios-281472181399200', 'result': {'ble': {}, 'cloud': {'connected': True}, 'input:0': {'id': 0, 'state': False}, 'mqtt': {'connected': False}, 'switch:0': {'id': 0, 'source': 'WS_in', 'output': True, 'temperature': {'tC': 55.0, 'tF': 130.9}}, 'sys': {'mac': 'B8D61A8C3660', 'restart_required': False, 'time': '23:31', 'unixtime': 1725517919, 'uptime': 25790, 'ram_size': 268744, 'ram_free': 123560, 'fs_size': 393216, 'fs_free': 110592, 'cfg_rev': 25, 'kvs_rev': 0, 'schedule_rev': 0, 'webhook_rev': 0, 'available_updates': {}, 'reset_reason': 3}, 'wifi': {'sta_ip': '172.17.10.100', 'status': 'got ip', 'ssid': 'SNOOPYII-2.4', 'rssi': -42}, 'ws': {'connected': False}}}
2024-09-04 23:31:59.973 DEBUG (MainThread) [aioshelly.rpc_device.wsrpc] Shelly.GetStatus(None) -> {'id': 2, 'src': 'shellyplus1-b8d61a8c3660', 'dst': 'aios-281472181399200', 'result': {'ble': {}, 'cloud': {'connected': True}, 'input:0': {'id': 0, 'state': False}, 'mqtt': {'connected': False}, 'switch:0': {'id': 0, 'source': 'WS_in', 'output': True, 'temperature': {'tC': 55.0, 'tF': 130.9}}, 'sys': {'mac': 'B8D61A8C3660', 'restart_required': False, 'time': '23:31', 'unixtime': 1725517919, 'uptime': 25790, 'ram_size': 268744, 'ram_free': 123560, 'fs_size': 393216, 'fs_free': 110592, 'cfg_rev': 25, 'kvs_rev': 0, 'schedule_rev': 0, 'webhook_rev': 0, 'available_updates': {}, 'reset_reason': 3}, 'wifi': {'sta_ip': '172.17.10.100', 'status': 'got ip', 'ssid': 'SNOOPYII-2.4', 'rssi': -42}, 'ws': {'connected': False}}}
2024-09-04 23:31:59.975 DEBUG (MainThread) [aioshelly.rpc_device.wsrpc] send(172.17.10.100:80): {'id': 3, 'method': 'Script.List', 'src': 'aios-281472181399200', 'dst': 'shellyplus1-b8d61a8c3660'}
2024-09-04 23:31:59.993 DEBUG (MainThread) [aioshelly.rpc_device.wsrpc] recv(172.17.10.100:80): {'id': 3, 'src': 'shellyplus1-b8d61a8c3660', 'dst': 'aios-281472181399200', 'result': {'scripts': []}}
2024-09-04 23:31:59.993 DEBUG (MainThread) [aioshelly.rpc_device.wsrpc] Script.List(None) -> {'id': 3, 'src': 'shellyplus1-b8d61a8c3660', 'dst': 'aios-281472181399200', 'result': {'scripts': []}}
2024-09-04 23:32:01.857 WARNING (MainThread) [hass_nabucasa.cloud_api] Fetched https://alexa-api.nabucasa.com/access_token (400) 
2024-09-04 23:32:05.404 DEBUG (MainThread) [homeassistant.components.shelly] async_reconnect_soon: host: 172.17.10.100, mac: B8D61A8C3660
2024-09-04 23:32:05.404 DEBUG (MainThread) [homeassistant.components.shelly] Finished fetching STARLINK data in 0.000 seconds (success: True)

I can turn the Shelly Device OFF with NO issue and HA does not reboot. But when I turn it ON, HA rebootsā€¦

BTW: It actually turns ON the device then reboots. Once HA finishes restarting, the state of the device is ON. I can then turn it OFF and it works find and HA does not reboot. But as soon as I tell it to turn ON, HA reboots after changing the state to ON. So soon afterwards that it does not even update the state of the device until it finishes restarting.

Nothing special here. Is this the entire log?

Itā€™s the Home Assistant Core log

Interestingā€¦ If I use the Shelly Plus 1 web interface and turn it ON, this also causes HA to reboot.???

Can you provide instructions on how to completely clean / remove / delete the Shelly integration from Home Assistant.

Then I could try to do a fresh install and when the integration sees the Shelly Plus 1 unit, try adding it again.

I noted that the Shelly Plus 1 has MQTT settings available. I wonder if there is a way I can add this unit to Zigbee2MQTT and see if it behaves the same there?

You canā€™t remove Shelly integration from Home Assistant because itā€™s an integral part of it. You can remove the device configuration from HA.

Z2M is as the name suggests for Zigbee devices, Shelly is a WiFi device. If you want to configure the device via MQTT you can use this GitHub - bieniu/ha-shellies-discovery-gen2: Script that adds MQTT discovery support for Shellies Gen2 devices

In my opinion the problem is not the integration or the device itself but your HA installation. I would suggest restarting HA in safe mode and checking if the problem still occurs.

OK, will do when I get home from work today.

So let me confirm that If I ā€œDelete/Removeā€ a device from the Shelly integration that ALL knowledge of that device has been removed from all configuration files associated with Shelly? Basically as if it was never added.

Thanks for you help on thisā€¦

Yes and no. Yes, the device will be unconfigured. No, HA will remember some information about device but this is not important in this case.

You have to remember that in most cases re-adding the device to HA will change anything. The same integration and the same configuration give you the same behavior as a result.

Understood, I thinkā€¦
At one point I thought you stated,

Two of your Shelly devices have exchanged IP addresses. You need to remove their configuration from HA and configure it again. It is recommended to use IP addresses reserved by DHCP.

I wanted to try and make sure that all of that was wiped as I only have one active Shelly device at this time. The other is out of service for now and thus I deleted it so it would not always show up as missingā€¦

If you remove a device from HA, you donā€™t need to do anything else.

How is your HA powered and what is that Shelly switching? Could it be that Shelly switching on causes some kind of power surge that then causes HA to loose power and reboot? Would you be able to either move HA power source to another phase to test? Or disconnect Shelly switch terminals?

1 Like

WOWā€¦ You were reading my mindā€¦

I monitored the main 12V supply during switching on and off and did not note any change in voltage.

What I need to try is to monitor current as well. However, the first test will be to simply disconnect the load from the switch and try again.

I have the Shelly Plus 1 connected to a Relay that then turns on a 12V to 56V converter for my Starlink antenna with a PoE injector. The antenna is NOT connected, so there should be little to no current draw from the converter as thereā€™s no load on the output.

Iā€™ll post results later today.
Thanks for the suggestionsā€¦

Well, wellā€¦ It seems that the Starlink Gen 3 PoE setup draws more power / current then the Gen 2 I was using.

Also, there was no drop in current until the antenna was connected!

Voltage dropped from about 12.5 to 8.8 volts and the current was up around 12A at the RV batteries BMS.

Iā€™m guessing that the Gen 2, even with the motors to position the antenna, was drawing less and not causing as large a voltage drop so the Home Assistant Blue I was using stayed powered on.

For now I installed the Starlink Gen 3 Router in Passthrough mode and its working great.

Iā€™ll have to rethink the install and place the PoE setup closer to the batteries, use larger guage wire, and give it a dedicated fused connection.

Problem IDā€™ed and resolved for now.

Thanks!