Leider ist das Ganze immer noch nicht zufriedenstellend. Es kommt immer wieder vor, dass die Fenstersensoren alle nicht mehr erkannt werden.
Ein Reboot der Plus2PM hilft dann manchmal.
Im Log von Home Assistant finde ich unter anderem diesen Eintrag, falls jemand was damit anfangen kann? Der entsteht beim Öffnen eines Sensors, nicht beim Schließen.
2023-11-16 10:27:40.907 ERROR (MainThread) [homeassistant.components.automation.arbeitszimmer_balkontur_offen] Arbeitszimmer - Balkon/Fenster geöffnet: Error executing script. Unexpected error for device at pos 1:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 468, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 720, in _async_device_step
await device_action.async_call_action_from_config(
File "/usr/src/homeassistant/homeassistant/components/device_automation/action.py", line 71, in async_call_action_from_config
await platform.async_call_action_from_config(hass, config, variables, context)
File "/usr/src/homeassistant/homeassistant/components/climate/device_action.py", line 97, in async_call_action_from_config
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 2012, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2049, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 235, in handle_service
return await service.entity_service_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 876, in entity_service_call
response_data = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 948, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/shelly/climate.py", line 300, in async_set_hvac_mode
await self.set_state_full_path(
File "/usr/src/homeassistant/homeassistant/components/shelly/climate.py", line 277, in set_state_full_path
return await self.coordinator.device.http_request(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aioshelly/block_device/device.py", line 281, in http_request
if self.options.auth is None and self.requires_auth:
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aioshelly/block_device/device.py", line 355, in requires_auth
if "auth" not in self.shelly:
^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aioshelly/block_device/device.py", line 386, in shelly
raise NotInitialized
aioshelly.exceptions.NotInitialized
2023-11-16 10:27:40.924 ERROR (MainThread) [homeassistant.components.automation.arbeitszimmer_balkontur_offen] While executing automation automation.arbeitszimmer_balkontur_offen
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/automation/__init__.py", line 655, in async_trigger
await self.action_script.async_run(
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1578, in async_run
return await asyncio.shield(run.async_run())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 420, in async_run
await self._async_step(log_exceptions=False)
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 470, in _async_step
self._handle_exception(
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 493, in _handle_exception
raise exception
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 468, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 720, in _async_device_step
await device_action.async_call_action_from_config(
File "/usr/src/homeassistant/homeassistant/components/device_automation/action.py", line 71, in async_call_action_from_config
await platform.async_call_action_from_config(hass, config, variables, context)
File "/usr/src/homeassistant/homeassistant/components/climate/device_action.py", line 97, in async_call_action_from_config
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 2012, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2049, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 235, in handle_service
return await service.entity_service_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 876, in entity_service_call
response_data = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 948, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/shelly/climate.py", line 300, in async_set_hvac_mode
await self.set_state_full_path(
File "/usr/src/homeassistant/homeassistant/components/shelly/climate.py", line 277, in set_state_full_path
return await self.coordinator.device.http_request(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aioshelly/block_device/device.py", line 281, in http_request
if self.options.auth is None and self.requires_auth:
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aioshelly/block_device/device.py", line 355, in requires_auth
if "auth" not in self.shelly:
^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aioshelly/block_device/device.py", line 386, in shelly
raise NotInitialized
aioshelly.exceptions.NotInitialized
Alles anzeigen