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
872 stars 188 forks source link

[Help] Waiting for Content #975

Closed Schrinni closed 1 year ago

Schrinni commented 1 year ago

PROBLEM DESCRIPTION

I'm seeing the waiting for content message on the Panel and I'm unable to find the configuration issue.

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!

image

`--- secrets: /config/secrets.yaml appdaemon: latitude: 52.0 longitude: 4.0 elevation: 2 time_zone: Europe/Berlin plugins: HASS: type: hass MQTT: type: mqtt namespace: mqtt client_id: "appdaemon" client_host: core-mosquitto.local.hass.io # This should work if you are using supervised HomeAssistant; if not use the IP Address instead.

client_host: 192.168.178.50

  client_port: 1883
  client_user: "mqttuser"
  client_password: "********"
  client_topics: NONE

http: url: http://127.0.0.1:5050 admin: api: hadashboard:`


- [x] Provide your apps.yaml:

apps.yaml here: `--- nspanel-1: module: nspanel-lovelace-ui class: NsPanelLovelaceUIManager config: panelRecvTopic: "tele/NSPanel_EZ/RESULT" panelSendTopic: "cmnd/NSPanel_EZ/CustomSend" model: eu sleepTimeout: 20 sleepBrightness:

- [x] Go to Settings>Add-ons>AppDaemon>Log and then, provide the output of the log after restarting the appdaemon container:

Log output here: `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.13.4 You are running the latest version of this add-on. System: Home Assistant OS 10.5 (aarch64 / raspberrypi4-64) Home Assistant Core: 2023.9.0 Home Assistant Supervisor: 2023.08.3

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 links: https://wheels.home-assistant.io/musllinux/ Collecting babel Downloading Babel-2.12.1-py3-none-any.whl (10.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.1/10.1 MB 6.9 MB/s eta 0:00:00 Installing collected packages: babel Successfully installed babel-2.12.1 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 [14:51:09] INFO: Starting AppDaemon... s6-rc: info: service legacy-services successfully started 2023-09-09 14:51:15.637374 INFO AppDaemon: AppDaemon Version 4.4.2 starting 2023-09-09 14:51:15.637707 INFO AppDaemon: Python version is 3.11.4 2023-09-09 14:51:15.637967 INFO AppDaemon: Configuration read from: /config/appdaemon/appdaemon.yaml 2023-09-09 14:51:15.638340 INFO AppDaemon: Added log: AppDaemon 2023-09-09 14:51:15.638637 INFO AppDaemon: Added log: Error 2023-09-09 14:51:15.638845 INFO AppDaemon: Added log: Access 2023-09-09 14:51:15.639042 INFO AppDaemon: Added log: Diag 2023-09-09 14:51:16.014446 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin 2023-09-09 14:51:16.378023 INFO HASS: HASS Plugin Initializing 2023-09-09 14:51:16.378325 WARNING HASS: ha_url not found in HASS configuration - module not initialized 2023-09-09 14:51:16.378620 INFO HASS: HASS Plugin initialization complete 2023-09-09 14:51:16.379040 INFO AppDaemon: Loading Plugin MQTT using class MqttPlugin from module mqttplugin 2023-09-09 14:51:16.515489 INFO MQTT: MQTT Plugin Initializing 2023-09-09 14:51:16.515823 INFO MQTT: Using 'appdaemon/status' as Will Topic 2023-09-09 14:51:16.516023 INFO MQTT: Using 'appdaemon/status' as Birth Topic 2023-09-09 14:51:16.516843 INFO AppDaemon: Initializing HTTP 2023-09-09 14:51:16.517435 INFO AppDaemon: Using 'ws' for event stream 2023-09-09 14:51:16.523011 INFO AppDaemon: Starting API 2023-09-09 14:51:16.526651 INFO AppDaemon: Starting Admin Interface 2023-09-09 14:51:16.527195 INFO AppDaemon: Starting Dashboards 2023-09-09 14:51:16.554944 INFO HASS: Connected to Home Assistant 2023.9.0 2023-09-09 14:51:16.574474 INFO MQTT: Connected to Broker at URL core-mosquitto.local.hass.io:1883 2023-09-09 14:51:16.588343 INFO AppDaemon: Got initial state from namespace mqtt 2023-09-09 14:51:16.589268 INFO MQTT: MQTT Plugin initialization complete 2023-09-09 14:51:16.614937 INFO AppDaemon: App 'nspanel-1' added 2023-09-09 14:51:16.619296 INFO AppDaemon: Found 1 active apps 2023-09-09 14:51:16.620015 INFO AppDaemon: Found 0 inactive apps 2023-09-09 14:51:16.620668 INFO AppDaemon: Found 0 global libraries 2023-09-09 14:51:16.621339 INFO AppDaemon: Starting Apps with 1 workers and 1 pins 2023-09-09 14:51:16.623439 INFO AppDaemon: Running on port 5050 2023-09-09 14:51:16.657995 INFO HASS: Evaluating startup conditions 2023-09-09 14:51:16.673471 INFO HASS: Startup condition met: hass state=RUNNING 2023-09-09 14:51:16.674049 INFO HASS: All startup conditions met 2023-09-09 14:51:16.696716 INFO AppDaemon: Got initial state from namespace default 2023-09-09 14:51:18.637184 INFO AppDaemon: Scheduler running in realtime 2023-09-09 14:51:18.644842 INFO AppDaemon: Adding /config/appdaemon/apps to module import path 2023-09-09 14:51:18.646316 INFO AppDaemon: Adding /config/appdaemon/apps/nspanel-lovelace-ui to module import path 2023-09-09 14:51:18.647919 INFO AppDaemon: Adding /config/appdaemon/apps/nspanel-lovelace-ui/luibackend to module import path 2023-09-09 14:51:18.649051 INFO AppDaemon: Adding /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/translations to module import path 2023-09-09 14:51:18.650123 INFO AppDaemon: Adding /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/translations/backend to module import path 2023-09-09 14:51:18.651299 INFO AppDaemon: Adding /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/translations/frontend to module import path 2023-09-09 14:51:18.664119 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/hello.py - ignoring 2023-09-09 14:51:18.665663 INFO AppDaemon: Loading App Module: /config/appdaemon/apps/nspanel-lovelace-ui/nspanel-lovelace-ui.py 2023-09-09 14:51:19.011689 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/config.py - ignoring 2023-09-09 14:51:19.013138 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/apis.py - ignoring 2023-09-09 14:51:19.014621 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/controller.py - ignoring 2023-09-09 14:51:19.015907 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/pages.py - ignoring 2023-09-09 14:51:19.017146 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/localization.py - ignoring 2023-09-09 14:51:19.018691 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/icons.py - ignoring 2023-09-09 14:51:19.020302 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/helper.py - ignoring 2023-09-09 14:51:19.021907 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/mqtt.py - ignoring 2023-09-09 14:51:19.023470 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/updater.py - ignoring 2023-09-09 14:51:19.025190 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/icon_mapping.py - ignoring 2023-09-09 14:51:19.026729 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/theme.py - ignoring 2023-09-09 14:51:19.028283 INFO AppDaemon: Loading app nspanel-1 using class NsPanelLovelaceUIManager from module nspanel-lovelace-ui 2023-09-09 14:51:19.031862 INFO AppDaemon: Calling initialize() for nspanel-1 2023-09-09 14:51:19.140001 INFO nspanel-1: Starting 2023-09-09 14:51:19.149596 INFO nspanel-1: Input config: {'panelRecvTopic': 'tele/NSPanel_EZ/RESULT', 'panelSendTopic': 'cmnd/NSPanel_EZ/CustomSend', 'model': 'eu', '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'}]} 2023-09-09 14:51:19.152232 INFO nspanel-1: Loaded config: {'panelRecvTopic': 'tele/NSPanel_EZ/RESULT', 'panelSendTopic': 'cmnd/NSPanel_EZ/CustomSend', 'updateMode': 'auto-notify', 'model': 'eu', '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': []} 2023-09-09 14:51:19.163813 INFO nspanel-1: Sending MQTT Message: pageType~pageStartup 2023-09-09 14:51:19.181869 INFO nspanel-1: gtest123: ['switch.example_item', 'light.example_item', 'switch.example_item', 'light.example_item', 'weather.k3ll3r'] 2023-09-09 14:51:19.184742 INFO nspanel-1: Registering callbacks for the following items: ['switch.example_item', 'light.example_item', 'switch.example_item', 'light.example_item', 'weather.k3ll3r'] 2023-09-09 14:51:19.193516 INFO nspanel-1: Started (v4.2.0) 2023-09-09 14:51:19.196252 INFO AppDaemon: App initialization complete`



### ADDITIONAL INFORMATION

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

No obvious config error please post the logs from the tasmota console