I need some help figuring out what is going on with my instance of HA. Last two days every single light entity I have turns on at random times. The log book doesn’t show what is turning them on- only “triggered by service light.turn_on”.
I’ve gone thru the HA logs at the exact time code that corresponds with the light.turn_on event.
Strangely, I’ve noticed in logbook that just prior to the light.turn_on events, there is an entry that detects a device as “home”
Yesterday the “home” device was the bluetooth on my laptop. I thought I had a temporary fix by shutting down the BT on my computer. Today we are all over the board, with it detecting my wallpanels, a random mac address from my network, and most recently logbook shows esp_home_web – are all detected “home” just prior to all my lights turning on.
I’ve tried to solve by slowly disabling automatons. Then I moved on disabling the integrations that were throwing errors just prior to light.turn_on timestamp.
I’m not sure how to continue trouble shooting this, and I’d appreciate any help.
It wont be long before my partner accidentally cuts raspi’s cord.
I’ll start with today first event, @ 15:48:29. Screen shot of when light.turn_on begins. Action taken, disable Robovac and Tuya integrations.
2023-03-30 15:47:55.712 INFO (MainThread) [homeassistant.components.automation.bedroom_motion_lights] Chad/Nick Bedroom Lights Motion Activated: Running automation actions
2023-03-30 15:47:55.714 INFO (MainThread) [homeassistant.components.automation.bedroom_motion_lights] Chad/Nick Bedroom Lights Motion Activated: If at step 1: Running automation actions
2023-03-30 15:47:55.714 INFO (MainThread) [homeassistant.components.automation.bedroom_motion_lights] Chad/Nick Bedroom Lights Motion Activated: If at step 1: Stop script sequence:
2023-03-30 15:48:00.421 INFO (MainThread) [homeassistant.components.automation.lights_out_when_unoccupied] Auto-off/Lights Out Monitoring: Running automation actions
2023-03-30 15:48:00.449 INFO (MainThread) [homeassistant.components.automation.lights_out_when_unoccupied] Auto-off/Lights Out Monitoring: Skipped disabled step Basement auto-off
2023-03-30 15:48:00.454 INFO (MainThread) [homeassistant.components.automation.lights_out_when_unoccupied] Auto-off/Lights Out Monitoring: Skipped disabled step Failsafe - Shutdown bathroom heater if > 1hrs
2023-03-30 15:48:06.622 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connecting to eb0330445bb7f90678ywx2 (192.168.10.26:6668)
2023-03-30 15:48:08.632 ERROR (MainThread) [homeassistant.helpers.entity] Update for vacuum.helga fails
Traceback (most recent call last):
File "/config/custom_components/robovac/tuyalocalapi.py", line 679, in async_connect
sock.connect((self.host, self.port))
TimeoutError: timed out
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 541, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 739, in async_device_update
raise exc
File "/config/custom_components/robovac/vacuum.py", line 319, in async_update
await self.vacuum.async_get()
File "/config/custom_components/robovac/tuyalocalapi.py", line 699, in async_get
return await message.async_send(self, callback)
File "/config/custom_components/robovac/tuyalocalapi.py", line 529, in async_send
await device._async_send(self)
File "/config/custom_components/robovac/tuyalocalapi.py", line 763, in _async_send
await self.async_connect()
File "/config/custom_components/robovac/tuyalocalapi.py", line 681, in async_connect
raise ConnectionTimeoutException("Connection timed out") from e
custom_components.robovac.tuyalocalapi.ConnectionTimeoutException: Connection timed out
2023-03-30 15:48:11.378 INFO (MainThread) [custom_components.blueiris.api.blue_iris_api] Updating data from BI Server (BIris)
2023-03-30 15:48:26.622 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connecting to eb0330445bb7f90678ywx2 (192.168.10.26:6668)
2023-03-30 15:48:28.629 ERROR (MainThread) [homeassistant.helpers.entity] Update for vacuum.helga fails
Traceback (most recent call last):
File "/config/custom_components/robovac/tuyalocalapi.py", line 679, in async_connect
sock.connect((self.host, self.port))
TimeoutError: timed out
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 541, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 739, in async_device_update
raise exc
File "/config/custom_components/robovac/vacuum.py", line 319, in async_update
await self.vacuum.async_get()
File "/config/custom_components/robovac/tuyalocalapi.py", line 699, in async_get
return await message.async_send(self, callback)
File "/config/custom_components/robovac/tuyalocalapi.py", line 529, in async_send
await device._async_send(self)
File "/config/custom_components/robovac/tuyalocalapi.py", line 763, in _async_send
await self.async_connect()
File "/config/custom_components/robovac/tuyalocalapi.py", line 681, in async_connect
raise ConnectionTimeoutException("Connection timed out") from e
custom_components.robovac.tuyalocalapi.ConnectionTimeoutException: Connection timed out
2023-03-30 15:48:29.247 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities light.9138c34a_04c594e7_screen or it is/they are currently not available
2023-03-30 15:48:29.251 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities light.0207de19_f5a7f0c6_screen or it is/they are currently not available
2023-03-30 15:48:29.253 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities light.86efe804_04990b57ld_screen or it is/they are currently not available
2023-03-30 15:48:29.256 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities light.99d35b70_04d3e880_screen or it is/they are currently not available
2023-03-30 15:48:29.258 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities light.5718aa14_a7432875bblu_screen or it is/they are currently not available
2023-03-30 15:48:29.261 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities light.c8525b48_3c963efc_screen or it is/they are currently not available
2023-03-30 15:48:29.264 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities light.1410acd1_b513cnabcc_screen or it is/they are currently not available
2023-03-30 15:48:29.266 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities light.079dd1e0_e83c06bf_screen or it is/they are currently not available
2023-03-30 15:48:29.932 WARNING (SyncWorker_14) [urllib3.connectionpool] Connection pool is full, discarding connection: openapi.tuyaus.com. Connection pool size: 10
2023-03-30 15:48:29.934 WARNING (SyncWorker_4) [urllib3.connectionpool] Connection pool is full, discarding connection: openapi.tuyaus.com. Connection pool size: 10
2023-03-30 15:48:29.936 WARNING (SyncWorker_5) [urllib3.connectionpool] Connection pool is full, discarding connection: openapi.tuyaus.com. Connection pool size: 10
2023-03-30 15:48:39.361 INFO (MainThread) [homeassistant.components.automation.new_automation] Chad/Nick Bedroom Ceiling Fan off in AM: Running automation actions
2023-03-30 15:48:39.363 INFO (MainThread) [homeassistant.components.automation.sleep_mode_activated_deactivated] Sleep Mode activated/deactivated: Running automation actions
2023-03-30 15:48:39.369 INFO (MainThread) [homeassistant.components.automation.new_automation] Chad/Nick Bedroom Ceiling Fan off in AM: If at step 1: Running automation actions
2023-03-30 15:48:39.369 INFO (MainThread) [homeassistant.components.automation.new_automation] Chad/Nick Bedroom Ceiling Fan off in AM: If at step 1: Executing step call service
2023-03-30 15:48:39.370 INFO (MainThread) [homeassistant.components.automation.sleep_mode_activated_deactivated] Sleep Mode activated/deactivated: Choose at step 1: choice 3: Running automation actions
2023-03-30 15:48:39.370 INFO (MainThread) [homeassistant.components.automation.sleep_mode_activated_deactivated] Sleep Mode activated/deactivated: Choose at step 1: choice 3: Executing step call service
2023-03-30 15:48:39.391 INFO (MainThread) [homeassistant.components.script.cn_bedroom_fans_off_2] CN Bedroom Fans - OFF: Running script sequence
2023-03-30 15:48:39.391 INFO (MainThread) [homeassistant.components.script.cn_bedroom_fans_off_2] CN Bedroom Fans - OFF: Executing step call service
2023-03-30 15:48:39.393 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities switch.window_box_fan_cn_bedroom or it is/they are currently not available
2023-03-30 15:48:39.395 INFO (SyncWorker_16) [pychromecast.controllers] Receiver:setting volume to 0.7
2023-03-30 15:48:39.400 INFO (MainThread) [homeassistant.components.script.cn_bedroom_fans_off_2] CN Bedroom Fans - OFF: Executing step call service
2023-03-30 15:48:41.127 INFO (MainThread) [homeassistant.components.automation.sleep_mode_activated_deactivated] Sleep Mode activated/deactivated: Running automation actions
2023-03-30 15:48:41.129 INFO (MainThread) [homeassistant.components.automation.sleep_mode_activated_deactivated] Sleep Mode activated/deactivated: Choose at step 1: choice 1: Running automation actions
2023-03-30 15:48:41.130 INFO (MainThread) [homeassistant.components.automation.sleep_mode_activated_deactivated] Sleep Mode activated/deactivated: Choose at step 1: choice 1: Executing step call service
2023-03-30 15:48:41.137 INFO (SyncWorker_8) [pychromecast.controllers] Receiver:setting volume to 0.4
2023-03-30 15:48:41.142 INFO (MainThread) [homeassistant.components.automation.sleep_mode_activated_deactivated] Sleep Mode activated/deactivated: Choose at step 1: choice 1: Executing step call service
2023-03-30 15:48:41.358 INFO (MainThread) [homeassistant.components.automation.sleep_mode_activated_deactivated] Sleep Mode activated/deactivated: Choose at step 1: choice 1: Executing step call service
2023-03-30 15:48:41.371 INFO (SyncWorker_0) [pychromecast.controllers] Receiver:Launching app CC1AD845
2023-03-30 15:48:41.381 INFO (MainThread) [custom_components.blueiris.api.blue_iris_api] Updating data from BI Server (BIris)
2023-03-30 15:48:46.623 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connecting to eb0330445bb7f90678ywx2 (192.168.10.26:6668)
2023-03-30 15:48:48.636 ERROR (MainThread) [homeassistant.helpers.entity] Update for vacuum.helga fails
Traceback (most recent call last):
File "/config/custom_components/robovac/tuyalocalapi.py", line 679, in async_connect
sock.connect((self.host, self.port))
TimeoutError: timed out
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 541, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 739, in async_device_update
raise exc
File "/config/custom_components/robovac/vacuum.py", line 319, in async_update
await self.vacuum.async_get()
File "/config/custom_components/robovac/tuyalocalapi.py", line 699, in async_get
return await message.async_send(self, callback)
File "/config/custom_components/robovac/tuyalocalapi.py", line 529, in async_send
await device._async_send(self)
File "/config/custom_components/robovac/tuyalocalapi.py", line 763, in _async_send
await self.async_connect()
File "/config/custom_components/robovac/tuyalocalapi.py", line 681, in async_connect
raise ConnectionTimeoutException("Connection timed out") from e
custom_components.robovac.tuyalocalapi.ConnectionTimeoutException: Connection timed out
2023-03-30 15:49:06.624 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connecting to eb0330445bb7f90678ywx2 (192.168.10.26:6668)
2023-03-30 15:49:08.636 ERROR (MainThread) [homeassistant.helpers.entity] Update for vacuum.helga fails
Traceback (most recent call last):
File "/config/custom_components/robovac/tuyalocalapi.py", line 679, in async_connect
sock.connect((self.host, self.port))
TimeoutError: timed out
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 541, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 739, in async_device_update
raise exc
File "/config/custom_components/robovac/vacuum.py", line 319, in async_update
await self.vacuum.async_get()
File "/config/custom_components/robovac/tuyalocalapi.py", line 699, in async_get
return await message.async_send(self, callback)
File "/config/custom_components/robovac/tuyalocalapi.py", line 529, in async_send
await device._async_send(self)
File "/config/custom_components/robovac/tuyalocalapi.py", line 763, in _async_send
await self.async_connect()
File "/config/custom_components/robovac/tuyalocalapi.py", line 681, in async_connect
raise ConnectionTimeoutException("Connection timed out") from e
custom_components.robovac.tuyalocalapi.ConnectionTimeoutException: Connection timed out
2023-03-30 15:49:11.382 INFO (MainThread) [custom_components.blueiris.api.blue_iris_api] Updating data from BI Server (BIris)
2023-03-30 15:49:26.625 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connecting to eb0330445bb7f90678ywx2 (192.168.10.26:6668)
2023-03-30 15:49:28.649 ERROR (MainThread) [homeassistant.helpers.entity] Update for vacuum.helga fails
Traceback (most recent call last):
File "/config/custom_components/robovac/tuyalocalapi.py", line 679, in async_connect
sock.connect((self.host, self.port))
TimeoutError: timed out
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 541, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 739, in async_device_update
raise exc
File "/config/custom_components/robovac/vacuum.py", line 319, in async_update
await self.vacuum.async_get()
File "/config/custom_components/robovac/tuyalocalapi.py", line 699, in async_get
return await message.async_send(self, callback)
File "/config/custom_components/robovac/tuyalocalapi.py", line 529, in async_send
await device._async_send(self)
File "/config/custom_components/robovac/tuyalocalapi.py", line 763, in _async_send
await self.async_connect()
File "/config/custom_components/robovac/tuyalocalapi.py", line 681, in async_connect
raise ConnectionTimeoutException("Connection timed out") from e
custom_components.robovac.tuyalocalapi.ConnectionTimeoutException: Connection timed out
2023-03-30 15:49:41.383 INFO (MainThread) [custom_components.blueiris.api.blue_iris_api] Updating data from BI Server (BIris)
2023-03-30 15:49:46.627 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connecting to eb0330445bb7f90678ywx2 (192.168.10.26:6668)
2023-03-30 15:49:48.638 ERROR (MainThread) [homeassistant.helpers.entity] Update for vacuum.helga fails
Traceback (most recent call last):
File "/config/custom_components/robovac/tuyalocalapi.py", line 679, in async_connect
sock.connect((self.host, self.port))
TimeoutError: timed out
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 541, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 739, in async_device_update
raise exc
File "/config/custom_components/robovac/vacuum.py", line 319, in async_update
await self.vacuum.async_get()
File "/config/custom_components/robovac/tuyalocalapi.py", line 699, in async_get
return await message.async_send(self, callback)
File "/config/custom_components/robovac/tuyalocalapi.py", line 529, in async_send
await device._async_send(self)
File "/config/custom_components/robovac/tuyalocalapi.py", line 763, in _async_send
await self.async_connect()
File "/config/custom_components/robovac/tuyalocalapi.py", line 681, in async_connect
raise ConnectionTimeoutException("Connection timed out") from e
custom_components.robovac.tuyalocalapi.ConnectionTimeoutException: Connection timed out