Closed antrivas closed 1 year ago
Hey, I cannot see any obvious error, your log looks like you got over the Waiting for content screen.
Please remove your custom logging stuff, restart appdaemon and post the log again.
Please change your appdaemon.yaml to this, it should be sufficent if you are using HomeAssistant OS (if you are using your own dockers, you also need the HA Token Stuff otherwise this is done automatically)
---
secrets: /config/secrets.yaml
appdaemon:
latitude: 41.3333
longitude: 2.1
elevation: 10
time_zone: Europe/Madrid
plugins:
HASS:
type: hass
MQTT:
type: mqtt
namespace: mqtt
verbose: True
client_host: 192.168.1.145
client_port: 1883
client_id: "appdaemon"
client_user: "antonio"
client_password: "xxxxxxxxxxxxxxx"
client_topics: NONE
http:
url: http://127.0.0.1:5050
admin:
api:
hadashboard:
Hello
My Home assistant is running in a docjer
With this configuration :
appdaemon: latitude: 41.3333 longitude: 2.1 elevation: 10 time_zone: Europe/Madrid plugins: HASS: type: hass cert_verify: False ha_url: https://192.168.1.20:8123 token: xxxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxx.xxxxxx-xxxxxxxxxxxxxxxxxxxxxx MQTT: type: mqtt namespace: mqtt verbose: True client_host: 192.168.1.145 client_port: 1883 client_id: "appdaemon" client_user: "antonio" client_password: "xxxxxxxxxxx" client_topics: NONE http: url: http://127.0.0.1:5050 admin: api: hadashboard:
The log is :
2022-10-09 21:21:03.915901 INFO AppDaemon: AppDaemon Version 4.2.1 starting 2022-10-09 21:21:03.916199 INFO AppDaemon: Python version is 3.9.9 2022-10-09 21:21:03.916369 INFO AppDaemon: Configuration read from: /conf/appdaemon.yaml 2022-10-09 21:21:03.916528 INFO AppDaemon: Added log: AppDaemon 2022-10-09 21:21:03.916694 INFO AppDaemon: Added log: Error 2022-10-09 21:21:03.916864 INFO AppDaemon: Added log: Access 2022-10-09 21:21:03.917028 INFO AppDaemon: Added log: Diag 2022-10-09 21:21:03.950821 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin 2022-10-09 21:21:03.981853 INFO HASS: HASS Plugin Initializing 2022-10-09 21:21:03.982114 INFO HASS: HASS Plugin initialization complete 2022-10-09 21:21:03.982430 INFO AppDaemon: Loading Plugin MQTT using class MqttPlugin from module mqttplugin 2022-10-09 21:21:03.996288 INFO MQTT: MQTT Plugin Initializing 2022-10-09 21:21:03.996550 INFO MQTT: Using 'appdaemon/status' as Will Topic 2022-10-09 21:21:03.996704 INFO MQTT: Using 'appdaemon/status' as Birth Topic 2022-10-09 21:21:03.997365 INFO AppDaemon: Initializing HTTP 2022-10-09 21:21:03.997761 INFO AppDaemon: Using 'ws' for event stream 2022-10-09 21:21:04.004809 INFO AppDaemon: Starting API 2022-10-09 21:21:04.011340 INFO AppDaemon: Starting Admin Interface 2022-10-09 21:21:04.012583 INFO AppDaemon: Starting Dashboards 2022-10-09 21:21:04.052135 INFO HASS: Connected to Home Assistant 2021.12.0 2022-10-09 21:21:04.059124 INFO MQTT: Connected to Broker at URL 192.168.1.145:1883 2022-10-09 21:21:04.085996 INFO AppDaemon: Got initial state from namespace mqtt 2022-10-09 21:21:04.086458 INFO MQTT: MQTT Plugin initialization complete 2022-10-09 21:21:04.095679 INFO AppDaemon: App 'nspanel-1' added 2022-10-09 21:21:04.096631 INFO AppDaemon: Found 1 total apps 2022-10-09 21:21:04.097314 INFO AppDaemon: Starting Apps with 1 workers and 1 pins 2022-10-09 21:21:04.098336 INFO AppDaemon: Running on port 5050 2022-10-09 21:21:04.178435 INFO HASS: Evaluating startup conditions 2022-10-09 21:21:04.186522 INFO HASS: Startup condition met: hass state=RUNNING 2022-10-09 21:21:04.186908 INFO HASS: All startup conditions met 2022-10-09 21:21:04.404063 INFO AppDaemon: Got initial state from namespace default 2022-10-09 21:21:06.103799 INFO AppDaemon: Scheduler running in realtime 2022-10-09 21:21:06.108456 INFO AppDaemon: Adding /conf/apps to module import path 2022-10-09 21:21:06.109158 INFO AppDaemon: Adding /conf/apps/nspanel-lovelace-ui to module import path 2022-10-09 21:21:06.109743 INFO AppDaemon: Adding /conf/apps/nspanel-lovelace-ui/luibackend to module import path 2022-10-09 21:21:06.110369 INFO AppDaemon: Adding /conf/apps/nspanel-lovelace-ui/luibackend/translations to module import path 2022-10-09 21:21:06.110977 INFO AppDaemon: Adding /conf/apps/nspanel-lovelace-ui/luibackend/translations/backend to module import path 2022-10-09 21:21:06.112016 INFO AppDaemon: Adding /conf/apps/nspanel-lovelace-ui/luibackend/translations/frontend to module import path 2022-10-09 21:21:06.137020 INFO AppDaemon: Loading App Module: /conf/apps/nspanel-lovelace-ui/nspanel-lovelace-ui.py 2022-10-09 21:21:06.199298 WARNING AppDaemon: No app description found for: /conf/apps/nspanel-lovelace-ui/luibackend/icons.py - ignoring 2022-10-09 21:21:06.200765 WARNING AppDaemon: No app description found for: /conf/apps/nspanel-lovelace-ui/luibackend/updater.py - ignoring 2022-10-09 21:21:06.202198 WARNING AppDaemon: No app description found for: /conf/apps/nspanel-lovelace-ui/luibackend/config.py - ignoring 2022-10-09 21:21:06.205058 WARNING AppDaemon: No app description found for: /conf/apps/nspanel-lovelace-ui/luibackend/helper.py - ignoring 2022-10-09 21:21:06.206555 WARNING AppDaemon: No app description found for: /conf/apps/nspanel-lovelace-ui/luibackend/icon_mapping.py - ignoring 2022-10-09 21:21:06.208376 WARNING AppDaemon: No app description found for: /conf/apps/nspanel-lovelace-ui/luibackend/pages.py - ignoring 2022-10-09 21:21:06.209413 WARNING AppDaemon: No app description found for: /conf/apps/nspanel-lovelace-ui/luibackend/localization.py - ignoring 2022-10-09 21:21:06.210548 WARNING AppDaemon: No app description found for: /conf/apps/nspanel-lovelace-ui/luibackend/mqtt.py - ignoring 2022-10-09 21:21:06.211531 WARNING AppDaemon: No app description found for: /conf/apps/nspanel-lovelace-ui/luibackend/apis.py - ignoring 2022-10-09 21:21:06.212787 WARNING AppDaemon: No app description found for: /conf/apps/nspanel-lovelace-ui/luibackend/controller.py - ignoring 2022-10-09 21:21:06.214205 WARNING AppDaemon: No app description found for: /conf/apps/nspanel-lovelace-ui/luibackend/theme.py - ignoring 2022-10-09 21:21:06.215153 INFO AppDaemon: Initializing app nspanel-1 using class NsPanelLovelaceUIManager from module nspanel-lovelace-ui 2022-10-09 21:21:06.311205 INFO nspanel-1: Starting 2022-10-09 21:21:06.317061 INFO nspanel-1: Input config: {'panelRecvTopic': 'tele/tasmota_0CBAFC/RESULT', 'panelSendTopic': 'cmnd/tasmota_0CBAFC/CustomSend'} 2022-10-09 21:21:06.318340 INFO nspanel-1: Loaded config: {'panelRecvTopic': 'tele/tasmota_0CBAFC/RESULT', 'panelSendTopic': 'cmnd/tasmota_0CBAFC/CustomSend', 'updateMode': 'auto-notify', 'model': 'eu', 'sleepTimeout': 20, 'sleepBrightness': 20, 'screenBrightness': 100, 'defaultBackgroundColor': 'ha-dark', 'sleepTracking': None, 'sleepTrackingZones': ['not_home', 'off'], 'sleepOverride': None, 'locale': 'en_US', 'timeFormat': '%H:%M', 'dateFormatBabel': 'full', 'dateAdditionalTemplate': '', 'timeAdditionalTemplate': '', 'dateFormat': '%A, %d. %B %Y', 'cards': [{'type': 'cardEntities', 'entities': [{'entity': 'iText.', 'name': 'MQTT Config successful', 'icon': 'mdi:check', 'color:': [0, 255, 0]}, {'entity': 'iText.', 'name': 'Continue adding', 'icon': 'mdi:arrow-right-bold'}, {'entity': 'iText.', 'name': 'cards to your', 'icon': 'mdi:card'}, {'entity': 'iText.', 'name': 'apps.yaml', 'icon': 'mdi:cog'}], 'title': 'Setup successful'}], 'screensaver': {'type': 'screensaver', 'entity': 'weather.example', 'weatherUnit': 'celsius', 'forecastSkip': 0, 'weatherOverrideForecast1': None, 'weatherOverrideForecast2': None, 'weatherOverrideForecast3': None, 'weatherOverrideForecast4': None, 'doubleTapToUnlock': False, 'alternativeLayout': False, 'defaultCard': None, 'key': 'screensaver'}, 'hiddenCards': []} 2022-10-09 21:21:06.329870 INFO nspanel-1: Sending MQTT Message: pageType~pageStartup 2022-10-09 21:21:06.337567 INFO nspanel-1: Registering callbacks for the following items: ['iText.', 'iText.', 'iText.', 'iText.', 'weather.example'] 2022-10-09 21:21:06.344662 INFO nspanel-1: Started 2022-10-09 21:21:06.346846 INFO AppDaemon: App initialization complete 2022-10-09 21:22:00.098139 INFO nspanel-1: Sending MQTT Message: time~21:22~
The communication via mqtt is OK
and the tasmota console is this 👍
Out of stubbornness I have done more tests and now it is working with this firmware FlashNextion http://nspanel.pky.eu/lui.tft
with this it does not work FlashNextion http://nspanel.pky.eu/lui-release.tft
Thank you very much for your help
PROBLEM DESCRIPTION
I'm seeing the waiting for content message on the Panel and I'm unable to find the configuration issue.
[X] I've double checked each step explained in the FAQ:
https://docs.nspanel.pky.eu/faq/#waiting-for-content-this-is-taking-longer-than-usual-on-the-screen
REQUESTED INFORMATION
Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
appdaemon: latitude: 41.3333 longitude: 2.1 elevation: 10 time_zone: Europe/Madrid cert_verify: False plugins: HASS: type: hass cert_verify: False ha_url: https://192.168.1.20:8123 token: eyJ0eXAiOiJKVgdfg1QiL0NjczYTVjYzQwMGE1MjY3MTliZiIsImlhdCI6MTYwNTc0MTUxOSwiZXhwIjhdfgoxOTIxMTAxNTE5fQ.KfKnkwxeZMclylVOAjoYnWMvGd0rMvjY3oSXB-hyNUA MQTT: type: mqtt namespace: mqtt verbose: True client_host: 192.168.1.145 client_port: 1883 client_id: "appdaemon" client_user: "antonio" client_password: "xxxxxxxxxxxxxxx" client_topics: NONE http: url: http://192.168.1.20:5050 admin: api: hadashboard:
logs: main_log: filename: /conf/logs/appdaemon.log access_log: filename: /conf/logs/access.log error_log: filename: /conf/logs/error.log diag_log: filename: /conf/logs/diag.log log_generations: 5 log_size: 1024 format: "{asctime} {levelname:<8} {appname:<10}: {message}" test_log: name: TestLog filename: /conf/logs/test.log
apps.yaml here:
nspanel-1: module: nspanel-lovelace-ui class: NsPanelLovelaceUIManager config: panelRecvTopic: "tele/tasmota_0CBAFC/RESULT" panelSendTopic: "cmnd/tasmota_0CBAFC/CustomSend"
Log output here:
2022-10-09 02:38:01.643070 INFO AppDaemon: AppDaemon Version 4.2.1 starting 2022-10-09 02:38:01.643584 INFO AppDaemon: Python version is 3.9.9 2022-10-09 02:38:01.643959 INFO AppDaemon: Configuration read from: /conf/appdaemon.yaml 2022-10-09 02:38:01.644321 INFO AppDaemon: Added log: AppDaemon 2022-10-09 02:38:01.644660 INFO AppDaemon: Added log: Error 2022-10-09 02:38:01.645096 INFO AppDaemon: Added log: Access 2022-10-09 02:38:01.645634 INFO AppDaemon: Added log: Diag 2022-10-09 02:38:01.645959 INFO AppDaemon: Added log: TestLog 2022-10-09 02:38:01.679513 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin 2022-10-09 02:38:01.709797 INFO HASS: HASS Plugin Initializing 2022-10-09 02:38:01.710290 INFO HASS: HASS Plugin initialization complete 2022-10-09 02:38:01.710778 INFO AppDaemon: Loading Plugin MQTT using class MqttPlugin from module mqttplugin 2022-10-09 02:38:01.720648 INFO MQTT: MQTT Plugin Initializing 2022-10-09 02:38:01.721108 INFO MQTT: Using 'appdaemon/status' as Will Topic 2022-10-09 02:38:01.721368 INFO MQTT: Using 'appdaemon/status' as Birth Topic 2022-10-09 02:38:01.722641 INFO AppDaemon: Initializing HTTP 2022-10-09 02:38:01.723464 INFO AppDaemon: Using 'ws' for event stream 2022-10-09 02:38:01.728696 INFO AppDaemon: Starting API 2022-10-09 02:38:01.733439 INFO AppDaemon: Starting Admin Interface 2022-10-09 02:38:01.734067 INFO AppDaemon: Starting Dashboards 2022-10-09 02:38:01.777585 INFO HASS: Connected to Home Assistant 2021.12.0 2022-10-09 02:38:01.814774 INFO MQTT: Connected to Broker at URL 192.168.1.145:1883 2022-10-09 02:38:01.821713 INFO AppDaemon: Got initial state from namespace mqtt 2022-10-09 02:38:01.822502 INFO MQTT: MQTT Plugin initialization complete 2022-10-09 02:38:01.825176 INFO AppDaemon: App 'nspanel-1' added 2022-10-09 02:38:01.826374 INFO AppDaemon: Found 1 total apps 2022-10-09 02:38:01.827005 INFO AppDaemon: Starting Apps with 1 workers and 1 pins 2022-10-09 02:38:01.827967 INFO AppDaemon: Running on port 5050 2022-10-09 02:38:01.912620 INFO HASS: Evaluating startup conditions 2022-10-09 02:38:01.919065 INFO HASS: Startup condition met: hass state=RUNNING 2022-10-09 02:38:01.919636 INFO HASS: All startup conditions met 2022-10-09 02:38:02.135708 INFO AppDaemon: Got initial state from namespace default 2022-10-09 02:38:03.841071 INFO AppDaemon: Scheduler running in realtime 2022-10-09 02:38:03.845052 INFO AppDaemon: Adding /conf/apps to module import path 2022-10-09 02:38:03.845624 INFO AppDaemon: Adding /conf/apps/nspanel-lovelace-ui to module import path 2022-10-09 02:38:03.846132 INFO AppDaemon: Adding /conf/apps/nspanel-lovelace-ui/luibackend to module import path 2022-10-09 02:38:03.846613 INFO AppDaemon: Adding /conf/apps/nspanel-lovelace-ui/luibackend/translations to module import path 2022-10-09 02:38:03.847201 INFO AppDaemon: Adding /conf/apps/nspanel-lovelace-ui/luibackend/translations/backend to module import path 2022-10-09 02:38:03.847860 INFO AppDaemon: Adding /conf/apps/nspanel-lovelace-ui/luibackend/translations/frontend to module import path 2022-10-09 02:38:03.859863 INFO AppDaemon: Loading App Module: /conf/apps/nspanel-lovelace-ui/nspanel-lovelace-ui.py 2022-10-09 02:38:03.904179 WARNING AppDaemon: No app description found for: /conf/apps/nspanel-lovelace-ui/luibackend/icons.py - ignoring 2022-10-09 02:38:03.906340 WARNING AppDaemon: No app description found for: /conf/apps/nspanel-lovelace-ui/luibackend/updater.py - ignoring 2022-10-09 02:38:03.908019 WARNING AppDaemon: No app description found for: /conf/apps/nspanel-lovelace-ui/luibackend/config.py - ignoring 2022-10-09 02:38:03.910050 WARNING AppDaemon: No app description found for: /conf/apps/nspanel-lovelace-ui/luibackend/helper.py - ignoring 2022-10-09 02:38:03.912378 WARNING AppDaemon: No app description found for: /conf/apps/nspanel-lovelace-ui/luibackend/icon_mapping.py - ignoring 2022-10-09 02:38:03.915811 WARNING AppDaemon: No app description found for: /conf/apps/nspanel-lovelace-ui/luibackend/pages.py - ignoring 2022-10-09 02:38:03.917997 WARNING AppDaemon: No app description found for: /conf/apps/nspanel-lovelace-ui/luibackend/localization.py - ignoring 2022-10-09 02:38:03.920882 WARNING AppDaemon: No app description found for: /conf/apps/nspanel-lovelace-ui/luibackend/mqtt.py - ignoring 2022-10-09 02:38:03.922912 WARNING AppDaemon: No app description found for: /conf/apps/nspanel-lovelace-ui/luibackend/apis.py - ignoring 2022-10-09 02:38:03.924690 WARNING AppDaemon: No app description found for: /conf/apps/nspanel-lovelace-ui/luibackend/controller.py - ignoring 2022-10-09 02:38:03.926623 WARNING AppDaemon: No app description found for: /conf/apps/nspanel-lovelace-ui/luibackend/theme.py - ignoring 2022-10-09 02:38:03.928418 INFO AppDaemon: Initializing app nspanel-1 using class NsPanelLovelaceUIManager from module nspanel-lovelace-ui 2022-10-09 02:38:04.022725 INFO nspanel-1: Starting 2022-10-09 02:38:04.027221 INFO nspanel-1: Input config: {'panelRecvTopic': 'tele/tasmota_0CBAFC/RESULT', 'panelSendTopic': 'cmnd/tasmota_0CBAFC/CustomSend'} 2022-10-09 02:38:04.029209 INFO nspanel-1: Loaded config: {'panelRecvTopic': 'tele/tasmota_0CBAFC/RESULT', 'panelSendTopic': 'cmnd/tasmota_0CBAFC/CustomSend', 'updateMode': 'auto-notify', 'model': 'eu', 'sleepTimeout': 20, 'sleepBrightness': 20, 'screenBrightness': 100, 'defaultBackgroundColor': 'ha-dark', 'sleepTracking': None, 'sleepTrackingZones': ['not_home', 'off'], 'sleepOverride': None, 'locale': 'en_US', 'timeFormat': '%H:%M', 'dateFormatBabel': 'full', 'dateAdditionalTemplate': '', 'timeAdditionalTemplate': '', 'dateFormat': '%A, %d. %B %Y', 'cards': [{'type': 'cardEntities', 'entities': [{'entity': 'iText.', 'name': 'MQTT Config successful', 'icon': 'mdi:check', 'color:': [0, 255, 0]}, {'entity': 'iText.', 'name': 'Continue adding', 'icon': 'mdi:arrow-right-bold'}, {'entity': 'iText.', 'name': 'cards to your', 'icon': 'mdi:card'}, {'entity': 'iText.', 'name': 'apps.yaml', 'icon': 'mdi:cog'}], 'title': 'Setup successful'}], 'screensaver': {'type': 'screensaver', 'entity': 'weather.example', 'weatherUnit': 'celsius', 'forecastSkip': 0, 'weatherOverrideForecast1': None, 'weatherOverrideForecast2': None, 'weatherOverrideForecast3': None, 'weatherOverrideForecast4': None, 'doubleTapToUnlock': False, 'alternativeLayout': False, 'defaultCard': None, 'key': 'screensaver'}, 'hiddenCards': []} 2022-10-09 02:38:04.035440 INFO nspanel-1: Sending MQTT Message: pageType~pageStartup 2022-10-09 02:38:04.043377 INFO nspanel-1: Registering callbacks for the following items: ['iText.', 'iText.', 'iText.', 'iText.', 'weather.example'] 2022-10-09 02:38:04.050905 INFO nspanel-1: Started 2022-10-09 02:38:04.053031 INFO AppDaemon: App initialization complete 2022-10-09 02:39:00.094363 INFO nspanel-1: Sending MQTT Message: time~02:39~