joBr99 / nspanel-lovelace-ui

Custom Firmware for NsPanel with the design of HomeAssistant's lovelace UI in mind, works with Tasmota.
GNU General Public License v3.0
854 stars 187 forks source link

[Help] Waiting for Content #1192

Open RockStrongo2 opened 3 months ago

RockStrongo2 commented 3 months ago

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: 52.379189 longitude: 4.899431 elevation: 2 time_zone: Europe/Berlin app_dir: /homeassistant/appdaemon/apps/ plugins: HASS: type: hass MQTT: type: mqtt namespace: mqtt client_id: "appdaemon" client_host: core-mosquitto client_port: 1883 client_user: XXXXXXXX client_password: XXXXXXXXX client_topics: NONE log_level: debug


- [x ] Provide your apps.yaml:

apps.yaml here:

nspanel-1: module: nspanel-lovelace-ui class: NsPanelLovelaceUIManager config: panel_recv_topic: "tele/nspanel/RESULT" panel_send_topic: "cmnd/nspanel/CustomSend" model: us-p sleepTimeout: 20 sleepBrightness:

2024-03-08 19:07:55.293682 INFO AppDaemon: Starting Apps with 1 workers and 1 pins 2024-03-08 19:07:55.326638 INFO HASS: Evaluating startup conditions 2024-03-08 19:07:55.348784 INFO HASS: Startup condition met: hass state=RUNNING 2024-03-08 19:07:55.349145 INFO HASS: All startup conditions met 2024-03-08 19:07:55.401911 INFO AppDaemon: Got initial state from namespace default 2024-03-08 19:07:57.302004 INFO AppDaemon: Scheduler running in realtime 2024-03-08 19:07:57.304994 INFO AppDaemon: Adding /homeassistant/appdaemon/apps/ to module import path 2024-03-08 19:07:57.305736 INFO AppDaemon: Adding /homeassistant/appdaemon/apps/nspanel-lovelace-ui to module import path 2024-03-08 19:07:57.306331 INFO AppDaemon: Adding /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend to module import path 2024-03-08 19:07:57.306886 INFO AppDaemon: Adding /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/translations to module import path 2024-03-08 19:07:57.309050 INFO AppDaemon: Adding /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/translations/backend to module import path 2024-03-08 19:07:57.312867 INFO AppDaemon: Adding /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/translations/frontend to module import path 2024-03-08 19:07:57.326997 INFO AppDaemon: Loading App Module: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/nspanel-lovelace-ui.py 2024-03-08 19:07:57.770315 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/icons.py - ignoring 2024-03-08 19:07:57.773406 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/updater.py - ignoring 2024-03-08 19:07:57.774489 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/icon_mapping.py - ignoring 2024-03-08 19:07:57.778765 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/pages.py - ignoring 2024-03-08 19:07:57.779922 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/theme.py - ignoring 2024-03-08 19:07:57.780887 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/helper.py - ignoring 2024-03-08 19:07:57.784516 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/mqtt.py - ignoring 2024-03-08 19:07:57.785931 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/apis.py - ignoring 2024-03-08 19:07:57.789275 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/localization.py - ignoring 2024-03-08 19:07:57.791096 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/controller.py - ignoring 2024-03-08 19:07:57.794249 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/config.py - ignoring 2024-03-08 19:07:57.794982 INFO AppDaemon: Loading app nspanel-1 using class NsPanelLovelaceUIManager from module nspanel-lovelace-ui 2024-03-08 19:07:57.797202 INFO AppDaemon: Calling initialize() for nspanel-1 2024-03-08 19:07:57.970549 INFO nspanel-1: Starting 2024-03-08 19:07:57.978732 INFO nspanel-1: Input config: {'panel_recv_topic': 'tele/nspanel/RESULT', 'panel_send_topic': 'cmnd/nspanel/CustomSend', 'model': 'us-p', 'sleepTimeout': 20, 'sleepBrightness': [{'time': '7:00:00', 'value': 10}, {'time': '23:00:00', 'value': 0}], 'locale': 'de_DE', 'screensaver': {'entity': 'weather.k3ll3r'}, 'cards': [{'type': 'cardEntities', 'entities': [{'entity': 'switch.example_item'}, {'entity': 'light.example_item'}], 'title': 'Example 1'}, {'type': 'cardGrid', 'entities': [{'entity': 'switch.example_item'}, {'entity': 'light.example_item'}], 'title': 'Example 2'}]} 2024-03-08 19:07:57.980909 INFO nspanel-1: Loaded config: {'panelRecvTopic': 'tele/tasmota_your_mqtt_topic/RESULT', 'panelSendTopic': 'cmnd/tasmota_your_mqtt_topic/CustomSend', 'updateMode': 'auto-notify', 'model': 'us-p', 'sleepTimeout': 20, 'sleepBrightness': [{'time': '7:00:00', 'value': 10}, {'time': '23:00:00', 'value': 0}], 'screenBrightness': 100, 'defaultBackgroundColor': 'ha-dark', 'featureExperimentalSliders': False, 'sleepTracking': None, 'sleepTrackingZones': ['not_home', 'off'], 'sleepOverride': None, 'locale': 'de_DE', 'timeFormat': '%H:%M', 'dateFormatBabel': 'full', 'dateAdditionalTemplate': '', 'timeAdditionalTemplate': '', 'dateFormat': '%A, %d. %B %Y', 'cards': [{'type': 'cardEntities', 'entities': [{'entity': 'switch.example_item'}, {'entity': 'light.example_item'}], 'title': 'Example 1'}, {'type': 'cardGrid', 'entities': [{'entity': 'switch.example_item'}, {'entity': 'light.example_item'}], 'title': 'Example 2'}], 'screensaver': {'type': 'screensaver', 'entity': 'weather.k3ll3r', 'weatherUnit': 'celsius', 'forecastSkip': 0, 'weatherOverrideForecast1': None, 'weatherOverrideForecast2': None, 'weatherOverrideForecast3': None, 'weatherOverrideForecast4': None, 'doubleTapToUnlock': False, 'alternativeLayout': False, 'defaultCard': None, 'key': 'screensaver'}, 'hiddenCards': [], 'panel_recv_topic': 'tele/nspanel/RESULT', 'panel_send_topic': 'cmnd/nspanel/CustomSend'} 2024-03-08 19:07:57.991861 INFO nspanel-1: Sending MQTT Message: pageType~pageStartup 2024-03-08 19:07:58.017639 INFO nspanel-1: gtest123: ['switch.example_item', 'light.example_item', 'switch.example_item', 'light.example_item', 'weather.k3ll3r'] 2024-03-08 19:07:58.020997 INFO nspanel-1: Registering callbacks for the following items: ['switch.example_item', 'light.example_item', 'switch.example_item', 'light.example_item', 'weather.k3ll3r'] 2024-03-08 19:07:58.036244 INFO nspanel-1: Started (v4.3.1) 2024-03-08 19:07:58.038297 INFO AppDaemon: App initialization complete 2024-03-08 19:08:01.091608 INFO nspanel-1: Sending MQTT Message: time~19:08~ 2024-03-08 19:09:01.044841 INFO nspanel-1: Sending MQTT Message: time~19:09~ 2024-03-08 19:10:01.051216 INFO nspanel-1: Sending MQTT Message: time~19:10~ 2024-03-08 19:11:01.222690 INFO nspanel-1: Sending MQTT Message: time~19:11~ 2024-03-08 19:12:01.047775 INFO nspanel-1: Sending MQTT Message: time~19:12~ 2024-03-08 19:13:01.433864 INFO nspanel-1: Sending MQTT Message: time~19:13~ 2024-03-08 19:14:01.082676 INFO nspanel-1: Sending MQTT Message: time~19:14~ 2024-03-08 19:14:45.975613 WARNING AppDaemon: Excessive time spent in utility loop: 11695.0ms, 11680.0ms in check_app_updates(), 15.0ms in other 2024-03-08 19:15:01.158893 INFO nspanel-1: Sending MQTT Message: time~19:15~ 2024-03-08 19:15:16.565633 WARNING AppDaemon: Excessive time spent in utility loop: 10680.0ms, 10614.0ms in check_app_updates(), 66.0ms in other 2024-03-08 19:16:01.561373 INFO nspanel-1: Sending MQTT Message: time~19:16~ 2024-03-08 19:17:55.401689 WARNING AppDaemon: Excessive time spent in utility loop: 109355.0ms, 109311.0ms in check_app_updates(), 44.0ms in other 2024-03-08 19:17:55.536877 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds 2024-03-08 19:17:57.017032 INFO nspanel-1: Sending MQTT Message: time~19:17~ 2024-03-08 19:18:00.846825 INFO HASS: Connected to Home Assistant 2024.3.0 2024-03-08 19:18:00.908393 INFO HASS: Evaluating startup conditions 2024-03-08 19:18:00.923009 INFO HASS: Startup condition met: hass state=RUNNING 2024-03-08 19:18:00.923414 INFO HASS: All startup conditions met 2024-03-08 19:18:00.961923 INFO AppDaemon: Processing restart for HASS 2024-03-08 19:18:00.962750 INFO AppDaemon: Terminating nspanel-1 2024-03-08 19:18:00.965170 INFO AppDaemon: Reloading Module: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/nspanel-lovelace-ui.py 2024-03-08 19:18:00.972683 INFO AppDaemon: Loading app nspanel-1 using class NsPanelLovelaceUIManager from module nspanel-lovelace-ui 2024-03-08 19:18:00.976894 INFO AppDaemon: Calling initialize() for nspanel-1 2024-03-08 19:18:00.979240 INFO nspanel-1: Starting 2024-03-08 19:18:00.983863 INFO nspanel-1: Input config: {'panel_recv_topic': 'tele/nspanel/RESULT', 'panel_send_topic': 'cmnd/nspanel/CustomSend', 'model': 'us-p', 'sleepTimeout': 20, 'sleepBrightness': [{'time': '7:00:00', 'value': 10}, {'time': '23:00:00', 'value': 0}], 'locale': 'de_DE', 'screensaver': {'entity': 'weather.k3ll3r'}, 'cards': [{'type': 'cardEntities', 'entities': [{'entity': 'switch.example_item'}, {'entity': 'light.example_item'}], 'title': 'Example 1'}, {'type': 'cardGrid', 'entities': [{'entity': 'switch.example_item'}, {'entity': 'light.example_item'}], 'title': 'Example 2'}]} 2024-03-08 19:18:00.986468 INFO nspanel-1: Loaded config: {'panelRecvTopic': 'tele/tasmota_your_mqtt_topic/RESULT', 'panelSendTopic': 'cmnd/tasmota_your_mqtt_topic/CustomSend', 'updateMode': 'auto-notify', 'model': 'us-p', 'sleepTimeout': 20, 'sleepBrightness': [{'time': '7:00:00', 'value': 10}, {'time': '23:00:00', 'value': 0}], 'screenBrightness': 100, 'defaultBackgroundColor': 'ha-dark', 'featureExperimentalSliders': False, 'sleepTracking': None, 'sleepTrackingZones': ['not_home', 'off'], 'sleepOverride': None, 'locale': 'de_DE', 'timeFormat': '%H:%M', 'dateFormatBabel': 'full', 'dateAdditionalTemplate': '', 'timeAdditionalTemplate': '', 'dateFormat': '%A, %d. %B %Y', 'cards': [{'type': 'cardEntities', 'entities': [{'entity': 'switch.example_item'}, {'entity': 'light.example_item'}], 'title': 'Example 1'}, {'type': 'cardGrid', 'entities': [{'entity': 'switch.example_item'}, {'entity': 'light.example_item'}], 'title': 'Example 2'}], 'screensaver': {'type': 'screensaver', 'entity': 'weather.k3ll3r', 'weatherUnit': 'celsius', 'forecastSkip': 0, 'weatherOverrideForecast1': None, 'weatherOverrideForecast2': None, 'weatherOverrideForecast3': None, 'weatherOverrideForecast4': None, 'doubleTapToUnlock': False, 'alternativeLayout': False, 'defaultCard': None, 'key': 'screensaver'}, 'hiddenCards': [], 'panel_recv_topic': 'tele/nspanel/RESULT', 'panel_send_topic': 'cmnd/nspanel/CustomSend'} 2024-03-08 19:18:00.993328 INFO nspanel-1: Sending MQTT Message: pageType~pageStartup 2024-03-08 19:18:01.011297 INFO nspanel-1: gtest123: ['switch.example_item', 'light.example_item', 'switch.example_item', 'light.example_item', 'weather.k3ll3r'] 2024-03-08 19:18:01.013626 INFO nspanel-1: Registering callbacks for the following items: ['switch.example_item', 'light.example_item', 'switch.example_item', 'light.example_item', 'weather.k3ll3r'] 2024-03-08 19:18:01.019614 INFO MQTT: Topic tele/tasmota_your_mqtt_topic/RESULT already subscribed to 2024-03-08 19:18:01.023082 INFO nspanel-1: Started (v4.3.1) 2024-03-08 19:19:01.045635 INFO nspanel-1: Sending MQTT Message: time~19:19~ 2024-03-08 19:20:01.057990 INFO nspanel-1: Sending MQTT Message: time~19:20~ 2024-03-08 19:21:01.061965 INFO nspanel-1: Sending MQTT Message: time~19:21~ 2024-03-08 19:22:01.084663 INFO nspanel-1: Sending MQTT Message: time~19:22~ 2024-03-08 19:23:01.050180 INFO nspanel-1: Sending MQTT Message: time~19:23~ 2024-03-08 19:24:01.089336 INFO nspanel-1: Sending MQTT Message: time~19:24~ 2024-03-08 19:25:01.240357 INFO nspanel-1: Sending MQTT Message: time~19:25~ 2024-03-08 19:26:01.325582 INFO nspanel-1: Sending MQTT Message: time~19:26~ 2024-03-08 19:27:14.163927 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds 2024-03-08 19:27:14.279315 WARNING AppDaemon: Excessive time spent in utility loop: 20747.0ms, 20701.0ms in check_app_updates(), 46.0ms in other 2024-03-08 19:27:15.242278 INFO nspanel-1: Sending MQTT Message: time~19:27~ 2024-03-08 19:27:19.240238 INFO HASS: Connected to Home Assistant 2024.3.0 2024-03-08 19:27:19.333042 INFO HASS: Evaluating startup conditions 2024-03-08 19:27:19.347252 INFO HASS: Startup condition met: hass state=RUNNING 2024-03-08 19:27:19.347753 INFO HASS: All startup conditions met 2024-03-08 19:27:19.396721 INFO AppDaemon: Processing restart for HASS 2024-03-08 19:27:19.398252 INFO AppDaemon: Terminating nspanel-1 2024-03-08 19:27:19.400617 INFO AppDaemon: Reloading Module: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/nspanel-lovelace-ui.py 2024-03-08 19:27:19.408417 INFO AppDaemon: Loading app nspanel-1 using class NsPanelLovelaceUIManager from module nspanel-lovelace-ui 2024-03-08 19:27:19.415278 INFO AppDaemon: Calling initialize() for nspanel-1 2024-03-08 19:27:19.419010 INFO nspanel-1: Starting 2024-03-08 19:27:19.422869 INFO nspanel-1: Input config: {'panel_recv_topic': 'tele/nspanel/RESULT', 'panel_send_topic': 'cmnd/nspanel/CustomSend', 'model': 'us-p', 'sleepTimeout': 20, 'sleepBrightness': [{'time': '7:00:00', 'value': 10}, {'time': '23:00:00', 'value': 0}], 'locale': 'de_DE', 'screensaver': {'entity': 'weather.k3ll3r'}, 'cards': [{'type': 'cardEntities', 'entities': [{'entity': 'switch.example_item'}, {'entity': 'light.example_item'}], 'title': 'Example 1'}, {'type': 'cardGrid', 'entities': [{'entity': 'switch.example_item'}, {'entity': 'light.example_item'}], 'title': 'Example 2'}]} 2024-03-08 19:27:19.429631 INFO nspanel-1: Loaded config: {'panelRecvTopic': 'tele/tasmota_your_mqtt_topic/RESULT', 'panelSendTopic': 'cmnd/tasmota_your_mqtt_topic/CustomSend', 'updateMode': 'auto-notify', 'model': 'us-p', 'sleepTimeout': 20, 'sleepBrightness': [{'time': '7:00:00', 'value': 10}, {'time': '23:00:00', 'value': 0}], 'screenBrightness': 100, 'defaultBackgroundColor': 'ha-dark', 'featureExperimentalSliders': False, 'sleepTracking': None, 'sleepTrackingZones': ['not_home', 'off'], 'sleepOverride': None, 'locale': 'de_DE', 'timeFormat': '%H:%M', 'dateFormatBabel': 'full', 'dateAdditionalTemplate': '', 'timeAdditionalTemplate': '', 'dateFormat': '%A, %d. %B %Y', 'cards': [{'type': 'cardEntities', 'entities': [{'entity': 'switch.example_item'}, {'entity': 'light.example_item'}], 'title': 'Example 1'}, {'type': 'cardGrid', 'entities': [{'entity': 'switch.example_item'}, {'entity': 'light.example_item'}], 'title': 'Example 2'}], 'screensaver': {'type': 'screensaver', 'entity': 'weather.k3ll3r', 'weatherUnit': 'celsius', 'forecastSkip': 0, 'weatherOverrideForecast1': None, 'weatherOverrideForecast2': None, 'weatherOverrideForecast3': None, 'weatherOverrideForecast4': None, 'doubleTapToUnlock': False, 'alternativeLayout': False, 'defaultCard': None, 'key': 'screensaver'}, 'hiddenCards': [], 'panel_recv_topic': 'tele/nspanel/RESULT', 'panel_send_topic': 'cmnd/nspanel/CustomSend'} 2024-03-08 19:27:19.435057 INFO nspanel-1: Sending MQTT Message: pageType~pageStartup 2024-03-08 19:27:19.472255 INFO nspanel-1: gtest123: ['switch.example_item', 'light.example_item', 'switch.example_item', 'light.example_item', 'weather.k3ll3r'] 2024-03-08 19:27:19.475817 INFO nspanel-1: Registering callbacks for the following items: ['switch.example_item', 'light.example_item', 'switch.example_item', 'light.example_item', 'weather.k3ll3r'] 2024-03-08 19:27:19.483224 INFO MQTT: Topic tele/tasmota_your_mqtt_topic/RESULT already subscribed to 2024-03-08 19:27:19.491121 INFO nspanel-1: Started (v4.3.1) 2024-03-08 19:28:00.472191 INFO nspanel-1: Sending MQTT Message: time~19:28~ 2024-03-08 19:29:00.477033 INFO nspanel-1: Sending MQTT Message: time~19:29~ 2024-03-08 19:30:00.473277 INFO nspanel-1: Sending MQTT Message: time~19:30~ 2024-03-08 19:31:00.472871 INFO nspanel-1: Sending MQTT Message: time~19:31~ 2024-03-08 19:32:00.473819 INFO nspanel-1: Sending MQTT Message: time~19:32~ 2024-03-08 19:33:00.474773 INFO nspanel-1: Sending MQTT Message: time~19:33~ 2024-03-08 19:34:00.473753 INFO nspanel-1: Sending MQTT Message: time~19:34~



### ADDITIONAL INFORMATION

_Add information about your setup here, if any. (For example docker version of AppDaemon instead of the HomeAssistant Add-on)_
joBr99 commented 3 months ago

The names of the config variables for the topics in your apps.yaml are wrong.

    panel_recv_topic: "tele/nspanel/RESULT"
    panel_send_topic: "cmnd/nspanel/CustomSend"

vs

    panelRecvTopic: "tele/tasmota_your_mqtt_topic/RESULT"
    panelSendTopic: "cmnd/tasmota_your_mqtt_topic/CustomSend"

https://docs.nspanel.pky.eu/stable/config-overview/