🌳 Wydania wersji Nikodem

Jeśli po ustawieniach domyślnych bez przywracania backupu masz problem z pm2 to masz cos zdrowo namieszane. W takim razie proponuję ustawienia fabryczne → Przywracanie ustawień fabrycznych urządzenia - faq - AI-Speaker

Wyszla nowa aktualizacja 2022.10.5.
Instalował ktoś? Co ona zawiera?

Zasadniczo to to: 2022.10: All over the place - Home Assistant

Dalej po formacie oraz reinstalacji tych 3 aplikacji mam Aborted przy wpisywaniu pm2 … więc to nie problem z moją konfiguracją bo jeszcze jej nie przywróciłem nawet a nawet po przywróceniu z kopi nie działa tunel oraz pozostałe mimo zmiany z kanału alfa na kanał beta w portalu integratora i ręcznej reinstalacji aktualizacji nie pomaga

~/AIS $ curl -L https://raw.githubusercontent.com/sviete/AIS-utils/master/releases/beta.sh -o ~/AIS/beta.sh 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  7354  100  7354    0     0  11660      0 --:--:-- --:--:-- --:--:-- 11654
~/AIS $ chmod +x ~/AIS/beta.sh
~/AIS $ cd ~/AIS
~/AIS $ ./beta.sh
 START instalacji wersji  AIS BETA  22.08.20 
Hit:1 https://packages-cf.termux.dev/apt/termux-main stable InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
48 packages can be upgraded. Run 'apt list --upgradable' to see them.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   756  100   756    0     0   1234      0 --:--:-- --:--:-- --:--:--  1235
No mirror or mirror group selected. You might want to select one by running 'termux-change-repo'
Checking availability of current mirror:
[*] https://packages-cf.termux.dev/apt/termux-main: ok
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
w3m is already the newest version (0.5.3.20190105-9).
0 upgraded, 0 newly installed, 0 to remove and 48 not upgraded.
No mirror or mirror group selected. You might want to select one by running 'termux-change-repo'
Checking availability of current mirror:
[*] https://packages-cf.termux.dev/apt/termux-main: ok
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be upgraded:
  neofetch
1 upgraded, 0 newly installed, 0 to remove and 47 not upgraded.
Need to get 80.2 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 https://packages-cf.termux.dev/apt/termux-main stable/main arm neofetch all 7.1.0-1 [80.2 kB]
Fetched 80.2 kB in 1s (92.1 kB/s)   
(Reading database ... 29126 files and directories currently installed.)
Preparing to unpack .../neofetch_7.1.0-1_all.deb ...
Unpacking neofetch (7.1.0-1) over (7.1.0) ...
Setting up neofetch (7.1.0-1) ...
No mirror or mirror group selected. You might want to select one by running 'termux-change-repo'
Checking availability of current mirror:
[*] https://packages-cf.termux.dev/apt/termux-main: ok
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be upgraded:
  python-numpy
1 upgraded, 0 newly installed, 0 to remove and 46 not upgraded.
Need to get 4399 kB of archives.
After this operation, 156 kB of additional disk space will be used.
Get:1 https://packages-cf.termux.dev/apt/termux-main stable/main arm python-numpy arm 1.23.4 [4399 kB]
Fetched 4399 kB in 2s (1812 kB/s)       
(Reading database ... 29126 files and directories currently installed.)
Preparing to unpack .../python-numpy_1.23.4_arm.deb ...
Removing numpy...
Unpacking python-numpy (1.23.4) over (1.23.3-2) ...
Setting up python-numpy (1.23.4) ...
Installing numpy...
         ⣴⣿⣿⣆                      u0_a44@localhost 
        ⣿⣿⣿⣿⣿⣿                     ---------------- 
        ⣿⣿⣿⣿⣿⣿                     OS: Android 7.1.2 armv8l 
        ⣿⣿⣿⣿⣿⣿    ⣴⣿⣿⣆             Host: Amlogic AI-Speaker.com 
        ⣿⣿⣿⣿⣿⣿   ⣿⣿⣿⣿⣿⣿            Kernel: 3.14.29 
        ⣿⣿⣿⣿⣿⣿   ⣿⣿⣿⣿⣿⣿    ⣴⣿⣿⣆    Uptime: 8 mins 
        ⣿⣿⣿⣿⣿⣿   ⣿⣿⣿⣿⣿⣿   ⣿⣿⣿⣿⣿⣿   Packages: 177 (dpkg), 1 (pkg) 
        ⣿⣿⣿⣿⣿⣿   ⣿⣿⣿⣿⣿⣿   ⣿⣿⣿⣿⣿⣿   Shell: bash 5.2.0 
                                   Terminal: /dev/pts/2 
        ⣿⣿⣿⣿⣿⣿   ⣿⣿⣿⣿⣿⣿   ⣿⣿⣿⣿⣿⣿   CPU: Amlogic (4) @ 1.200GHz 
        ⣿⣿⣿⣿⣿⣿   ⣿⣿⣿⣿⣿⣿   ⣿⣿⣿⣿⣿⣿   Memory: 575MiB / 959MiB 
        ⣿⣿⣿⣿⣿⣿   ⣿⣿⣿⣿⣿⣿    ⠻⣿⣿⠏
        ⣿⣿⣿⣿⣿⣿   ⣿⣿⣿⣿⣿⣿                                    
        ⣿⣿⣿⣿⣿⣿    ⠻⣿⣿⠏                                     
        ⣿⣿⣿⣿⣿⣿
        ⣿⣿⣿⣿⣿⣿
         ⠻⣿⣿⠏

Unknown command: 'up' (run 'pkg help' for usage information)
 Aktualizacja AIS z wersji  22.08.20  
 VERSION TEST  OK 
 Pobieram AIS ... 
ok##O=-#     #                                                                                                                                                                                     ############################################################################################################################################################################################ 100.0%
 Rozpakowuje AIS ... 
ok
7-Zip [32] 17.04 : Copyright (c) 1999-2021 Igor Pavlov : 2017-08-28
p7zip Version 17.04 (locale=utf8,Utf16=on,HugeFiles=on,32 bits,4 CPUs LE)

Scanning the drive for archives:
1 file, 66002312 bytes (63 MiB)                

Extracting archive: /data/data/com.termux/files/home/AIS/beta_wheelhouse.tar.7z
--
Path = /data/data/com.termux/files/home/AIS/beta_wheelhouse.tar.7z
Type = 7z
Physical Size = 66002312
Headers Size = 1487
Method = LZMA2:24
Solid = +
Blocks = 1

Everything is Ok                                            

Folders: 1
Files: 65
Size:       72875071
Compressed: 66002312
 Instaluje AIS ... 
okLooking in links: wheels
Requirement already satisfied: aiohttp==3.8.1 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from -r wheels/requirements.txt (line 3)) (3.8.1)
Requirement already satisfied: astral==2.2 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from -r wheels/requirements.txt (line 4)) (2.2)
Requirement already satisfied: async_timeout==4.0.2 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from -r wheels/requirements.txt (line 5)) (4.0.2)
Requirement already satisfied: attrs==21.2.0 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from -r wheels/requirements.txt (line 6)) (21.2.0)
Requirement already satisfied: atomicwrites-homeassistant==1.4.1 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from -r wheels/requirements.txt (line 7)) (1.4.1)
Requirement already satisfied: awesomeversion==22.9.0 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from -r wheels/requirements.txt (line 8)) (22.9.0)
Requirement already satisfied: bcrypt==3.1.7 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from -r wheels/requirements.txt (line 9)) (3.1.7)
Requirement already satisfied: certifi>=2021.5.30 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from -r wheels/requirements.txt (line 10)) (2022.9.24)
Requirement already satisfied: ciso8601==2.2.0 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from -r wheels/requirements.txt (line 11)) (2.2.0)
Requirement already satisfied: httpx==0.23.0 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from -r wheels/requirements.txt (line 12)) (0.23.0)
Requirement already satisfied: home-assistant-bluetooth==1.3.0 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from -r wheels/requirements.txt (line 13)) (1.3.0)
Requirement already satisfied: ifaddr==0.1.7 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from -r wheels/requirements.txt (line 14)) (0.1.7)
Requirement already satisfied: jinja2==3.1.2 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from -r wheels/requirements.txt (line 15)) (3.1.2)
Requirement already satisfied: lru-dict==1.1.8 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from -r wheels/requirements.txt (line 16)) (1.1.8)
Requirement already satisfied: PyJWT==2.5.0 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from -r wheels/requirements.txt (line 17)) (2.5.0)
Requirement already satisfied: cryptography==38.0.1 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from -r wheels/requirements.txt (line 18)) (38.0.1)
Requirement already satisfied: orjson==3.7.11 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from -r wheels/requirements.txt (line 19)) (3.7.11)
Requirement already satisfied: pip>=21.0 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from -r wheels/requirements.txt (line 20)) (22.2.2)
Requirement already satisfied: python-slugify==4.0.1 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from -r wheels/requirements.txt (line 21)) (4.0.1)
Requirement already satisfied: pyyaml==6.0 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from -r wheels/requirements.txt (line 22)) (6.0)
Requirement already satisfied: requests==2.28.1 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from -r wheels/requirements.txt (line 23)) (2.28.1)
Requirement already satisfied: typing-extensions<5.0,>=3.10.0.2 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from -r wheels/requirements.txt (line 24)) (4.3.0)
Requirement already satisfied: voluptuous==0.13.1 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from -r wheels/requirements.txt (line 25)) (0.13.1)
Requirement already satisfied: voluptuous-serialize==2.5.0 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from -r wheels/requirements.txt (line 26)) (2.5.0)
Requirement already satisfied: yarl==1.8.1 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from -r wheels/requirements.txt (line 27)) (1.8.1)
Requirement already satisfied: ais-dom-frontend==20221005.0 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from -r wheels/requirements.txt (line 29)) (20221005.0)
Requirement already satisfied: aisapi==0.1.1 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from -r wheels/requirements.txt (line 30)) (0.1.1)
Requirement already satisfied: tzdata in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from -r wheels/requirements.txt (line 31)) (2022.4)
Requirement already satisfied: ais-dom==2022.10.0 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from -r wheels/requirements.txt (line 33)) (2022.10.0)
Requirement already satisfied: frozenlist>=1.1.1 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from aiohttp==3.8.1->-r wheels/requirements.txt (line 3)) (1.3.1)
Requirement already satisfied: charset-normalizer<3.0,>=2.0 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from aiohttp==3.8.1->-r wheels/requirements.txt (line 3)) (2.1.0)
Requirement already satisfied: multidict<7.0,>=4.5 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from aiohttp==3.8.1->-r wheels/requirements.txt (line 3)) (6.0.2)
Requirement already satisfied: aiosignal>=1.1.2 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from aiohttp==3.8.1->-r wheels/requirements.txt (line 3)) (1.2.0)
Requirement already satisfied: pytz in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from astral==2.2->-r wheels/requirements.txt (line 4)) (2022.1)
Requirement already satisfied: six>=1.4.1 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from bcrypt==3.1.7->-r wheels/requirements.txt (line 9)) (1.16.0)
Requirement already satisfied: cffi>=1.1 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from bcrypt==3.1.7->-r wheels/requirements.txt (line 9)) (1.15.1)
Requirement already satisfied: rfc3986[idna2008]<2,>=1.3 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from httpx==0.23.0->-r wheels/requirements.txt (line 12)) (1.5.0)
Requirement already satisfied: httpcore<0.16.0,>=0.15.0 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from httpx==0.23.0->-r wheels/requirements.txt (line 12)) (0.15.0)
Requirement already satisfied: sniffio in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from httpx==0.23.0->-r wheels/requirements.txt (line 12)) (1.2.0)
Requirement already satisfied: bleak>=0.14.3 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from home-assistant-bluetooth==1.3.0->-r wheels/requirements.txt (line 13)) (0.18.1)
Requirement already satisfied: MarkupSafe>=2.0 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from jinja2==3.1.2->-r wheels/requirements.txt (line 15)) (2.1.1)
Requirement already satisfied: text-unidecode>=1.3 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from python-slugify==4.0.1->-r wheels/requirements.txt (line 21)) (1.3)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from requests==2.28.1->-r wheels/requirements.txt (line 23)) (1.26.11)
Requirement already satisfied: idna<4,>=2.5 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from requests==2.28.1->-r wheels/requirements.txt (line 23)) (3.3)
Requirement already satisfied: dbus-fast<2.0.0,>=1.4.0 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from bleak>=0.14.3->home-assistant-bluetooth==1.3.0->-r wheels/requirements.txt (line 13)) (1.24.0)
Requirement already satisfied: pycparser in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from cffi>=1.1->bcrypt==3.1.7->-r wheels/requirements.txt (line 9)) (2.21)
Requirement already satisfied: anyio==3.* in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from httpcore<0.16.0,>=0.15.0->httpx==0.23.0->-r wheels/requirements.txt (line 12)) (3.6.1)
Requirement already satisfied: h11<0.13,>=0.11 in /data/data/com.termux/files/usr/lib/python3.10/site-packages (from httpcore<0.16.0,>=0.15.0->httpx==0.23.0->-r wheels/requirements.txt (line 12)) (0.12.0)
 ZIGBEE   "version": "1.28.0", 
 Zigbee OK... 
 OK. Instalacja trwała  44 sekund 
ok ANDROID   versionName=4.0.1 
 Android OK... 
 Restartuje usługę ais ... 
ok./beta.sh: line 128:  6383 Aborted                 pm2 restart ais

bo dalej występują te błędy więc mam bramkę bez tunelu bo wyświetla jakiś

Error 1033

Ray ID: 75fc729b89c2bfda • 2022-10-25 16:49:49 UTC

## Argo Tunnel error

i system monitora bo połowa usług nie działa

edit ale po reinstalacji psutil do wersji 5.9.3 system monitor zaczął działać ale tunel wciąż jeszcze nie działa na becie ha 2022.10.0 i nawet ponowny powrót na alfe z ha 2022.10.5 i podmiana tych binarek nei przywraca funkcjonalności tunela a pozatym trzeba ręcznie reinstalować psutil mimo iż dostępna jest wersja 5.9.3 bo nadal jest wymuszona wersja 5.9.1 przy ponownej instalacji aktualizacji z konsoli

bład zgłoszony czekamy na poprawkę

tak się dzieje na DEV1 na DEV3 i PRO działa ok

To się stało jak przeszliśmy na pakiety Termux, @Akszyn jeżeli zależy Ci na tunelu i pm2 w konsoli webowej to wróć do aplkiacji Ais Serwer przed termuxem

2 polubienia

taką komendą powinien uruchomić się tunel

pm2 start /data/data/com.termux/files/usr/bin/cloudflared --name tunnel --restart-delay=150000 -- --config /data/data/com.termux/files/home/.cloudflared/config.yaml tunnel run
3 polubienia

u mnie chyba nadal nie działa na temux bo przepisywać to ręczne przez tv to ciężko będzie :slight_smile:

~ $ pm2 start /data/data/com.termux/files/usr/bin/cloudflared --name tunnel --restart-delay=150000 – --config /data/data/com.termux/files/home/.cloudflared/config.yaml tunnel run
Aborted
~ $

więc na razie zostaje mi czekać kolejne tygodnie aż naprawia pm2

Jest jeszcze możliwość zdalnego dostępu do ekranu androida po ADB i scrcpy.

Tak jak @araczkowski napisał, w DEV1 terminal w narzędziach developerskich źle działa (zawsze zwraca Aborted z pm2) więc tam nie kombinuj tylko użyj Putty czy innego podobnego narzędzia i nie będzie problemu.

1 polubienie

Nowe wydanie na kanale ALFA

Co nowego

  1. Najnowsze zigbee2mqtt
  1. Najnowszy Home Assistant

I znowu cos skopane. Jolka mowi ze brak połączenia do internetu chociaz wszystko dziala jak automatyzacje itd. Nie dzialja natomiast komendy glosowe i pisane. Z telefonu czy z zegarka i kamerki ps3.

W ustawieniach android pokazuje Ethernet nie połączony a dziala internet na bramce ok

Polecę standardem nr 1 “Dziwne, u mnie działa” :wink:

ha_1

Caly czas aktualizacje dzialaly idealnie az do teraz

Spróbuj zrestartować bramkę, może pomoże, tak jak napisałem u mnie działa, sama aktualizacja trochę trwa (przynajmniej u mnie) bo aktualizowanych/instalowanych było dość dużo pakietów.

Tak zrobilem. Zostawiam to do jutra. Po zrestartowaniu bramki znowu pojawila sie aktualizacja. Zaktualizowalem i przywrocilem konfiguracje. Automatyzacje dzialaja a komendy nadal nie. Zostawiam to do jutra.
Edit:

Wróciłem do wersji 2022.10.0 i wszystko ponownie działa. Bramka pro1

1 polubienie

A u mnie znów powtórka z rozrywki



Więc trzeba ręcznie znów psutil podnieść oraz ręcznie zainstalować binarke od aplikacji mobilnej?

Ooo ja miałem wczoraj to samo :slightly_smiling_face: pomogła reinstalacja i pkg update&upgrade

długo czekałeś na wykonanie tego polecenia?

~ $ pkg update&upgrade
[1] 21547
No mirror or mirror group selected. You might want to select one by running 'termux-change-repo'
No command upgrade found, did you mean:
 Command topgrade in package topgrade
~ $ Checking availability of current mirror:
[*] https://mirror.mwt.me/termux/main: ok
Hit:1 https://mirror.mwt.me/termux/main stable InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
29 packages can be upgraded. Run 'apt list --upgradable' to see them.

bo u mnie już od kilku minut tak wisi

Nadal mam problem ze bramka nic nie odpowiada oraz nie reaguje na komendy.
Juz mi rece opadają. Na czystej instalacji dziala ok ale jak przywrócę konfigurację to cos juz instaluje i przestaje reagowac na komendy.

Logger: homeassistant.core
Source: components/ais_ai_service/init.py:4113
First occurred: 10:32:51 (1 occurrences)
Last logged: 10:32:51

Error executing service: <ServiceCall conversation.process (c:01GH6803C60NGX9JKKGH76BMH4): text=Jaka jest godzina>
Traceback (most recent call last):
File “/data/data/com.termux/files/usr/lib/python3.10/site-packages/homeassistant/core.py”, line 1801, in catch_exceptions
await coro_or_task
File “/data/data/com.termux/files/usr/lib/python3.10/site-packages/homeassistant/core.py”, line 1820, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File “/data/data/com.termux/files/usr/lib/python3.10/site-packages/homeassistant/components/conversation/init.py”, line 70, in handle_service
await agent.async_process(text, service.context)
File “/data/data/com.termux/files/usr/lib/python3.10/site-packages/homeassistant/components/ais_ai_service/ais_agent.py”, line 45, in async_process
intent_result = await ais_ai._async_process(self.hass, text)
File “/data/data/com.termux/files/usr/lib/python3.10/site-packages/homeassistant/components/ais_ai_service/init.py”, line 4113, in _async_process
for auto_config in ais_global.G_AUTOMATION_CONFIG:
TypeError: ‘AutomationEntityConfig’ object is not iterable

Nawet na świeżej instalacji (po wykonaniu wipa wykorzystując tryb recovery) wyskakują te błędy na dev1 bo nie mogę nawet przywrócić kopi przez ftp bo nic to nie daje ani cofnąć bramki do wcześniejszej wersji bo cały czas instaluje się wersja 2022.11.0 mimo iż zmieniłem na kanał beta i z konsoli wykonuje aktualizację więc jestem na czystej konfiguracji bez tunelu i wszystkich integracji bo nawet podmiana w pliku z identyfikatorem bramki na ten co miałem też nic nie daje bo nie można nawet uruchomić tunelu z konsoli

edit: gdy dałem sprawdź konfiguracje w narzędziach deweloperskich to mam taki długi komunikat