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

[Help] Waiting for Content #1037

Closed tronk2000 closed 9 months ago

tronk2000 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!

nspanel


secrets: /homeassistant/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.75.30

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

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


- [ ] Provide your apps.yaml:

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

- [ ] 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.15.2 You are running the latest version of this add-on. System: Home Assistant OS 11.1 (amd64 / qemux86-64) Home Assistant Core: 2023.11.2 Home Assistant Supervisor: 2023.11.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 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:57:15] INFO: Starting AppDaemon... s6-rc: info: service legacy-services successfully started 2023-11-16 17:57:16.755458 INFO AppDaemon: AppDaemon Version 4.4.2 starting 2023-11-16 17:57:16.755583 INFO AppDaemon: Python version is 3.11.6 2023-11-16 17:57:16.755654 INFO AppDaemon: Configuration read from: /config/appdaemon.yaml 2023-11-16 17:57:16.755732 INFO AppDaemon: Added log: AppDaemon 2023-11-16 17:57:16.755799 INFO AppDaemon: Added log: Error 2023-11-16 17:57:16.755870 INFO AppDaemon: Added log: Access 2023-11-16 17:57:16.755938 INFO AppDaemon: Added log: Diag 2023-11-16 17:57:16.841362 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin 2023-11-16 17:57:16.927768 INFO HASS: HASS Plugin Initializing 2023-11-16 17:57:16.927869 WARNING HASS: ha_url not found in HASS configuration - module not initialized 2023-11-16 17:57:16.927939 INFO HASS: HASS Plugin initialization complete 2023-11-16 17:57:16.928065 INFO AppDaemon: Loading Plugin MQTT using class MqttPlugin from module mqttplugin 2023-11-16 17:57:16.960579 INFO MQTT: MQTT Plugin Initializing 2023-11-16 17:57:16.960698 INFO MQTT: Using 'appdaemon/status' as Will Topic 2023-11-16 17:57:16.960760 INFO MQTT: Using 'appdaemon/status' as Birth Topic 2023-11-16 17:57:16.960989 INFO AppDaemon: Initializing HTTP 2023-11-16 17:57:16.961136 INFO AppDaemon: Using 'ws' for event stream 2023-11-16 17:57:16.962699 INFO AppDaemon: Starting API 2023-11-16 17:57:16.963577 INFO AppDaemon: Starting Admin Interface 2023-11-16 17:57:16.963717 INFO AppDaemon: Starting Dashboards 2023-11-16 17:57:16.970369 INFO HASS: Connected to Home Assistant 2023.11.2 2023-11-16 17:57:16.976117 INFO MQTT: Connected to Broker at URL core-mosquitto.local.hass.io:1883 2023-11-16 17:57:16.976727 INFO AppDaemon: App 'nspanel-1' added 2023-11-16 17:57:16.977092 INFO AppDaemon: Found 1 active apps 2023-11-16 17:57:16.977356 INFO AppDaemon: Found 0 inactive apps 2023-11-16 17:57:16.977515 INFO AppDaemon: Found 0 global libraries 2023-11-16 17:57:16.977654 INFO AppDaemon: Starting Apps with 1 workers and 1 pins 2023-11-16 17:57:16.978035 INFO AppDaemon: Running on port 5050 2023-11-16 17:57:16.981117 INFO AppDaemon: Got initial state from namespace mqtt 2023-11-16 17:57:16.981311 INFO MQTT: MQTT Plugin initialization complete 2023-11-16 17:57:16.995904 INFO HASS: Evaluating startup conditions 2023-11-16 17:57:17.000061 INFO HASS: Startup condition met: hass state=RUNNING 2023-11-16 17:57:17.000199 INFO HASS: All startup conditions met 2023-11-16 17:57:17.010734 INFO AppDaemon: Got initial state from namespace default 2023-11-16 17:57:17.334424 INFO AppDaemon: New client Admin Client connected 2023-11-16 17:57:18.982658 INFO AppDaemon: Scheduler running in realtime 2023-11-16 17:57:18.986237 INFO AppDaemon: Adding /config/apps to module import path 2023-11-16 17:57:18.987427 WARNING AppDaemon: No app description found for: /config/apps/hello.py - ignoring 2023-11-16 17:57:18.987871 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)_
AppDeamon and MQTT are instaled on homeassistant
joBr99 commented 9 months ago

Please add the app_dir line to your appdaemon.yaml.

https://docs.nspanel.pky.eu/configure_mqtt/?h=app_dir#configure-mqtt-connection-on-appdaemon

tronk2000 commented 9 months ago

I had just removed it because it gave me an error but the fact of having put it back works I don't understand but thank you

tronk2000 commented 9 months ago

IMG_20231116_185513 Can you help me ??

joBr99 commented 9 months ago

Everthing is fine, you need to start configuring your panel.

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

tronk2000 commented 9 months ago

I configured it with my entities but I only have the time and date But no other menu

tronk2000 commented 9 months ago
---
nspanel-1:
  module: nspanel-lovelace-ui
  class: NsPanelLovelaceUIManager
  config:
    panelRecvTopic: "tele/nspanel_cuisine/RESULT"
    panelSendTopic: "cmnd/nspanel_cuisine/CustomSend"
    model: eu
    sleepTimeout: 20
    sleepBrightness:
      - time: "7:00:00"
        value: 10
      - time: "23:00:00"
        value: 0
    locale: "fr_FR"
    screensaver:
      entity: weather.k3ll3r
    cards:
      - type: cardEntities
        entities:
          - entity: light.entree
          - entity: switch.sonoff_1000fd7524_2
        title: test
      - type: cardGrid
        entities:
          - entity: light.sous_lit
          - entity: light.suspension_porte
        title: test 2
joBr99 commented 9 months ago

Where is the apps.yaml located you are editing?

To fix the screensaver adjust the weather entity to your installation.

tronk2000 commented 9 months ago

really sorry I'm stupid I followed a tutorial on YouTube which gave an apps.yaml in /addon_configs/a0d7b954_appdaemon/apps/ although it wasn't there but thanks I found the right apps.yaml sorry for my English I'm French ;)

joBr99 commented 9 months ago

Latest appdaemon addon changed the folder creating all of this unnecessary mess ... it was way simpler before 15.0