FlyingDiver wrote:I'm not sure how that could be related to the error above.
Yes you are correct (should not write replies half asleep!).
This morning I transferred my Indigo license to my MacBook M1 and installed the plug-in and got exactly the same error.
I then turned on debug and could setup and control a Tasmota switch (Sonos Woofer), then reloaded the plugin and the error returned, changed the debug mode and could once again control the device until a plugin reload.
At the end of the logs I changed the Sonos Woofer to Tasmota Display lights and they also came on and off until a reload when it failed again.
I'm Baffled
Logs are below
- Code: Select all
Stopped plugin "Home Assistant Agent 2023.4.1"
Starting plugin "Home Assistant Agent 2023.4.1" (pid 5913)
Processing requirements for plugin "Home Assistant Agent 2023.4.1"
Requirements for "Home Assistant Agent 2023.4.1" previously processed, continuing startup
Started plugin "Home Assistant Agent 2023.4.1"
Home Assistant Agent Debug startup called
Home Assistant Agent Error Error in plugin execution startup:
File "plugin.py", line 151, in startup
File "/Library/Application Support/Perceptive Automation/Indigo 2023.2/Plugins/HomeAssistantAgent.indigoPlugin/Contents/Packages/zeroconf/_core.py", line 181, in __init__
File "/Library/Application Support/Perceptive Automation/Indigo 2023.2/Plugins/HomeAssistantAgent.indigoPlugin/Contents/Packages/zeroconf/_utils/net.py", line 374, in create_sockets
File "/Library/Application Support/Perceptive Automation/Indigo 2023.2/Plugins/HomeAssistantAgent.indigoPlugin/Contents/Packages/zeroconf/_utils/net.py", line 331, in new_respond_socket
File "/Library/Application Support/Perceptive Automation/Indigo 2023.2/Plugins/HomeAssistantAgent.indigoPlugin/Contents/Packages/zeroconf/_utils/net.py", line 248, in new_socket
type: [Errno 48] Address already in use
Home Assistant Agent Sonos woofer Tasmota Switch: Starting Agent device for entity 'switch.sonos_woofer'
Home Assistant Agent Debug Sonos woofer Tasmota Switch: switch.sonos_woofer not in ha_entity_map[switch][sonos_woofer]
Home Assistant Agent Debug Sonos woofer Tasmota Switch: sending TurnOn (0) to switch.sonos_woofer
Home Assistant Agent Error Websocket not connected, cannot send: {'type': 'call_service', 'target': {'entity_id': 'switch.sonos_woofer'}, 'domain': 'switch', 'service': 'turn_on'}
Home Assistant Agent Debug Sonos woofer Tasmota Switch: sending TurnOn (0) to switch.sonos_woofer
Home Assistant Agent Error Websocket not connected, cannot send: {'type': 'call_service', 'target': {'entity_id': 'switch.sonos_woofer'}, 'domain': 'switch', 'service': 'turn_on'}
3 Feb 2024 at 11:20:57
Home Assistant Agent Debug found_server_list: filter = , typeId = 0, targetId = 0, valuesDict = UiValuesDict : (dict)
address : 192.168.100.140 (string)
found_list : (string)
haToken : eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiIyOWEyMDRmZTJlMTM0YmE4YTRkNmUxZjk5M2M1MGRjZiIsImlhdCI6MTcwNjk1ODczOCwiZXhwIjoyMDIyMzE4NzM4fQ.g_BXbB76Xjvx_gxFaaEIRFMMXrD2G3WVHkdiyMl7K5w (string)
logLevel : 5 (string)
port : 8123 (string)
temp_scale : C (string)
Home Assistant Agent Debug found_station_list: retList = []
Home Assistant Agent Debug closedPrefsConfigUi: valuesDict = UiValuesDict : (dict)
address : 192.168.100.140 (string)
found_list : (string)
haToken : eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiIyOWEyMDRmZTJlMTM0YmE4YTRkNmUxZjk5M2M1MGRjZiIsImlhdCI6MTcwNjk1ODczOCwiZXhwIjoyMDIyMzE4NzM4fQ.g_BXbB76Xjvx_gxFaaEIRFMMXrD2G3WVHkdiyMl7K5w (string)
logLevel : 20 (string)
port : 8123 (string)
temp_scale : C (string)
Tasmota Bridge received "T Sonos Woofer" outlet state update: "on"
Tasmota Bridge received "T Sonos Woofer" outlet state update: "off"
Tasmota Bridge received "T Sonos Woofer" outlet state update: "on"
Tasmota Bridge received "T Sonos Woofer" outlet state update: "off"
3 Feb 2024 at 11:21:45
Reloading plugin "Home Assistant Agent 2023.4.1" using API v3.4
Stopping plugin "Home Assistant Agent 2023.4.1" (pid 5913)
Home Assistant Agent Sonos woofer Tasmota Switch: Stopping Agent device for entity 'switch.sonos_woofer'
Stopped plugin "Home Assistant Agent 2023.4.1"
Starting plugin "Home Assistant Agent 2023.4.1" (pid 5979)
Processing requirements for plugin "Home Assistant Agent 2023.4.1"
Requirements for "Home Assistant Agent 2023.4.1" previously processed, continuing startup
Started plugin "Home Assistant Agent 2023.4.1"
Home Assistant Agent Error Error in plugin execution startup:
File "plugin.py", line 151, in startup
File "/Library/Application Support/Perceptive Automation/Indigo 2023.2/Plugins/HomeAssistantAgent.indigoPlugin/Contents/Packages/zeroconf/_core.py", line 181, in __init__
File "/Library/Application Support/Perceptive Automation/Indigo 2023.2/Plugins/HomeAssistantAgent.indigoPlugin/Contents/Packages/zeroconf/_utils/net.py", line 374, in create_sockets
File "/Library/Application Support/Perceptive Automation/Indigo 2023.2/Plugins/HomeAssistantAgent.indigoPlugin/Contents/Packages/zeroconf/_utils/net.py", line 331, in new_respond_socket
File "/Library/Application Support/Perceptive Automation/Indigo 2023.2/Plugins/HomeAssistantAgent.indigoPlugin/Contents/Packages/zeroconf/_utils/net.py", line 248, in new_socket
type: [Errno 48] Address already in use
Home Assistant Agent Sonos woofer Tasmota Switch: Starting Agent device for entity 'switch.sonos_woofer'
Home Assistant Agent Error Websocket not connected, cannot send: {'type': 'call_service', 'target': {'entity_id': 'switch.sonos_woofer'}, 'domain': 'switch', 'service': 'turn_off'}
Home Assistant Agent Error Websocket not connected, cannot send: {'type': 'call_service', 'target': {'entity_id': 'switch.sonos_woofer'}, 'domain': 'switch', 'service': 'turn_on'}
Home Assistant Agent Error Websocket not connected, cannot send: {'type': 'call_service', 'target': {'entity_id': 'switch.sonos_woofer'}, 'domain': 'switch', 'service': 'turn_off'}
3 Feb 2024 at 11:23:31
Home Assistant Agent Debug logLevel = 10
Home Assistant Agent Debug start_websocket called with delay=0, using 192.168.100.140:8123
Home Assistant Agent Debug Attempting connection to 'ws://192.168.100.140:8123/api/websocket'
Home Assistant Agent Debug Websocket connection successful
Home Assistant Agent Debug Websocket got auth_required for ha_version 2024.1.6, sending auth_token
Home Assistant Agent Debug Websocket got auth_ok for ha_version 2024.1.6
Home Assistant Agent Debug Websocket reply Success for subscribe_events
Home Assistant Agent Debug Websocket reply Success for get_states
Home Assistant Agent Debug Updating device Sonos woofer Tasmota Switch with {'entity_id': 'switch.sonos_woofer', 'state': 'off', 'attributes': {'friendly_name': 'Sonos Woofer'}, 'last_changed': '2024-02-03T11:21:18.332449+00:00', 'last_updated': '2024-02-03T11:21:18.332449+00:00', 'context': {'id': '01HNQB743PPRQYNQ1TQYX2GYNB', 'parent_id': None, 'user_id': '7c6425205091474b97b48ee61c02e444'}}
Home Assistant Agent Debug Sonos woofer Tasmota Switch: sending TurnOn (0) to switch.sonos_woofer
Home Assistant Agent Debug call_service event: switch turn_on ['switch.sonos_woofer']
Home Assistant Agent Debug call_service event: switch turn_on ['switch.sonos_woofer']
Home Assistant Agent Debug Websocket reply Success for call_service
Home Assistant Agent Debug call_service event: switch turn_on ['switch.sonos_woofer']
Home Assistant Agent Debug call_service event: switch turn_on ['switch.sonos_woofer']
Home Assistant Agent Debug call_service event: switch turn_on ['switch.sonos_woofer']
Tasmota Bridge received "T Sonos Woofer" outlet state update: "on"
Home Assistant Agent Debug Updating device Sonos woofer Tasmota Switch with {'entity_id': 'switch.sonos_woofer', 'state': 'on', 'attributes': {'friendly_name': 'Sonos Woofer'}, 'last_changed': '2024-02-03T11:23:36.830915+00:00', 'last_updated': '2024-02-03T11:23:36.830915+00:00', 'context': {'id': '01HNQBBBBE05RJSNVN25B34EJW', 'parent_id': None, 'user_id': '7c6425205091474b97b48ee61c02e444'}}
Home Assistant Agent Debug Sonos woofer Tasmota Switch: sending TurnOff (0) to switch.sonos_woofer
Home Assistant Agent Debug call_service event: switch turn_off ['switch.sonos_woofer']
Home Assistant Agent Debug call_service event: switch turn_off ['switch.sonos_woofer']
Home Assistant Agent Debug call_service event: switch turn_off ['switch.sonos_woofer']
Home Assistant Agent Debug call_service event: switch turn_off ['switch.sonos_woofer']
Home Assistant Agent Debug call_service event: switch turn_off ['switch.sonos_woofer']
Home Assistant Agent Debug Websocket reply Success for call_service
Tasmota Bridge received "T Sonos Woofer" outlet state update: "off"
Home Assistant Agent Debug Updating device Sonos woofer Tasmota Switch with {'entity_id': 'switch.sonos_woofer', 'state': 'off', 'attributes': {'friendly_name': 'Sonos Woofer'}, 'last_changed': '2024-02-03T11:23:39.576554+00:00', 'last_updated': '2024-02-03T11:23:39.576554+00:00', 'context': {'id': '01HNQBBE1WTSFYM7074FNEV5E2', 'parent_id': None, 'user_id': '7c6425205091474b97b48ee61c02e444'}}
Home Assistant Agent Debug found_server_list: filter = , typeId = 0, targetId = 0, valuesDict = UiValuesDict : (dict)
address : 192.168.100.140 (string)
found_list : (string)
haToken : eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiIyOWEyMDRmZTJlMTM0YmE4YTRkNmUxZjk5M2M1MGRjZiIsImlhdCI6MTcwNjk1ODczOCwiZXhwIjoyMDIyMzE4NzM4fQ.g_BXbB76Xjvx_gxFaaEIRFMMXrD2G3WVHkdiyMl7K5w (string)
logLevel : 10 (string)
port : 8123 (string)
temp_scale : C (string)
Home Assistant Agent Debug found_station_list: retList = []
Tasmota Bridge received "T Sonos Woofer" outlet state update: "on"
Tasmota Bridge received "T Sonos Woofer" outlet state update: "off"
3 Feb 2024 at 11:25:27
Home Assistant Agent Sonos woofer Tasmota Switch: Stopping Agent device for entity 'switch.sonos_woofer'
Home Assistant Agent Sonos woofer Tasmota Switch: Starting Agent device for entity 'switch.living_room_display_lights'
3 Feb 2024 at 11:26:03
Tasmota Bridge received "T Living Room Display Lights" outlet state update: "on"
Tasmota Bridge received "T Living Room Display Lights" outlet state update: "off"
3 Feb 2024 at 11:26:21
Tasmota Bridge received "T Living Room Display Lights" outlet state update: "on"
Tasmota Bridge received "T Living Room Display Lights" outlet state update: "off"