2 Nowości
- Najnowsze zigbee2mqtt 1.22.2
- Najnowsze HA z poprawkami
Wyczyść ciasteczka przeglądarki.
miałem komunikat że restartuje 20 min temu i bramka dalej się nie uruchomiła ale jak dałem z konsoli aby się zrestartowała to od razu wstała ale też z ikonką Leona więc kliknąłem ctrl f5 i pojawiła się Maja
Witam. Aktualizacja poszła bez problemu, lecz dalej mam problem z czytaniem dysku z systemem plików EXT4 na DEV2 chodzi i nie ma ma problemów z zapisem historii a zakupiona niedawno DEV3 nie czyta EXT4 i zapis historii to istna loteria. Bardzo proszę o pomoc w tej sprawie bo dla linux format EXT4 obsługuje natywnie więc będzie to problem nakładki androidowej
Największa zmiana to najnowszy HA w wersji 2022.2:
Dodaliśmy też nowy sensor:
sensor.aisknowledgequery
Wartość tego sensora to komenda/pytanie przesłane do wbudowanego asystenta.
@Stravi jak będziesz miał chwilę to wydaj tą wersję na kanale ALFA. Dzięki
Dziękuję za kolejną wersję. Przy okazji - @araczkowski ; proponuję zmienić lub usunąć nowy kalendarz wydań bo jeszcze nigdy nie był aktualny; niepotrzebnie wprowadza w błąd:
Pozdrowienia
I znów muszę zrobić restart z konsoli bo od 40 minut dalej “bramka nie wstała” mimo komunikatu tekstowego/głosowego że się niby restartuje
Po uruchomieniu w logach mam
Logger: aiohttp.server
Source: components/webhook/__init__.py:118
First occurred: 22:29:17 (30 occurrences)
Last logged: 22:34:31
Error handling request
Traceback (most recent call last):
File "/data/data/pl.sviete.dom/files/usr/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request
resp = await request_handler(request)
File "/data/data/pl.sviete.dom/files/usr/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle
resp = await handler(request)
File "/data/data/pl.sviete.dom/files/usr/lib/python3.9/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
File "/data/data/pl.sviete.dom/files/usr/lib/python3.9/site-packages/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
return await handler(request)
File "/data/data/pl.sviete.dom/files/usr/lib/python3.9/site-packages/homeassistant/components/http/forwarded.py", line 98, in forwarded_middleware
return await handler(request)
File "/data/data/pl.sviete.dom/files/usr/lib/python3.9/site-packages/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
return await handler(request)
File "/data/data/pl.sviete.dom/files/usr/lib/python3.9/site-packages/homeassistant/components/http/ban.py", line 79, in ban_middleware
return await handler(request)
File "/data/data/pl.sviete.dom/files/usr/lib/python3.9/site-packages/homeassistant/components/http/auth.py", line 219, in auth_middleware
return await handler(request)
File "/data/data/pl.sviete.dom/files/usr/lib/python3.9/site-packages/homeassistant/components/http/view.py", line 137, in handle
result = await result
File "/data/data/pl.sviete.dom/files/usr/lib/python3.9/site-packages/homeassistant/components/webhook/__init__.py", line 180, in _handle
return await async_handle_webhook(hass, webhook_id, request)
File "/data/data/pl.sviete.dom/files/usr/lib/python3.9/site-packages/homeassistant/components/webhook/__init__.py", line 118, in async_handle_webhook
if webhook["local_only"]:
TypeError: 'NoneType' object is not subscriptable
Logger: homeassistant.helpers.integration_platform
Source: components/config/group.py:7
First occurred: 22:28:19 (1 occurrences)
Last logged: 22:28:19
Unexpected error importing config/group.py
Traceback (most recent call last):
File "/data/data/pl.sviete.dom/files/usr/lib/python3.9/site-packages/homeassistant/helpers/integration_platform.py", line 34, in _process
platform = integration.get_platform(platform_name)
File "/data/data/pl.sviete.dom/files/usr/lib/python3.9/site-packages/homeassistant/loader.py", line 566, in get_platform
cache[full_name] = self._import_platform(platform_name)
File "/data/data/pl.sviete.dom/files/usr/lib/python3.9/site-packages/homeassistant/loader.py", line 583, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
File "/data/data/pl.sviete.dom/files/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 850, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/data/data/pl.sviete.dom/files/usr/lib/python3.9/site-packages/homeassistant/components/config/group.py", line 7, in <module>
from homeassistant.config import GROUP_CONFIG_PATH
ImportError: cannot import name 'GROUP_CONFIG_PATH' from 'homeassistant.config' (/data/data/pl.sviete.dom/files/usr/lib/python3.9/site-packages/homeassistant/config.py)
Logger: homeassistant
Source: components/dhcp/__init__.py:242
First occurred: 3 lutego 2022, 23:33:31 (3 occurrences)
Last logged: 01:33:31
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/data/data/pl.sviete.dom/files/usr/lib/python3.9/site-packages/homeassistant/components/dhcp/__init__.py", line 242, in async_discover
for host in await self._discover_hosts.async_discover():
File "/data/data/pl.sviete.dom/files/usr/lib/python3.9/site-packages/aiodiscover/discovery.py", line 138, in async_discover
await loop.run_in_executor(None, sys_network_data.setup)
File "/data/data/pl.sviete.dom/files/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/data/data/pl.sviete.dom/files/usr/lib/python3.9/site-packages/aiodiscover/network.py", line 142, in setup
resolvers = load_resolv_conf()
File "/data/data/pl.sviete.dom/files/usr/lib/python3.9/site-packages/aiodiscover/network.py", line 39, in load_resolv_conf
with open("/etc/resolv.conf") as file:
FileNotFoundError: [Errno 2] No such file or directory: '/etc/resolv.conf'
@Stravi wydaj proszę na ALFA
@araczkowski
Nie mam tego w confguration.yaml. Domyślam się że gdzieś jest to ładowane automatycznie
chyba znów się coś popsuło w mechanizmie restartowania bramki bo po raz kolejny musiałem z konsoli restartować bramkę
Logger: homeassistant.helpers.integration_platform
Source: components/config/group.py:7
First occurred: 15:17:33 (1 occurrences)
Last logged: 15:17:33
Unexpected error importing config/group.py
Traceback (most recent call last):
File "/data/data/pl.sviete.dom/files/usr/lib/python3.9/site-packages/homeassistant/helpers/integration_platform.py", line 34, in _process
platform = integration.get_platform(platform_name)
File "/data/data/pl.sviete.dom/files/usr/lib/python3.9/site-packages/homeassistant/loader.py", line 566, in get_platform
cache[full_name] = self._import_platform(platform_name)
File "/data/data/pl.sviete.dom/files/usr/lib/python3.9/site-packages/homeassistant/loader.py", line 583, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
File "/data/data/pl.sviete.dom/files/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 850, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/data/data/pl.sviete.dom/files/usr/lib/python3.9/site-packages/homeassistant/components/config/group.py", line 7, in <module>
from homeassistant.config import GROUP_CONFIG_PATH
ImportError: cannot import name 'GROUP_CONFIG_PATH' from 'homeassistant.config' (/data/data/pl.sviete.dom/files/usr/lib/python3.9/site-packages/homeassistant/config.py)
Na pre alfa doszły, 2 weekendowe poprawkowe wydania HA:
@Stravi wydaj proszę na ALFA
oki, sprawdzę o co chodzi…
czyżby ten skrypt z Leona przestał działać
$ curl -L https://raw.githubusercontent.com/sviete/AIS-utils/master/releases/alfa.sh | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 START instalacji wersji AIS ALFA 22.02.01
100 7883 100 7883 0 0 45138 0 --:--:-- --:--:-- --:--:-- 45304
ok~ $
bo z konsoli nie mogę zaktualizować, a jak odpaliłem z gui i w konsoli dałem pm2 log to mam
2|ais | Android OK...
2|ais | Restartuje usługę ais ...
2|ais | % Total % Received % Xfer
2|ais | d Average Speed Time Time Time Current
2|ais | Dload Upload Total Spent Left Speed
0is |
2|ais | 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100
2|ais | 2 100 2 0 0 109 0 --:--:-- --:--:-- --:--:-- 133
2|ais | ok
2|ais | % Total % Received % Xfer
2|ais | d Average Speed Time Time Time Current
2|ais | Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 55 0 0 100 5
2|ais | 5 0 3201 --:--:-- --:--:-- --:--:-- 3666
2|ais | % Total % Received % Xferd Average Speed T
2|ais | ime Time Time Current
2|ais | Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 56 0 0 100 56 0 1249 --:--:-- --:--:-- --:--:-- 1333
2|ais | Use --update-env to update environment variables
2|ais | [PM2] Applying action restartProcessId on app [ais](ids: [ 2 ])
PM2 | Stopping app:ais id:2
2|ais | 2022-02-07 15:50:03 ERROR (SyncWorker_4) [homeassistant.components.ais_updater] Can't install release_script, returncode: -2
PM2 | pid=29097 msg=failed to kill - retrying in 100ms
PM2 | pid=29097 msg=failed to kill - retrying in 100ms
PM2 | pid=29097 msg=failed to kill - retrying in 100ms
PM2 | pid=29097 msg=failed to kill - retrying in 100ms
PM2 | pid=29097 msg=failed to kill - retrying in 100ms
PM2 | pid=29097 msg=failed to kill - retrying in 100ms
PM2 | pid=29097 msg=failed to kill - retrying in 100ms
PM2 | pid=29097 msg=failed to kill - retrying in 100ms
PM2 | pid=29097 msg=failed to kill - retrying in 100ms
PM2 | pid=29097 msg=failed to kill - retrying in 100ms
PM2 | pid=29097 msg=failed to kill - retrying in 100ms
PM2 | pid=29097 msg=failed to kill - retrying in 100ms
PM2 | pid=29097 msg=failed to kill - retrying in 100ms
PM2 | pid=29097 msg=failed to kill - retrying in 100ms
PM2 | pid=29097 msg=failed to kill - retrying in 100ms
PM2 | Process with pid 29097 still alive after 1600ms, sending it SIGKILL now...
PM2 | pid=29097 msg=failed to kill - retrying in 100ms
PM2 | pid=29097 msg=failed to kill - retrying in 100ms
PM2 | pid=29097 msg=failed to kill - retrying in 100ms
PM2 | pid=29097 msg=failed to kill - retrying in 100ms
PM2 | pid=29097 msg=failed to kill - retrying in 100ms
PM2 | pid=29097 msg=failed to kill - retrying in 100ms
PM2 | pid=29097 msg=failed to kill - retrying in 100ms
PM2 | pid=29097 msg=failed to kill - retrying in 100ms
PM2 | pid=29097 msg=failed to kill - retrying in 100ms
PM2 | pid=29097 msg=failed to kill - retrying in 100ms
PM2 | pid=29097 msg=failed to kill - retrying in 100ms
PM2 | pid=29097 msg=failed to kill - retrying in 100ms
PM2 | pid=29097 msg=failed to kill - retrying in 100ms
PM2 | pid=29097 msg=failed to kill - retrying in 100ms
PM2 | pid=29097 msg=failed to kill - retrying in 100ms
PM2 | Process with pid 29097 could not be killed
PM2 | app=ais id=2 pid=29097 could not be stopped
PM2 | Process with pid 29097 already exists
1|mqtt | 1644245411: Client test closed its connection.
PM2 | App [ais:2] exited with code [0] via signal [SIGKILL]
7|tunnel | 2022-02-07T14:50:27Z ERR error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: dial tcp 127.0.0.1:8180: connect: connection refused" cfRay=test-HAM ingressRule=0 originService=http://localhost:8180
7|tunnel | 2022-02-07T14:51:26Z ERR error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: dial tcp 127.0.0.1:8180: connect: connection refused" cfRay=test-HAM ingressRule=0 originService=http://localhost:8180
tam gdzie jest wpisane test to chyba nie powinienem ujawniać dlatego podmieniłem
sytuacja znów się powtarza (każda aktualizacja mai utyka) że bramka nie restartuje się tylko gdzieś zawisa więc wymagane jest wpisanie w konsoli pm2 restart ais
W sumie fajnie że masz powtarzalność z tym problemem - mi zdarzyło się to tylko raz.
Także przy następnej aktualizacji zrób tak:
pm2 logs
trzeba usunąć niepotrzebny plik i będzie OK:
rm /data/data/pl.sviete.dom/files/usr/lib/python3.9/site-packages/homeassistant/components/config/group.py
dodam to do kolejnej instalki
dziiała tak jak jest opisane w dokumntacji:
curl -L https://raw.githubusercontent.com/sviete/AIS-utils/master/releases/alfa.sh -o alfa.sh
chmod +x alfa.sh
./alfa.sh
wydanie na ALFA będzie dostępne po informacji od @Stravi