Unable to connect to HA

Wczoraj po aktualizacji wszystko padło.
Najpierw mnie co chwila wywalało jakby HA się restartował.
Teraz w ogóle nie mogę wejść na stronę ha i to zarówno z zewnątrz jak i po lokalnym IP.
Co mogę jeszcze zrobić?

Screnshot demonstruje sytuację, w której tunel nie został uruchomiony.
Jeśli nie masz innego (nie na bazie cloudlared) tunelu backupowego, to zapominj o dostępie z zewnątrz.

W kwestii diagnostyki lokalnej nie dostarczyłeś żadnych informacji.

Może się restartował - przy nieudanej aktualizacji core wykonywany jest rollback.

Masz dostęp do konsoli lokalnej?
(czyli klawiatura + monitor dla instalacji na maszynie fizycznej lub konsola VM dla maszyny witrualnej)

z 50 słów na temat jak masz to zainstalowane?

jutro będę miał dostęp do konsoli

Udało mi się podnieść HA, ale…
Co jakiś czas się sama restartuje.
Poniżej log:

Rejestrator: homeassistant.util.logging
Źródło: util/logging.py:95
Pierwsze zdarzenie: 12:14:33 (31940 zdarzenia)
Ostatnio zalogowany: 12:50:26

  • Exception in _handle_state_update when dispatching ‘tuya_entry_update_bf5e0cfa24b12b8410gyvo’: ([‘phase_a’],) Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/components/tuya/entity.py”, line 293, in _handle_state_update self.async_write_ha_state() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 1023, in async_write_ha_state self._async_write_ha_state() ~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 1148, in _async_write_ha_state self.__async_calculate_state() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 1085, in __async_calculate_state state = self._stringify_state(available) File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 1029, in _stringify_state if (state := self.state) is None: ^^^^^^^^^^ File “/usr/src/homeassistant/homeassistant/components/sensor/init.py”, line 557, in state value = self.native_value ^^^^^^^^^^^^^^^^^ File “/usr/src/homeassistant/homeassistant/components/tuya/sensor.py”, line 1362, in native_value values = ElectricityTypeData.from_raw(value) File “/usr/src/homeassistant/homeassistant/components/tuya/entity.py”, line 136, in from_raw voltage = struct.unpack(“>H”, raw[0:2])[0] / 10.0 ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ struct.error: unpack requires a buffer of 2 bytes
  • Exception in _handle_state_update when dispatching ‘tuya_entry_update_bf5e0cfa24b12b8410gyvo’: ([‘leakage_current’],) Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/components/tuya/entity.py”, line 293, in _handle_state_update self.async_write_ha_state() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 1023, in async_write_ha_state self._async_write_ha_state() ~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 1148, in _async_write_ha_state self.__async_calculate_state() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 1085, in __async_calculate_state state = self._stringify_state(available) File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 1029, in _stringify_state if (state := self.state) is None: ^^^^^^^^^^ File “/usr/src/homeassistant/homeassistant/components/sensor/init.py”, line 557, in state value = self.native_value ^^^^^^^^^^^^^^^^^ File “/usr/src/homeassistant/homeassistant/components/tuya/sensor.py”, line 1362, in native_value values = ElectricityTypeData.from_raw(value) File “/usr/src/homeassistant/homeassistant/components/tuya/entity.py”, line 136, in from_raw voltage = struct.unpack(“>H”, raw[0:2])[0] / 10.0 ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ struct.error: unpack requires a buffer of 2 bytes
  • Exception in _handle_state_update when dispatching ‘tuya_entry_update_bfe0e3a9834ec4d92dipju’: ([‘phase_a’],) Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/components/tuya/entity.py”, line 293, in _handle_state_update self.async_write_ha_state() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 1023, in async_write_ha_state self._async_write_ha_state() ~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 1148, in _async_write_ha_state self.__async_calculate_state() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 1085, in __async_calculate_state state = self._stringify_state(available) File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 1029, in _stringify_state if (state := self.state) is None: ^^^^^^^^^^ File “/usr/src/homeassistant/homeassistant/components/sensor/init.py”, line 557, in state value = self.native_value ^^^^^^^^^^^^^^^^^ File “/usr/src/homeassistant/homeassistant/components/tuya/sensor.py”, line 1362, in native_value values = ElectricityTypeData.from_raw(value) File “/usr/src/homeassistant/homeassistant/components/tuya/entity.py”, line 136, in from_raw voltage = struct.unpack(“>H”, raw[0:2])[0] / 10.0 ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ struct.error: unpack requires a buffer of 2 bytes
  • Exception in _handle_state_update when dispatching ‘tuya_entry_update_bf3969d8a882884421rfmx’: ([‘phase_a’],) Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/components/tuya/entity.py”, line 293, in _handle_state_update self.async_write_ha_state() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 1023, in async_write_ha_state self._async_write_ha_state() ~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 1148, in _async_write_ha_state self.__async_calculate_state() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 1085, in __async_calculate_state state = self._stringify_state(available) File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 1029, in _stringify_state if (state := self.state) is None: ^^^^^^^^^^ File “/usr/src/homeassistant/homeassistant/components/sensor/init.py”, line 557, in state value = self.native_value ^^^^^^^^^^^^^^^^^ File “/usr/src/homeassistant/homeassistant/components/tuya/sensor.py”, line 1362, in native_value values = ElectricityTypeData.from_raw(value) File “/usr/src/homeassistant/homeassistant/components/tuya/entity.py”, line 136, in from_raw voltage = struct.unpack(“>H”, raw[0:2])[0] / 10.0 ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ struct.error: unpack requires a buffer of 2 bytes
  • Exception in _handle_state_update when dispatching ‘tuya_entry_update_bfa95ba0ce2124f23e6dfd’: ([‘phase_a’],) Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/components/tuya/entity.py”, line 293, in _handle_state_update self.async_write_ha_state() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 1023, in async_write_ha_state self._async_write_ha_state() ~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 1148, in _async_write_ha_state self.__async_calculate_state() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 1085, in __async_calculate_state state = self._stringify_state(available) File “/usr/src/homeassistant/homeassistant/helpers/entity.py”, line 1029, in _stringify_state if (state := self.state) is None: ^^^^^^^^^^ File “/usr/src/homeassistant/homeassistant/components/sensor/init.py”, line 557, in state value = self.native_value ^^^^^^^^^^^^^^^^^ File “/usr/src/homeassistant/homeassistant/components/tuya/sensor.py”, line 1362, in native_value values = ElectricityTypeData.from_raw(value) File “/usr/src/homeassistant/homeassistant/components/tuya/entity.py”, line 136, in from_raw voltage = struct.unpack(“>H”, raw[0:2])[0] / 10.0 ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ struct.error: unpack requires a buffer of 2 bytes

Gdzie jest błąd, bo po nocy spędzonej przy komputerze już nic mi nie przychodzi do głowy. Wiem, że chodzi o integrację TUYA, ale nie wiem o który element.

:thinking:Gniazdko z pomiarem energii od Tuya

Wyłącz w integracji Tuya (do testu) i restart HA

1 polubienie