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
863 stars 187 forks source link

[Help] Waiting for Content #1003

Closed pbadstuebner closed 9 months ago

pbadstuebner commented 9 months ago

PROBLEM DESCRIPTION

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

[] 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!


- [ ] Provide your apps.yaml:

nspanel-1: module: nspanel-lovelace-ui class: NsPanelLovelaceUIManager config: panelRecvTopic: "tele/tasmota_87BB74/RESULT" panelSendTopic: "cmnd/tasmota_87BB74/CustomSend" model: eu sleepTimeout: 20 sleepBrightness:

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

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.13.6 You are running the latest version of this add-on. System: Home Assistant OS 11.1 (aarch64 / raspberrypi4-64) Home Assistant Core: 2023.10.5 Home Assistant Supervisor: 2023.10.1

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.13.1-py3-none-any.whl (10.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.1/10.1 MB 6.6 MB/s eta 0:00:00 Installing collected packages: babel Successfully installed babel-2.13.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 [17:15:15] INFO: Starting AppDaemon... s6-rc: info: service legacy-services successfully started 2023-10-29 17:15:21.474776 INFO AppDaemon: AppDaemon Version 4.4.2 starting 2023-10-29 17:15:21.475152 INFO AppDaemon: Python version is 3.11.6 2023-10-29 17:15:21.476558 INFO AppDaemon: Configuration read from: /config/appdaemon/appdaemon.yaml 2023-10-29 17:15:21.476986 INFO AppDaemon: Added log: AppDaemon 2023-10-29 17:15:21.478164 INFO AppDaemon: Added log: Error 2023-10-29 17:15:21.478494 INFO AppDaemon: Added log: Access 2023-10-29 17:15:21.479411 INFO AppDaemon: Added log: Diag 2023-10-29 17:15:21.873178 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin 2023-10-29 17:15:22.258259 INFO HASS: HASS Plugin Initializing 2023-10-29 17:15:22.258660 WARNING HASS: ha_url not found in HASS configuration - module not initialized 2023-10-29 17:15:22.259680 INFO HASS: HASS Plugin initialization complete 2023-10-29 17:15:22.261053 INFO AppDaemon: Loading Plugin MQTT using class MqttPlugin from module mqttplugin 2023-10-29 17:15:22.403791 INFO MQTT: MQTT Plugin Initializing 2023-10-29 17:15:22.404164 INFO MQTT: Using 'appdaemon/status' as Will Topic 2023-10-29 17:15:22.404905 INFO MQTT: Using 'appdaemon/status' as Birth Topic 2023-10-29 17:15:22.406389 INFO AppDaemon: Initializing HTTP 2023-10-29 17:15:22.407581 INFO AppDaemon: Using 'ws' for event stream 2023-10-29 17:15:22.414458 INFO AppDaemon: Starting API 2023-10-29 17:15:22.418993 INFO AppDaemon: Starting Admin Interface 2023-10-29 17:15:22.420063 INFO AppDaemon: Starting Dashboards 2023-10-29 17:15:22.450395 INFO HASS: Connected to Home Assistant 2023.10.5 2023-10-29 17:15:22.461503 INFO MQTT: Connected to Broker at URL 192.168.178.21:1883 2023-10-29 17:15:22.484961 INFO AppDaemon: Got initial state from namespace mqtt 2023-10-29 17:15:22.486089 INFO MQTT: MQTT Plugin initialization complete 2023-10-29 17:15:22.501774 WARNING AppDaemon: App 'module' missing 'class' or 'module' entry - ignoring 2023-10-29 17:15:22.503077 WARNING AppDaemon: App 'class' missing 'class' or 'module' entry - ignoring 2023-10-29 17:15:22.504308 WARNING AppDaemon: App 'config' missing 'class' or 'module' entry - ignoring 2023-10-29 17:15:22.507721 INFO AppDaemon: Found 0 active apps 2023-10-29 17:15:22.508653 INFO AppDaemon: Found 0 inactive apps 2023-10-29 17:15:22.509507 INFO AppDaemon: Found 0 global libraries 2023-10-29 17:15:22.510445 INFO AppDaemon: Starting Apps with 0 workers and 0 pins 2023-10-29 17:15:22.511426 INFO AppDaemon: Running on port 5050 2023-10-29 17:15:22.572761 INFO HASS: Evaluating startup conditions 2023-10-29 17:15:22.589501 INFO HASS: Startup condition met: hass state=RUNNING 2023-10-29 17:15:22.590005 INFO HASS: All startup conditions met 2023-10-29 17:15:22.625785 INFO AppDaemon: Got initial state from namespace default 2023-10-29 17:15:24.526695 INFO AppDaemon: Scheduler running in realtime 2023-10-29 17:15:24.536728 INFO AppDaemon: Adding /config/appdaemon/apps to module import path 2023-10-29 17:15:24.537784 INFO AppDaemon: Adding /config/appdaemon/apps/nspanel-lovelace-ui to module import path 2023-10-29 17:15:24.538512 INFO AppDaemon: Adding /config/appdaemon/apps/nspanel-lovelace-ui/luibackend to module import path 2023-10-29 17:15:24.539200 INFO AppDaemon: Adding /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/translations to module import path 2023-10-29 17:15:24.539981 INFO AppDaemon: Adding /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/translations/frontend to module import path 2023-10-29 17:15:24.540824 INFO AppDaemon: Adding /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/translations/backend to module import path 2023-10-29 17:15:24.555159 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/hello.py - ignoring 2023-10-29 17:15:24.556821 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/nspanel-lovelace-ui.py - ignoring 2023-10-29 17:15:24.558190 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/icon_mapping.py - ignoring 2023-10-29 17:15:24.559598 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/icons.py - ignoring 2023-10-29 17:15:24.561297 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/config.py - ignoring 2023-10-29 17:15:24.562976 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/pages.py - ignoring 2023-10-29 17:15:24.564474 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/apis.py - ignoring 2023-10-29 17:15:24.566799 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/controller.py - ignoring 2023-10-29 17:15:24.568621 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/mqtt.py - ignoring 2023-10-29 17:15:24.570801 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/helper.py - ignoring 2023-10-29 17:15:24.572581 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/localization.py - ignoring 2023-10-29 17:15:24.574691 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/updater.py - ignoring 2023-10-29 17:15:24.576582 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/theme.py - ignoring 2023-10-29 17:15:24.578708 INFO AppDaemon: App initialization complete 2023-10-29 17:55:43.232502 INFO AppDaemon: New client Admin Client connected



### ADDITIONAL INFORMATION

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

Hey, does your mqtt password have more than 5 chars?

https://github.com/arendst/Tasmota/discussions/14599

pbadstuebner commented 9 months ago

hi joBr99,

my MQTT Broker works without security, so Password is not needed at all. The current MQTT configuration works, as i can read out the Status Messages from the Tasmota NS Panel through my Node-Red installation.

joBr99 commented 9 months ago

Your apps.yaml doesn't have the right indentation.

image

nspanel-1:
  module: nspanel-lovelace-ui
  class: NsPanelLovelaceUIManager
  config:
    panelRecvTopic: "tele/tasmota_87BB74/RESULT"
    panelSendTopic: "cmnd/tasmota_87BB74/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
pbadstuebner commented 9 months ago

Ok, now, corrected the indentation, and it works.
I'm a bit confused, that a wrong indendation causes such problems.. especially if StudioCodeServer does not show up any problems .. Thx anyway.