# NSPanel + tasmota - "Waiting for content"

**URL:** <https://forum.arturhome.pl/t/nspanel-tasmota-waiting-for-content/13386>\
**Category:** Tasmota\
**Tags:** nspanel, tasmota\
**Created:** [9 Listopad 2024 19:40 UTC](https://forum.arturhome.pl/t/nspanel-tasmota-waiting-for-content/13386 "2024-11-09T19:40:05Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Autor:** ![szopen](https://forum.arturhome.pl/user_avatar/forum.arturhome.pl/szopen/32/1093_2.png) [@szopen](https://forum.arturhome.pl/u/szopen)\
**Data wpisu:** [10 Listopad 2024 23:11 UTC](https://forum.arturhome.pl/t/nspanel-tasmota-waiting-for-content/13386/21 "2024-11-10T23:11:39Z")

</div>

Nie da się nie aktualizować instalacji opartej na projekcie, który wciąż jest w fazie gwałtownego rozwoju, bo w ten sposób nawarstwi się taka ilość breaking changes, że się to robi nie do opanowania (sam w podobny utknąłem na AppDeamon 3.x co jak na razie dało skutek taki, że przestałem z niego korzystać… a w tej chwili jest już nieobsługiwany w HA, na szczęście całą resztę instalacji aktualizuję w miarę systematycznie).

Dlatego

1. trzeba aktualizować systematycznie, taki “plan minimum” to końcówka każdego miesiąca (gdy duże wydanie HA core ma już wszystkie łatki, a nie wyszło jeszcze wydanie xxxx.yy.0)
2. czytać notatki do wydań przed daną aktualizacją (wtedy się unika przypału, że coś nie działa z niewiadomego powodu, a jeśli już coś się wali z powodu nieuniknionych braking changes, to na forach zwykle jest duże poruszenie na taki konkretny temat i łatwo znaleźć rozwiązanie, takie poruszenie zwykle wygasa w parę tygodni, więc po wielu miesiącach musisz już szukać w archiwaliach).

Od razu uprzedzam, że architektura systemu operacyjnego od czasu 8.x się dość radykalnie zmieniła (i np. ścieżki do kart sieciowych są dziś zupełnie inne!)

Podejrzewałem, że masz jakąś archaiczną 32-bitową malinę i to jest główny powód, że utknąłeś na starej wersji OSa.

Natomiast w przypadku problemów związanych ze skutkami aktualizacji jak dotąd nigdy nie zawiodło mnie rozwiązanie w postaci downgrade (nawet nie byłem zmuszony do używania backupu, bo w rozsądnych granicach zarówno core jak i OS można bezproblemowo cofnąć “o jedno oczko”, a nawet czasem trochę/sporo więcej)

> [@fiflok23](#):
>
> addon\_configs? Tak, wszystko konfigurowalem w tym miejscu.

tak to mam na myśli (a wręcz `addon_configs\a0d7b954_appdaemon` - chyba to jest aktualna ścieżka), bo kiedyś konfiguracja była w innym miejscu, ale były też zmiany w samej konfiguracji.

Natomiast kwestie związane z brokerem MQTT są takie, że w jego logach powinieneś sprawdzić czy wszystkie klienty mają poprawne połączenie.

---

<div class="post-metadata">

**Autor:** ![fiflok23](https://forum.arturhome.pl/letter_avatar_proxy/v4/letter/f/9fc348/32.png) [@fiflok23](https://forum.arturhome.pl/u/fiflok23)\
**Data wpisu:** [10 Listopad 2024 23:27 UTC](https://forum.arturhome.pl/t/nspanel-tasmota-waiting-for-content/13386/22 "2024-11-10T23:27:08Z")

</div>

Malina jest 64 bitowa, kupowalem kilka lat temu ale celowalem w najwyzszy model, mimo problemow z dostepnoscia. Jak widac po core, staram sie instalowac updaty co jakies 6 miesiecy - ale watpie zebym robil to co miesiac. Ja nie mam jakos specjalnie rozbudowanego ha - pododawane urzadzenia mqtt, wifi itp. ale bez szalenstw. Ja nie jestem zadnym programista, wszystkiego ucze sie na biezaco.

Tak, dokladnie w tym folderze wprowadzam zmiany:

![image](https://forum.arturhome.pl/uploads/default/original/3X/7/d/7dae966b8dd8ca26fc0759b5ebdb333a28a48f79.png)

Zaktualizaowalem system i dalej nic. Jedyna roznica, ze w appdaemon pojawilo sie dokladnie to samo, co podeslal @isom1266 :

 ![image](https://forum.arturhome.pl/uploads/default/original/3X/6/6/665e510dca8ba6db8b5467f1690b57ddcff455ad.png)

Ale co mi to daje to nie wiem 🙂

PS. Wklejam logi z AppDaemona:

```auto
2024-11-11 00:22:01.591281 CRITICAL MQTT: MQTT Client Disconnected Abruptly. Will attempt reconnection
2024-11-11 00:22:01.596123 CRITICAL MQTT: Could not complete MQTT Plugin initialization, trying again in 5 seconds
2024-11-11 00:22:11.604672 CRITICAL MQTT: Could not Complete Connection to Broker, please Ensure Broker at URL 192.168.28.58:1883 is correct and broker is not down and restart Appdaemon
2024-11-11 00:22:12.598865 CRITICAL MQTT: Could not complete MQTT Plugin initialization, trying again in 5 seconds
2024-11-11 00:22:17.612039 CRITICAL MQTT: Could not complete MQTT Plugin initialization, for Connection was refused due to Not Authorised
2024-11-11 00:22:17.616521 CRITICAL MQTT: Could not complete MQTT Plugin initialization, trying again in 5 seconds
2024-11-11 00:22:17.620895 CRITICAL MQTT: MQTT Client Disconnected Abruptly. Will attempt reconnection
2024-11-11 00:22:27.623387 CRITICAL MQTT: Could not Complete Connection to Broker, please Ensure Broker at URL 192.168.28.58:1883 is correct and broker is not down and restart Appdaemon
2024-11-11 00:22:27.633105 CRITICAL MQTT: Could not complete MQTT Plugin initialization, trying again in 5 seconds
2024-11-11 00:22:32.650581 CRITICAL MQTT: Could not complete MQTT Plugin initialization, for Connection was refused due to Not Authorised
2024-11-11 00:22:32.653212 CRITICAL MQTT: MQTT Client Disconnected Abruptly. Will attempt reconnection
2024-11-11 00:22:32.662575 CRITICAL MQTT: Could not complete MQTT Plugin initialization, trying again in 5 seconds
2024-11-11 00:22:42.692172 CRITICAL MQTT: Could not Complete Connection to Broker, please Ensure Broker at URL 192.168.28.58:1883 is correct and broker is not down and restart Appdaemon
2024-11-11 00:22:43.658336 CRITICAL MQTT: Could not complete MQTT Plugin initialization, trying again in 5 seconds
2024-11-11 00:22:49.228971 CRITICAL MQTT: Could not complete MQTT Plugin initialization, for Connection was refused due to Not Authorised
2024-11-11 00:22:49.230553 CRITICAL MQTT: MQTT Client Disconnected Abruptly. Will attempt reconnection
2024-11-11 00:22:49.314321 CRITICAL MQTT: Could not complete MQTT Plugin initialization, trying again in 5 seconds
2024-11-11 00:22:59.324983 CRITICAL MQTT: Could not Complete Connection to Broker, please Ensure Broker at URL 192.168.28.58:1883 is correct and broker is not down and restart Appdaemon
2024-11-11 00:23:00.235578 CRITICAL MQTT: Could not complete MQTT Plugin initialization, trying again in 5 seconds
2024-11-11 00:23:05.252204 CRITICAL MQTT: Could not complete MQTT Plugin initialization, for Connection was refused due to Not Authorised
2024-11-11 00:23:05.253485 CRITICAL MQTT: MQTT Client Disconnected Abruptly. Will attempt reconnection
2024-11-11 00:23:05.259377 CRITICAL MQTT: Could not complete MQTT Plugin initialization, trying again in 5 seconds
2024-11-11 00:23:15.281283 CRITICAL MQTT: Could not Complete Connection to Broker, please Ensure Broker at URL 192.168.28.58:1883 is correct and broker is not down and restart Appdaemon
2024-11-11 00:23:16.272959 CRITICAL MQTT: Could not complete MQTT Plugin initialization, trying again in 5 seconds
2024-11-11 00:23:21.287628 CRITICAL MQTT: Could not complete MQTT Plugin initialization, for Connection was refused due to Not Authorised
2024-11-11 00:23:21.289980 CRITICAL MQTT: MQTT Client Disconnected Abruptly. Will attempt reconnection
2024-11-11 00:23:21.295576 CRITICAL MQTT: Could not complete MQTT Plugin initialization, trying again in 5 seconds
2024-11-11 00:23:31.303120 CRITICAL MQTT: Could not Complete Connection to Broker, please Ensure Broker at URL 192.168.28.58:1883 is correct and broker is not down and restart Appdaemon
2024-11-11 00:23:31.305189 CRITICAL MQTT: Could not complete MQTT Plugin initialization, trying again in 5 seconds
2024-11-11 00:23:36.322740 CRITICAL MQTT: Could not complete MQTT Plugin initialization, for Connection was refused due to Not Authorised
2024-11-11 00:23:36.323987 CRITICAL MQTT: MQTT Client Disconnected Abruptly. Will attempt reconnection
2024-11-11 00:23:36.340256 CRITICAL MQTT: Could not complete MQTT Plugin initialization, trying again in 5 seconds
2024-11-11 00:23:46.347665 CRITICAL MQTT: Could not Complete Connection to Broker, please Ensure Broker at URL 192.168.28.58:1883 is correct and broker is not down and restart Appdaemon
2024-11-11 00:23:47.332169 CRITICAL MQTT: Could not complete MQTT Plugin initialization, trying again in 5 seconds
2024-11-11 00:23:52.341195 CRITICAL MQTT: Could not complete MQTT Plugin initialization, for Connection was refused due to Not Authorised
2024-11-11 00:23:52.343494 CRITICAL MQTT: MQTT Client Disconnected Abruptly. Will attempt reconnection
2024-11-11 00:23:52.349785 CRITICAL MQTT: Could not complete MQTT Plugin initialization, trying again in 5 seconds
2024-11-11 00:24:02.356293 CRITICAL MQTT: Could not Complete Connection to Broker, please Ensure Broker at URL 192.168.28.58:1883 is correct and broker is not down and restart Appdaemon
2024-11-11 00:24:03.356869 CRITICAL MQTT: Could not complete MQTT Plugin initialization, trying again in 5 seconds
2024-11-11 00:24:08.370037 CRITICAL MQTT: Could not complete MQTT Plugin initialization, for Connection was refused due to Not Authorised
2024-11-11 00:24:08.371721 CRITICAL MQTT: MQTT Client Disconnected Abruptly. Will attempt reconnection
2024-11-11 00:24:08.376762 CRITICAL MQTT: Could not complete MQTT Plugin initialization, trying again in 5 seconds
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service appdaemon: stopping
2024-11-11 00:24:09.968990 INFO AppDaemon: SIGTERM Received
2024-11-11 00:24:09.970119 INFO AppDaemon: AppDaemon is shutting down
2024-11-11 00:24:10.375171 INFO HASS: Disconnecting from Home Assistant
2024-11-11 00:24:18.386327 INFO AppDaemon: Saving all namespaces
2024-11-11 00:24:18.386892 INFO AppDaemon: AppDaemon is stopped.
[00:24:19] INFO: Service AppDaemon exited with code 0 (by signal 0)
s6-rc: info: service appdaemon successfully stopped
s6-rc: info: service init-appdaemon: stopping
s6-rc: info: service init-appdaemon successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service base-addon-log-level: stopping
s6-rc: info: service base-addon-log-level successfully stopped
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service base-addon-banner: stopping
s6-rc: info: service base-addon-banner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service base-addon-banner: starting
-----------------------------------------------------------
 Add-on: AppDaemon
 Python Apps and Dashboard using AppDaemon 4.x for Home Assistant
-----------------------------------------------------------
 Add-on version: 0.16.7
 You are running the latest version of this add-on.
 System: Home Assistant OS 13.2 (aarch64 / raspberrypi4-64)
 Home Assistant Core: 2024.11.1
 Home Assistant Supervisor: 2024.11.2
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service init-appdaemon: starting
Looking in indexes: https://pypi.org/simple, https://wheels.home-assistant.io/musllinux-index/
Collecting babel
  Downloading babel-2.16.0-py3-none-any.whl.metadata (1.5 kB)
Downloading babel-2.16.0-py3-none-any.whl (9.6 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.6/9.6 MB 8.9 MB/s eta 0:00:00
Installing collected packages: babel
Successfully installed babel-2.16.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
s6-rc: info: service init-appdaemon successfully started
s6-rc: info: service appdaemon: starting
s6-rc: info: service appdaemon successfully started
s6-rc: info: service legacy-services: starting
[00:24:44] INFO: Starting AppDaemon...
s6-rc: info: service legacy-services successfully started
Traceback (most recent call last):
  File "/usr/bin/appdaemon", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/lib/python3.11/site-packages/appdaemon/ __main__.py", line 417, in main
    admain.main()
  File "/usr/lib/python3.11/site-packages/appdaemon/ __main__.py", line 362, in main
    self.logging.set_tz(pytz.timezone(config["appdaemon"]["time_zone"]))
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/pytz/ __init__.py", line 188, in timezone
    raise UnknownTimeZoneError(zone)
pytz.exceptions.UnknownTimeZoneError: 'Europe/Olso'
[00:24:55] INFO: Service AppDaemon exited with code 1 (by signal 0)
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service appdaemon: stopping
s6-rc: info: service appdaemon successfully stopped
s6-rc: info: service init-appdaemon: stopping
s6-rc: info: service init-appdaemon successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service base-addon-log-level: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service base-addon-log-level successfully stopped
s6-rc: info: service base-addon-banner: stopping
s6-rc: info: service base-addon-banner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service base-addon-banner: starting
-----------------------------------------------------------
 Add-on: AppDaemon
 Python Apps and Dashboard using AppDaemon 4.x for Home Assistant
-----------------------------------------------------------
 Add-on version: 0.16.7
 You are running the latest version of this add-on.
 System: Home Assistant OS 13.2 (aarch64 / raspberrypi4-64)
 Home Assistant Core: 2024.11.1
 Home Assistant Supervisor: 2024.11.2
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service init-appdaemon: starting
Looking in indexes: https://pypi.org/simple, https://wheels.home-assistant.io/musllinux-index/
Collecting babel
  Downloading babel-2.16.0-py3-none-any.whl.metadata (1.5 kB)
Downloading babel-2.16.0-py3-none-any.whl (9.6 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.6/9.6 MB 8.0 MB/s eta 0:00:00
Installing collected packages: babel
Successfully installed babel-2.16.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
s6-rc: info: service init-appdaemon successfully started
s6-rc: info: service appdaemon: starting
s6-rc: info: service appdaemon successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
[00:28:45] INFO: Starting AppDaemon...
Traceback (most recent call last):
  File "/usr/bin/appdaemon", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/lib/python3.11/site-packages/appdaemon/ __main__.py", line 417, in main
    admain.main()
  File "/usr/lib/python3.11/site-packages/appdaemon/ __main__.py", line 362, in main
    self.logging.set_tz(pytz.timezone(config["appdaemon"]["time_zone"]))
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/pytz/ __init__.py", line 188, in timezone
    raise UnknownTimeZoneError(zone)
pytz.exceptions.UnknownTimeZoneError: 'Europe/Olso'
[00:28:58] INFO: Service AppDaemon exited with code 1 (by signal 0)
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service appdaemon: stopping
s6-rc: info: service appdaemon successfully stopped
s6-rc: info: service init-appdaemon: stopping
s6-rc: info: service init-appdaemon successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service base-addon-log-level: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service base-addon-log-level successfully stopped
s6-rc: info: service base-addon-banner: stopping
s6-rc: info: service base-addon-banner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

```

PS2. Wyglada na to, ze nie moze sie polaczyc z brokerem MQTT.

---

<div class="post-metadata">

**Autor:** ![szopen](https://forum.arturhome.pl/user_avatar/forum.arturhome.pl/szopen/32/1093_2.png) [@szopen](https://forum.arturhome.pl/u/szopen)\
**Data wpisu:** [10 Listopad 2024 23:36 UTC](https://forum.arturhome.pl/t/nspanel-tasmota-waiting-for-content/13386/23 "2024-11-10T23:36:43Z")

</div>

> [@fiflok23](#):
>
> staram sie instalowac updaty co jakies 6 miesiecy - ale watpie zebym robil to co miesiac.

6 miesięcy to jest standardowy termin karencji przy wprowadzaniu radykalnych breaking changes, więc przy niekorzystnym zbiegu okoliczności (wystarczy przeskoczyć o 7 miesięcy i nie otrzymasz nawet ostrzeżeń o nadchodzących zmianach) dlatego sugeruję zmniejszyć okres między aktualizacjami co najmniej o połowę…  
Ułatwisz sobie znacznie życie wprowadzając aktualizacje w cyklu miesięcznym (wtedy nie nawarstwią się ewentualne konieczne zmiany, w sumie większość aktualizacji odbywa się bez jakichkolwiek zauważalnych negatywnych skutków, a im prostsza = bardziej standardowa instalacja, tym to idzie bardziej gładko).

> [@fiflok23](#):
>
> Ja nie jestem zadnym programista, wszystkiego ucze sie na biezaco.

Ja też nie jestem i w ogóle większość użytkowników nie jest programistami.

A co do logów dotyczących MQTT, no coż to Ty jesteś administratorem swojej sieci, skąd mam wiedzieć pod jakim IP masz broker (normalnie to jest IP HA dla instalacji brokera w formie Dodatku w HAOS)

---

<div class="post-metadata">

**Autor:** ![fiflok23](https://forum.arturhome.pl/letter_avatar_proxy/v4/letter/f/9fc348/32.png) [@fiflok23](https://forum.arturhome.pl/u/fiflok23)\
**Data wpisu:** [11 Listopad 2024 17:48 UTC](https://forum.arturhome.pl/t/nspanel-tasmota-waiting-for-content/13386/24 "2024-11-11T17:48:05Z")

</div>

MQTT broker instalowalem wg najprostszego tutoriala, nic nie zmienialem wiec adres powienin byc taki sam jak HA, port tez jest standardowy.

Wszystko zaktualizowane, appdaemon dziala, konfiguracja wydaje sie poprawna a i tak nie dziala. Chyba czas sprobowac z ESPHome.

---

<div class="post-metadata">

**Autor:** ![szopen](https://forum.arturhome.pl/user_avatar/forum.arturhome.pl/szopen/32/1093_2.png) [@szopen](https://forum.arturhome.pl/u/szopen)\
**Data wpisu:** [11 Listopad 2024 17:53 UTC](https://forum.arturhome.pl/t/nspanel-tasmota-waiting-for-content/13386/25 "2024-11-11T17:53:48Z")

</div>

Dodałeś sobie tych kilku użytkowników do brokera, to z nich korzystaj (ustaw sobie w nspanelu użytkownika dla nspanelu itd.).  
Wyobraź sobie co z czym musi się łączyć to będziesz wiedział jak to konfigurować…

---

<div class="post-metadata">

**Autor:** ![artpc](https://forum.arturhome.pl/user_avatar/forum.arturhome.pl/artpc/32/848_2.png) [@artpc](https://forum.arturhome.pl/u/artpc)\
**Data wpisu:** [11 Listopad 2024 17:58 UTC](https://forum.arturhome.pl/t/nspanel-tasmota-waiting-for-content/13386/26 "2024-11-11T17:58:06Z")

</div>

> [@fiflok23](#):
>
> Wszystko zaktualizowane, appdaemon dziala, konfiguracja wydaje sie poprawna a i tak nie dziala

Sprawdź w tasmocie NSpanel - \> console czy jest połączenie z twoim HA MQTT. Rozumiem że konfigurację Tasmota przeprowadziłeś prawidłowo, dodając też wymagane skrypty? .

---

<div class="post-metadata">

**Autor:** ![macek](https://forum.arturhome.pl/user_avatar/forum.arturhome.pl/macek/32/1647_2.png) [@macek](https://forum.arturhome.pl/u/macek)\
**Data wpisu:** [11 Listopad 2024 18:05 UTC](https://forum.arturhome.pl/t/nspanel-tasmota-waiting-for-content/13386/27 "2024-11-11T18:05:19Z")

</div>

> [@fiflok23](#):
>
> ale watpie zebym robil to co miesiac

Robię co miesiąc ale na koniec danego miesiąca i nie miałem żadnych problemów. HA rozwija się dynamicznie, aktualizacja co 6 miesięcy może generować większe problemy.

---

<div class="post-metadata">

**Autor:** ![fiflok23](https://forum.arturhome.pl/letter_avatar_proxy/v4/letter/f/9fc348/32.png) [@fiflok23](https://forum.arturhome.pl/u/fiflok23)\
**Data wpisu:** [11 Listopad 2024 18:19 UTC](https://forum.arturhome.pl/t/nspanel-tasmota-waiting-for-content/13386/28 "2024-11-11T18:19:30Z")

</div>

Juz powoli zaczynam sie gubic.  
Tasmota dziala, moge sterowac wlacznikami fizycznymi z poziomu przegladarki.

Po kolei, wgralem tasmote.  
Ustawilem CONFIGURE OTHER.  
Wgralem autoexec.be.  
Wgralem z poziomu konsoli FlashNextion [http://nspanel.pky.eu/lui-release.tft](http://nspanel.pky.eu/lui-release.tft)

Postepowalem zgodnie z tutorialem hejdom na youtube.

@artpc Nie ma polaczenia 😕

`Connect failed to 192.168.28.58:1883, rc 5. Retry in 100 sec`

MQTT broker dziala na pewno mam pelno urzadzen zigbee dodanych. User i haslo “tasmota” wklepalem wszedzie, w MQTT Broker (w konfiguracji), tasmocie (Configure MQTT) i appdaemon (AppDaemon.yaml).

Wszystko wskazuje na problem z polaczeniem MQTT ale nie wiem jak to ugryzc.

---

<div class="post-metadata">

**Autor:** ![szopen](https://forum.arturhome.pl/user_avatar/forum.arturhome.pl/szopen/32/1093_2.png) [@szopen](https://forum.arturhome.pl/u/szopen)\
**Data wpisu:** [11 Listopad 2024 19:09 UTC](https://forum.arturhome.pl/t/nspanel-tasmota-waiting-for-content/13386/29 "2024-11-11T19:09:35Z")

</div>

> [@fiflok23](#):
>
> Connect failed to 192.168.28.58:1883, rc 5

> **[MQTT - Tasmota](https://tasmota.github.io/docs/MQTT/#return-codes-rc)**
>
> Documentation (Wiki) for Tasmota

nieprawidłowe dane logowania (do brokera MQTT)

mówiłem ustaw sobie różnych użytkowników i każdego użyj w odpowiadającym mu kliencie

Użyj np. tego by sobie przetestować tych użytkowników brokera

> **[MQTT Explorer](http://mqtt-explorer.com/)**
>
> An all-round MQTT client that provides a structured topic overview

---

<div class="post-metadata">

**Autor:** ![isom1266](https://forum.arturhome.pl/letter_avatar_proxy/v4/letter/i/3ab097/32.png) [@isom1266](https://forum.arturhome.pl/u/isom1266)\
**Data wpisu:** [11 Listopad 2024 19:44 UTC](https://forum.arturhome.pl/t/nspanel-tasmota-waiting-for-content/13386/30 "2024-11-11T19:44:12Z")

</div>

> [@fiflok23](#):
>
> User i haslo “tasmota” wklepalem wszedzie, w MQTT Broker (w konfiguracji), tasmocie (Configure MQTT) i appdaemon (AppDaemon.yaml).

Wklepałeś “tasmota” a w dodatku Mosquitto w HA też masz “tasmota” ? Bo jak nie to będzie lipa.  
Kolega @szopen wskazał link do fajnego narzędzie gdzie można podejrzeć co się połączyło z brokerem, więc ustaw w tasmocie usera i hasło takie jak masz w dodatku Mosquitto, to samo ustaw w plikach konfigu nspanel.

---

<div class="post-metadata">

**Autor:** ![fiflok23](https://forum.arturhome.pl/letter_avatar_proxy/v4/letter/f/9fc348/32.png) [@fiflok23](https://forum.arturhome.pl/u/fiflok23)\
**Data wpisu:** [11 Listopad 2024 19:48 UTC](https://forum.arturhome.pl/t/nspanel-tasmota-waiting-for-content/13386/31 "2024-11-11T19:48:06Z")

</div>

Mosquitto broker:

```auto
active: false
folder: mosquitto
logins:
  - username: tasmota
    password: tasmota

```

AppDaemon.yaml:

```auto
MQTT:
      type: mqtt
      namespace: mqtt
      client_id: "appdaemon"
      client_host: 192.168.28.58
      client_port: 1883
      client_user: "tasmota"
      client_password: "tasmota"
      client_topics: NONE

```

NSPanel:

 ![image](https://forum.arturhome.pl/uploads/default/original/3X/3/8/385f7124b67769c3d26bbf11de60ebc08510f7bd.png)

---

<div class="post-metadata">

**Autor:** ![szopen](https://forum.arturhome.pl/user_avatar/forum.arturhome.pl/szopen/32/1093_2.png) [@szopen](https://forum.arturhome.pl/u/szopen)\
**Data wpisu:** [11 Listopad 2024 19:53 UTC](https://forum.arturhome.pl/t/nspanel-tasmota-waiting-for-content/13386/32 "2024-11-11T19:53:58Z")

</div>

Załóż sobie tylu użytkowników ile masz klientów, inny user dla appdemona, inny dla wszystkich innych urządzeń tasmota, w integracji HA nie grzeb, bo tam masz automagiczne logowanie (z użyciem zastrzeżonego użytkownika `homeassistant` i kilometrowego hasła, których Ty nie masz prawa używać przy konfiguracji z palca), Z2M też zostaw w spokoju, niech się łączy z brokerem tak jak się łączyło.

---

<div class="post-metadata">

**Autor:** ![fiflok23](https://forum.arturhome.pl/letter_avatar_proxy/v4/letter/f/9fc348/32.png) [@fiflok23](https://forum.arturhome.pl/u/fiflok23)\
**Data wpisu:** [11 Listopad 2024 20:06 UTC](https://forum.arturhome.pl/t/nspanel-tasmota-waiting-for-content/13386/33 "2024-11-11T20:06:17Z")

</div>

Ustawilem oddzielnych userow dla NSPanel i dla AppDaemona w MQTT Broker.

NSPanel sie dalej nie laczy.  
AppDaemon w logach nie ma zadnych bledow ale nie znalazlem tez nic o polaczeniu. W dodatku sie wylacza po dluzszej chwili.

Dobra, mam dosyc. W najblizszych dniach sprobuje z ESPHome albo NSPanel Manager.

Dzieki za wszystkie rady.

---

<div class="post-metadata">

**Autor:** ![szopen](https://forum.arturhome.pl/user_avatar/forum.arturhome.pl/szopen/32/1093_2.png) [@szopen](https://forum.arturhome.pl/u/szopen)\
**Data wpisu:** [11 Listopad 2024 20:09 UTC](https://forum.arturhome.pl/t/nspanel-tasmota-waiting-for-content/13386/34 "2024-11-11T20:09:06Z")

</div>

> [@fiflok23](#):
>
> Ustawilem oddzielnych userow dla NSPanel i dla AppDaemona w MQTT Broker.

kluczowe pytanie - czy po ręcznych zmianach konfiguracji zrestartowałeś broker?

Nigdy się niczego nie nauczysz, jeśli będziesz skakał po totalnie rożnych projektach i wdrażał rozwiązania przez copy+paste bez prób zrozumienia zasad ich działania (ESPHome sobie już a wstępie odpuść jeśli nie masz przynajmniej kilkumiesięcznego doświadczenia w tworzeniu własnych urządzeń)

---

<div class="post-metadata">

**Autor:** ![fiflok23](https://forum.arturhome.pl/letter_avatar_proxy/v4/letter/f/9fc348/32.png) [@fiflok23](https://forum.arturhome.pl/u/fiflok23)\
**Data wpisu:** [11 Listopad 2024 20:19 UTC](https://forum.arturhome.pl/t/nspanel-tasmota-waiting-for-content/13386/35 "2024-11-11T20:19:53Z")

</div>

Uwierz mi, ze ja sie latwo nie poddaje. Sam probowalem kilku rzeczy i szukalem w wielu zrodlach zanim w ogole zapytalem na forum. W tej chwili mam otwartych 20 zakladek w Chrome z informacjami dotyczacymi tego problemu.

Oczywiscie, ze restartowalem broker. Juz przy probie zapisu nowej konfiguracji pyta o restart dodatku.

---

<div class="post-metadata">

**Autor:** ![szopen](https://forum.arturhome.pl/user_avatar/forum.arturhome.pl/szopen/32/1093_2.png) [@szopen](https://forum.arturhome.pl/u/szopen)\
**Data wpisu:** [11 Listopad 2024 20:34 UTC](https://forum.arturhome.pl/t/nspanel-tasmota-waiting-for-content/13386/36 "2024-11-11T20:34:35Z")

</div>

> [@fiflok23](#):
>
> Oczywiscie, ze restartowalem broker. Juz przy probie zapisu nowej konfiguracji pyta o restart dodatku.

No właśnie nigdzie nie pisałeś, że zmieniałeś cokolwiek z GUI (sadziłem, że edytujesz po prostu pliki)  
W takim razie masz zwaloną konfigurację Mosquitto, bo w trybie YAML powinna być mniej więcej taka

```auto
logins: 
  - username: tasmota
    password: tasmota
  - username: appdaemon
    password: appdaemon
  - username: inny-klient
    password: inny-klient
  - username: jeszcze-inny-klient
    password: jeszcze-inny-klient
require_certificate: false
certfile: fullchain.pem
keyfile: privkey.pem
customize:
  active: false
  folder: mosquitto

```

a w twojej wcięcia nie są na miejscu

w przypadku Dodatku Mosquitto jednakże zalecane jest używanie użytkowników tworzonych na poziomie HA

---

<div class="post-metadata">

**Autor:** ![artpc](https://forum.arturhome.pl/user_avatar/forum.arturhome.pl/artpc/32/848_2.png) [@artpc](https://forum.arturhome.pl/u/artpc)\
**Data wpisu:** [11 Listopad 2024 20:55 UTC](https://forum.arturhome.pl/t/nspanel-tasmota-waiting-for-content/13386/37 "2024-11-11T20:55:11Z")

</div>

> [@fiflok23](#):
>
> ```auto
> active: false
> folder: mosquitto
> logins:
> - username: tasmota
> password: tasmota
> 
> ```

Skopiuj to co podał ci @szopen i dostosuj pod siebie.

---

<div class="post-metadata">

**Autor:** ![fiflok23](https://forum.arturhome.pl/letter_avatar_proxy/v4/letter/f/9fc348/32.png) [@fiflok23](https://forum.arturhome.pl/u/fiflok23)\
**Data wpisu:** [11 Listopad 2024 21:05 UTC](https://forum.arturhome.pl/t/nspanel-tasmota-waiting-for-content/13386/38 "2024-11-11T21:05:08Z")

</div>

Moja wina. Dodawalem uzytkownikow bezposrednio w MQTT broker - w interfejsie uzytkownika, zamiast w trybie YAML. Stad uzytkownicy i hasla byly w zlym miejscu ☹

No dobra, jest jakis maly sukces. W konsoli NSPanel (tasmota) pokazaly sie takie oto logi:

```auto
21:44:19.894 MQT: Attempting connection...
21:44:20.451 MQT: Connected

```

I teraz tylko co 6 sekund:

```auto
21:57:41.422 MQT: tele/ns_bawialnia1/RESULT = {"CustomRecv":"event,startup,53,eu"}
21:57:47.422 MQT: tele/ns_bawialnia1/RESULT = {"CustomRecv":"event,startup,53,eu"}
21:57:53.322 MQT: tele/ns_bawialnia1/RESULT = {"CustomRecv":"event,startup,53,eu"}
21:57:59.322 MQT: tele/ns_bawialnia1/RESULT = {"CustomRecv":"event,startup,53,eu"}
21:58:05.223 MQT: tele/ns_bawialnia1/RESULT = {"CustomRecv":"event,startup,53,eu"}

```

AppDaemon tez wydaje sie w porzadku, mqtt polaczone:

```auto
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service base-addon-banner: starting
-----------------------------------------------------------
 Add-on: AppDaemon
 Python Apps and Dashboard using AppDaemon 4.x for Home Assistant
-----------------------------------------------------------
 Add-on version: 0.16.7
 You are running the latest version of this add-on.
 System: Home Assistant OS 13.2 (aarch64 / raspberrypi4-64)
 Home Assistant Core: 2024.11.1
 Home Assistant Supervisor: 2024.11.2
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service init-appdaemon: starting
Looking in indexes: https://pypi.org/simple, https://wheels.home-assistant.io/musllinux-index/
Collecting babel
  Downloading babel-2.16.0-py3-none-any.whl.metadata (1.5 kB)
Downloading babel-2.16.0-py3-none-any.whl (9.6 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.6/9.6 MB 11.0 MB/s eta 0:00:00
Installing collected packages: babel
Successfully installed babel-2.16.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
s6-rc: info: service init-appdaemon successfully started
s6-rc: info: service appdaemon: starting
s6-rc: info: service appdaemon successfully started
s6-rc: info: service legacy-services: starting
[21:56:38] INFO: Starting AppDaemon...
s6-rc: info: service legacy-services successfully started
2024-11-11 21:56:48.268827 INFO AppDaemon: AppDaemon Version 4.4.2 starting
2024-11-11 21:56:48.270318 INFO AppDaemon: Python version is 3.11.10
2024-11-11 21:56:48.271423 INFO AppDaemon: Configuration read from: /config/appdaemon.yaml
2024-11-11 21:56:48.272166 INFO AppDaemon: Added log: AppDaemon
2024-11-11 21:56:48.273155 INFO AppDaemon: Added log: Error
2024-11-11 21:56:48.273988 INFO AppDaemon: Added log: Access
2024-11-11 21:56:48.274815 INFO AppDaemon: Added log: Diag
2024-11-11 21:56:48.772591 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin
2024-11-11 21:56:49.245703 INFO HASS: HASS Plugin Initializing
2024-11-11 21:56:49.246952 WARNING HASS: ha_url not found in HASS configuration - module not initialized
2024-11-11 21:56:49.247942 INFO HASS: HASS Plugin initialization complete
2024-11-11 21:56:49.249289 INFO AppDaemon: Loading Plugin MQTT using class MqttPlugin from module mqttplugin
2024-11-11 21:56:49.488484 INFO MQTT: MQTT Plugin Initializing
2024-11-11 21:56:49.489212 INFO MQTT: Using 'appdaemon/status' as Will Topic
2024-11-11 21:56:49.490008 INFO MQTT: Using 'appdaemon/status' as Birth Topic
2024-11-11 21:56:49.491578 INFO AppDaemon: Initializing HTTP
2024-11-11 21:56:49.493109 INFO AppDaemon: Using 'ws' for event stream
2024-11-11 21:56:49.509003 INFO AppDaemon: Starting API
2024-11-11 21:56:49.517246 INFO AppDaemon: Starting Admin Interface
2024-11-11 21:56:49.521190 INFO AppDaemon: Starting Dashboards
2024-11-11 21:56:49.669719 INFO HASS: Connected to Home Assistant 2024.11.1
2024-11-11 21:56:49.725486 INFO AppDaemon: App 'ns_bawialnia1' added
2024-11-11 21:56:49.730524 INFO AppDaemon: Found 1 active apps
2024-11-11 21:56:49.731528 INFO AppDaemon: Found 0 inactive apps
2024-11-11 21:56:49.732212 INFO AppDaemon: Found 0 global libraries
2024-11-11 21:56:49.732931 INFO AppDaemon: Starting Apps with 1 workers and 1 pins
2024-11-11 21:56:49.734522 INFO AppDaemon: Running on port 5050
2024-11-11 21:56:49.921987 INFO HASS: Evaluating startup conditions
2024-11-11 21:56:49.940895 INFO HASS: Startup condition met: hass state=RUNNING
2024-11-11 21:56:49.941516 INFO HASS: All startup conditions met
2024-11-11 21:56:50.003978 INFO AppDaemon: Got initial state from namespace default
2024-11-11 21:56:50.348839 INFO MQTT: Connected to Broker at URL 192.168.28.58:1883
2024-11-11 21:56:50.666818 INFO AppDaemon: Got initial state from namespace mqtt
2024-11-11 21:56:50.668169 INFO MQTT: MQTT Plugin initialization complete
2024-11-11 21:56:51.745492 INFO AppDaemon: Scheduler running in realtime
2024-11-11 21:56:51.753643 INFO AppDaemon: Adding /config/apps to module import path
2024-11-11 21:56:51.760268 WARNING AppDaemon: No app description found for: /config/apps/hello.py - ignoring
2024-11-11 21:56:51.762097 INFO AppDaemon: App initialization complete

```

Ale dalej pozostaje Waiting for content… 🤣  
Mam tylko ustawiony screensaver ale powinno sie chyba cos pokazac.

```auto
---
ns_bawialnia1:
  module: nspanel-lovelace-ui
  class: NsPanelLovelaceUIManager
  config:
    panelRecvTopic: "tele/ns_bawialnia1/RESULT"
    panelSendTopic: "cmnd/ns_bawialnia1/CustomSend"
    model: eu
    locale: "pl_PL"
    updatemode: "auto-notify"
    sleepTimeout: 20
    screensaver:
      entity: weather.dom

```

---

<div class="post-metadata">

**Autor:** ![Lukasz\_T](https://forum.arturhome.pl/user_avatar/forum.arturhome.pl/lukasz_t/32/22182_2.png) [@Lukasz\_T](https://forum.arturhome.pl/u/Lukasz_T)\
**Data wpisu:** [11 Listopad 2024 21:07 UTC](https://forum.arturhome.pl/t/nspanel-tasmota-waiting-for-content/13386/39 "2024-11-11T21:07:39Z")

</div>

A zmasz kogos wiadome ze nie za darmo zeby mi ustawi ns panel z tasmota w ha zdalnie ? Nie moge za ciotta go połaczyc

---

<div class="post-metadata">

**Autor:** ![fiflok23](https://forum.arturhome.pl/letter_avatar_proxy/v4/letter/f/9fc348/32.png) [@fiflok23](https://forum.arturhome.pl/u/fiflok23)\
**Data wpisu:** [11 Listopad 2024 21:45 UTC](https://forum.arturhome.pl/t/nspanel-tasmota-waiting-for-content/13386/40 "2024-11-11T21:45:52Z")

</div>

Znalazlem tez taka informacje ale po skopiowaniu i restarcie AppDaemona nadal nic sie nie zmienia.

 ![image](https://forum.arturhome.pl/uploads/default/original/3X/f/6/f6b6722b46524364935b70971ffa95a8be4a2e0b.png)

[Poprzednia strona](https://forum.arturhome.pl/t/nspanel-tasmota-waiting-for-content/13386.md?page=1)

[Następna strona](https://forum.arturhome.pl/t/nspanel-tasmota-waiting-for-content/13386.md?page=3)
