joBr99 / nspanel-issue-graveyard

place to move waiting for content issues to and to keep the search a bit cleaned up
0 stars 0 forks source link

[Help] Waiting for Content #59

Closed sygad closed 1 year ago

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

tasmota mqtt config


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.20.15
  client_port: 1883
  client_user: "mqttuser"
  client_password: "---REMOVED---"
  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/nspdaniel/RESULT" panelSendTopic: "cmnd/nspdaniel/CustomSend" model: eu

- [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 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.11.0 You are running the latest version of this add-on. System: Home Assistant OS 9.4 (amd64 / generic-x86-64) Home Assistant Core: 2023.1.7 Home Assistant Supervisor: 2023.01.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 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 s6-rc: info: service legacy-services successfully started [09:34:45] INFO: Starting AppDaemon... 2023-01-27 10:34:47.198244 INFO AppDaemon: AppDaemon Version 4.2.1 starting 2023-01-27 10:34:47.198334 INFO AppDaemon: Python version is 3.10.9 2023-01-27 10:34:47.198429 INFO AppDaemon: Configuration read from: /config/appdaemon/appdaemon.yaml 2023-01-27 10:34:47.198505 INFO AppDaemon: Added log: AppDaemon 2023-01-27 10:34:47.198600 INFO AppDaemon: Added log: Error 2023-01-27 10:34:47.198660 INFO AppDaemon: Added log: Access 2023-01-27 10:34:47.198730 INFO AppDaemon: Added log: Diag 2023-01-27 10:34:47.251555 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin 2023-01-27 10:34:47.323823 INFO HASS: HASS Plugin Initializing 2023-01-27 10:34:47.323918 INFO HASS: HASS Plugin initialization complete 2023-01-27 10:34:47.324058 INFO AppDaemon: Loading Plugin MQTT using class MqttPlugin from module mqttplugin 2023-01-27 10:34:47.354259 INFO MQTT: MQTT Plugin Initializing 2023-01-27 10:34:47.354351 INFO MQTT: Using 'appdaemon/status' as Will Topic 2023-01-27 10:34:47.354425 INFO MQTT: Using 'appdaemon/status' as Birth Topic 2023-01-27 10:34:47.354684 INFO AppDaemon: Initializing HTTP 2023-01-27 10:34:47.354859 INFO AppDaemon: Using 'ws' for event stream 2023-01-27 10:34:47.356312 INFO AppDaemon: Starting API 2023-01-27 10:34:47.357705 INFO AppDaemon: Starting Admin Interface 2023-01-27 10:34:47.357922 INFO AppDaemon: Starting Dashboards 2023-01-27 10:34:47.364539 INFO HASS: Connected to Home Assistant 2023.1.7 2023-01-27 10:34:47.367259 INFO MQTT: Connected to Broker at URL 192.168.20.15:1883 2023-01-27 10:34:47.369724 INFO AppDaemon: App 'nspanel-1' added 2023-01-27 10:34:47.370054 INFO AppDaemon: Found 1 total apps 2023-01-27 10:34:47.370193 INFO AppDaemon: Starting Apps with 1 workers and 1 pins 2023-01-27 10:34:47.370438 INFO AppDaemon: Running on port 5050 2023-01-27 10:34:47.370708 INFO AppDaemon: Got initial state from namespace mqtt 2023-01-27 10:34:47.370814 INFO MQTT: MQTT Plugin initialization complete 2023-01-27 10:34:47.393560 INFO HASS: Evaluating startup conditions 2023-01-27 10:34:47.398176 INFO HASS: Startup condition met: hass state=RUNNING 2023-01-27 10:34:47.398315 INFO HASS: All startup conditions met 2023-01-27 10:34:47.426954 INFO AppDaemon: Got initial state from namespace default 2023-01-27 10:34:49.375702 INFO AppDaemon: Scheduler running in realtime 2023-01-27 10:34:49.378697 INFO AppDaemon: Adding /config/appdaemon/apps to module import path 2023-01-27 10:34:49.380728 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/hello.py - ignoring 2023-01-27 10:34:49.381778 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

Hey, looks like there is no lovelace app loading at all.

2023-01-27 10:34:49.378697 INFO AppDaemon: Adding /config/appdaemon/apps to module import path
2023-01-27 10:34:49.380728 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/hello.py - ignoring
2023-01-27 10:34:49.381778 INFO AppDaemon: App initialization complete

Can you try to uninstall and reinstall the App afterwards in HACS?

https://docs.nspanel.pky.eu/prepare_ha/#installing-lovelace-appdaemon-backend-application

sygad commented 1 year ago

Removed the HACS Automation "NSPanel Lovelace UI" Re-downloaded it Restarted HA

Still seeing the screen "waiting for content"

This is now my appdaemon log

-----------------------------------------------------------
 Add-on: AppDaemon
 Python Apps and Dashboard using AppDaemon 4.x for Home Assistant
-----------------------------------------------------------
 Add-on version: 0.11.0
 You are running the latest version of this add-on.
 System: Home Assistant OS 9.5  (amd64 / generic-x86-64)
 Home Assistant Core: 2023.1.7
 Home Assistant Supervisor: 2023.01.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
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
s6-rc: info: service legacy-services successfully started
[12:28:11] INFO: Starting AppDaemon...
2023-01-28 13:28:13.015149 INFO AppDaemon: AppDaemon Version 4.2.1 starting
2023-01-28 13:28:13.015323 INFO AppDaemon: Python version is 3.10.9
2023-01-28 13:28:13.015407 INFO AppDaemon: Configuration read from: /config/appdaemon/appdaemon.yaml
2023-01-28 13:28:13.015514 INFO AppDaemon: Added log: AppDaemon
2023-01-28 13:28:13.015597 INFO AppDaemon: Added log: Error
2023-01-28 13:28:13.015673 INFO AppDaemon: Added log: Access
2023-01-28 13:28:13.015746 INFO AppDaemon: Added log: Diag
2023-01-28 13:28:13.069025 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin
2023-01-28 13:28:13.139925 INFO HASS: HASS Plugin Initializing
2023-01-28 13:28:13.140038 INFO HASS: HASS Plugin initialization complete
2023-01-28 13:28:13.140203 INFO AppDaemon: Loading Plugin MQTT using class MqttPlugin from module mqttplugin
2023-01-28 13:28:13.168759 INFO MQTT: MQTT Plugin Initializing
2023-01-28 13:28:13.168869 INFO MQTT: Using 'appdaemon/status' as Will Topic
2023-01-28 13:28:13.168976 INFO MQTT: Using 'appdaemon/status' as Birth Topic
2023-01-28 13:28:13.169296 INFO AppDaemon: Initializing HTTP
2023-01-28 13:28:13.169447 INFO AppDaemon: Using 'ws' for event stream
2023-01-28 13:28:13.170915 INFO AppDaemon: Starting API
2023-01-28 13:28:13.172290 INFO AppDaemon: Starting Admin Interface
2023-01-28 13:28:13.172450 INFO AppDaemon: Starting Dashboards
2023-01-28 13:28:13.178909 INFO HASS: Connected to Home Assistant 2023.1.7
2023-01-28 13:28:13.180830 INFO MQTT: Connected to Broker at URL 192.168.20.15:1883
2023-01-28 13:28:13.184142 INFO AppDaemon: Got initial state from namespace mqtt
2023-01-28 13:28:13.184350 INFO MQTT: MQTT Plugin initialization complete
2023-01-28 13:28:13.186665 INFO AppDaemon: App 'nspanel-1' added
2023-01-28 13:28:13.187002 INFO AppDaemon: Found 1 total apps
2023-01-28 13:28:13.187148 INFO AppDaemon: Starting Apps with 1 workers and 1 pins
2023-01-28 13:28:13.187574 INFO AppDaemon: Running on port 5050
2023-01-28 13:28:13.206091 INFO HASS: Evaluating startup conditions
2023-01-28 13:28:13.210466 INFO HASS: Startup condition met: hass state=RUNNING
2023-01-28 13:28:13.210597 INFO HASS: All startup conditions met
2023-01-28 13:28:13.239476 INFO AppDaemon: Got initial state from namespace default
2023-01-28 13:28:15.191520 INFO AppDaemon: Scheduler running in realtime
2023-01-28 13:28:15.192853 INFO AppDaemon: Adding /config/appdaemon/apps to module import path
2023-01-28 13:28:15.193001 INFO AppDaemon: Adding /config/appdaemon/apps/nspanel-lovelace-ui to module import path
2023-01-28 13:28:15.193123 INFO AppDaemon: Adding /config/appdaemon/apps/nspanel-lovelace-ui/luibackend to module import path
2023-01-28 13:28:15.193257 INFO AppDaemon: Adding /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/translations to module import path
2023-01-28 13:28:15.193403 INFO AppDaemon: Adding /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/translations/frontend to module import path
2023-01-28 13:28:15.193558 INFO AppDaemon: Adding /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/translations/backend to module import path
2023-01-28 13:28:15.196931 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/hello.py - ignoring
2023-01-28 13:28:15.197282 INFO AppDaemon: Loading App Module: /config/appdaemon/apps/nspanel-lovelace-ui/nspanel-lovelace-ui.py
2023-01-28 13:28:15.262132 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/icon_mapping.py - ignoring
2023-01-28 13:28:15.262772 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/localization.py - ignoring
2023-01-28 13:28:15.263201 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/theme.py - ignoring
2023-01-28 13:28:15.263576 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/apis.py - ignoring
2023-01-28 13:28:15.263953 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/pages.py - ignoring
2023-01-28 13:28:15.264339 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/mqtt.py - ignoring
2023-01-28 13:28:15.264702 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/updater.py - ignoring
2023-01-28 13:28:15.265122 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/controller.py - ignoring
2023-01-28 13:28:15.265509 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/helper.py - ignoring
2023-01-28 13:28:15.265919 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/config.py - ignoring
2023-01-28 13:28:15.266232 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/icons.py - ignoring
2023-01-28 13:28:15.266539 INFO AppDaemon: Initializing app nspanel-1 using class NsPanelLovelaceUIManager from module nspanel-lovelace-ui
2023-01-28 13:28:15.291785 INFO nspanel-1: Starting
2023-01-28 13:28:15.293569 INFO nspanel-1: Input config: {'panelRecvTopic': 'tele/nspdaniel/RESULT', 'panelSendTopic': 'cmnd/nspdaniel/CustomSend', 'model': 'eu'}
2023-01-28 13:28:15.294028 INFO nspanel-1: Loaded config: {'panelRecvTopic': 'tele/nspdaniel/RESULT', 'panelSendTopic': 'cmnd/nspdaniel/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', 'homeButton': False, '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': []}
2023-01-28 13:28:15.295953 INFO nspanel-1: Sending MQTT Message: pageType~pageStartup
2023-01-28 13:28:15.298035 INFO nspanel-1: Registering callbacks for the following items: ['iText.', 'iText.', 'iText.', 'iText.', 'weather.example']
2023-01-28 13:28:15.300109 INFO nspanel-1: Started
2023-01-28 13:28:15.300598 INFO AppDaemon: App initialization complete
2023-01-28 13:28:40.683175 INFO nspanel-1: MQTT callback for: {'topic': 'tele/nspdaniel/RESULT', 'wildcard': None, 'payload': '{"NSPanel":{"Nextion":"bytes(\'55BB13006576656E742C737461727475702C34382C65\')"}}'}
2023-01-28 13:28:58.199677 INFO nspanel-1: MQTT callback for: {'topic': 'tele/nspdaniel/RESULT', 'wildcard': None, 'payload': '{"NSPanel":{"Nextion":"bytes(\'24\')"}}'}
2023-01-28 13:28:58.723457 INFO nspanel-1: MQTT callback for: {'topic': 'tele/nspdaniel/RESULT', 'wildcard': None, 'payload': '{"NSPanel":{"Nextion":"bytes(\'24\')"}}'}
2023-01-28 13:29:00.030094 INFO nspanel-1: Sending MQTT Message: time~12:29~
2023-01-28 13:29:01.263365 INFO nspanel-1: MQTT callback for: {'topic': 'tele/nspdaniel/RESULT', 'wildcard': None, 'payload': '{"NSPanel":{"Nextion":"bytes(\'24\')"}}'}
2023-01-28 13:29:10.024721 INFO nspanel-1: MQTT callback for: {'topic': 'tele/nspdaniel/RESULT', 'wildcard': None, 'payload': '{"NSPanel":{"Nextion":"bytes(\'55BB13006576656E742C737461727475702C34382C65\')"}}'}
2023-01-28 13:29:39.338005 INFO nspanel-1: MQTT callback for: {'topic': 'tele/nspdaniel/RESULT', 'wildcard': None, 'payload': '{"NSPanel":{"Nextion":"bytes(\'55BB13006576656E742C737461727475702C34382C65\')"}}'}
2023-01-28 13:30:00.033093 INFO nspanel-1: Sending MQTT Message: time~12:30~
2023-01-28 13:30:01.378329 INFO nspanel-1: MQTT callback for: {'topic': 'tele/nspdaniel/RESULT', 'wildcard': None, 'payload': '{"NSPanel":{"Nextion":"bytes(\'24\')"}}'}
2023-01-28 13:30:08.216810 INFO nspanel-1: MQTT callback for: {'topic': 'tele/nspdaniel/RESULT', 'wildcard': None, 'payload': '{"NSPanel":{"Nextion":"bytes(\'55BB13006576656E742C737461727475702C34382C65\')"}}'}
2023-01-28 13:30:37.498689 INFO nspanel-1: MQTT callback for: {'topic': 'tele/nspdaniel/RESULT', 'wildcard': None, 'payload': '{"NSPanel":{"Nextion":"bytes(\'55BB13006576656E742C737461727475702C34382C65\')"}}'}
2023-01-28 13:31:00.031844 INFO nspanel-1: Sending MQTT Message: time~12:31~
2023-01-28 13:31:01.484251 INFO nspanel-1: MQTT callback for: {'topic': 'tele/nspdaniel/RESULT', 'wildcard': None, 'payload': '{"NSPanel":{"Nextion":"bytes(\'24\')"}}'}
joBr99 commented 1 year ago

Which Berry Driver do you have installed on tasmota?

Theese messages do not look like they are coming from the berry driver for this project. Looks like you are using the driver for the stock firmware from https://github.com/blakadder/nspanel

Even though I've no clue how you did mange to flash the display with this one o.O

'{"NSPanel":{"Nextion":"bytes(\'55BB13006576656E742C737461727475702C34382C65\')"}}'}

Run the following command in your tasmota console to replace it with the correct one.

Backlog UrlFetch https://raw.githubusercontent.com/joBr99/nspanel-lovelace-ui/main/tasmota/autoexec.be; Restart 1

https://docs.nspanel.pky.eu/prepare_nspanel/#upload-berry-driver-to-tasmota

sygad commented 1 year ago

ooooh, I think I might have been crossing projects with the blakymas one and got myself muddled up....sorry about that.

I just ran the command you posted in my console and I now have a time being displayed with the date.

I am assuming this is the start of the UI and from here I add cards?

joBr99 commented 1 year ago

yeah, you should also see the default screen after touching the screen

sygad commented 1 year ago

Im up and running now.

Thanks for the help. Really appreciated.