Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Help] Waiting for Content #17

Closed
4 tasks done
icijc opened this issue Oct 3, 2022 · 2 comments
Closed
4 tasks done

[Help] Waiting for Content #17

icijc opened this issue Oct 3, 2022 · 2 comments
Labels
question Further information is requested

Comments

@icijc
Copy link

icijc commented Oct 3, 2022

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 a screenshot of your tasmota mqtt configuration:

tasmota mqtt

  • Provide your appdaemon.yaml:
  appdaemon.yaml here:

secrets: /config/secrets.yaml
appdaemon:
  latitude: 52.379189
  longitude: 4.899431
  elevation: 2
  time_zone: Europe/Amsterdam
  plugins:
    HASS:
      type: hass
    MQTT:
      type: mqtt
      namespace: mqtt
      client_id: "appdaemon"
      client_host: 192.168.1.195
      client_port: 1883
      client_user: "mqtt"
      client_password: "****"
      client_topics: NONE
http:
  url: http://127.0.0.1:5050
admin:
api:
hadashboard:
  • Provide your apps.yaml:
  apps.yaml here:

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

  • 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 fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/00-banner.sh
-----------------------------------------------------------
 Add-on: AppDaemon
 Python Apps and Dashboard using AppDaemon 4.x for Home Assistant
-----------------------------------------------------------
 Add-on version: 0.9.3
 You are running the latest version of this add-on.
 System: Home Assistant OS 9.0  (amd64 / qemux86-64)
 Home Assistant Core: 2022.9.7
 Home Assistant Supervisor: 2022.09.1
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
cont-init: info: /etc/cont-init.d/00-banner.sh exited 0
cont-init: info: running /etc/cont-init.d/01-log-level.sh
cont-init: info: /etc/cont-init.d/01-log-level.sh exited 0
cont-init: info: running /etc/cont-init.d/appdaemon.sh
Looking in links: https://wheels.home-assistant.io/musllinux/
Collecting babel
  Downloading Babel-2.10.3-py3-none-any.whl (9.5 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.5/9.5 MB 2.3 MB/s eta 0:00:00
Requirement already satisfied: pytz>=2015.7 in /usr/lib/python3.10/site-packages (from babel) (2021.3)
Installing collected packages: babel
Successfully installed babel-2.10.3
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
cont-init: info: /etc/cont-init.d/appdaemon.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun appdaemon (no readiness notification)
s6-rc: info: service legacy-services successfully started
[08:52:28] INFO: Starting AppDaemon...
2022-10-03 08:52:32.630935 INFO AppDaemon: AppDaemon Version 4.2.1 starting
2022-10-03 08:52:32.631283 INFO AppDaemon: Python version is 3.10.5
2022-10-03 08:52:32.631601 INFO AppDaemon: Configuration read from: /config/appdaemon/appdaemon.yaml
2022-10-03 08:52:32.631839 INFO AppDaemon: Added log: AppDaemon
2022-10-03 08:52:32.632076 INFO AppDaemon: Added log: Error
2022-10-03 08:52:32.632314 INFO AppDaemon: Added log: Access
2022-10-03 08:52:32.632577 INFO AppDaemon: Added log: Diag
2022-10-03 08:52:32.789610 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin
2022-10-03 08:52:32.970898 INFO HASS: HASS Plugin Initializing
2022-10-03 08:52:32.971237 INFO HASS: HASS Plugin initialization complete
2022-10-03 08:52:32.971615 INFO AppDaemon: Loading Plugin MQTT using class MqttPlugin from module mqttplugin
2022-10-03 08:52:33.094908 INFO MQTT: MQTT Plugin Initializing
2022-10-03 08:52:33.095254 INFO MQTT: Using 'appdaemon/status' as Will Topic
2022-10-03 08:52:33.095423 INFO MQTT: Using 'appdaemon/status' as Birth Topic
2022-10-03 08:52:33.096191 INFO AppDaemon: Initializing HTTP
2022-10-03 08:52:33.096744 INFO AppDaemon: Using 'ws' for event stream
2022-10-03 08:52:33.101883 INFO AppDaemon: Starting API
2022-10-03 08:52:33.106085 INFO AppDaemon: Starting Admin Interface
2022-10-03 08:52:33.106580 INFO AppDaemon: Starting Dashboards
2022-10-03 08:52:33.129148 INFO HASS: Connected to Home Assistant 2022.9.7
2022-10-03 08:52:33.150087 INFO MQTT: Connected to Broker at URL 192.168.1.195:1883
2022-10-03 08:52:33.163302 INFO AppDaemon: Got initial state from namespace mqtt
2022-10-03 08:52:33.165024 WARNING AppDaemon: Error loading configuration
2022-10-03 08:52:33.168873 WARNING AppDaemon: parser says
2022-10-03 08:52:33.170055 WARNING AppDaemon:   in "<unicode string>", line 2, column 1:
    ---
    ^
2022-10-03 08:52:33.174105 WARNING AppDaemon: but found another document expected a single document in the stream
2022-10-03 08:52:33.175233 INFO MQTT: MQTT Plugin initialization complete
2022-10-03 08:52:33.181733 WARNING AppDaemon: File '/config/appdaemon/apps/apps.yaml' invalid structure - ignoring
2022-10-03 08:52:33.186794 INFO AppDaemon: Found 0 total apps
2022-10-03 08:52:33.187471 INFO AppDaemon: Starting Apps with 0 workers and 0 pins
2022-10-03 08:52:33.190675 INFO AppDaemon: Running on port 5050
2022-10-03 08:52:33.220215 INFO HASS: Evaluating startup conditions
2022-10-03 08:52:33.234659 INFO HASS: Startup condition met: hass state=RUNNING
2022-10-03 08:52:33.234975 INFO HASS: All startup conditions met
2022-10-03 08:52:33.250197 INFO AppDaemon: Got initial state from namespace default
2022-10-03 08:52:35.198873 INFO AppDaemon: Scheduler running in realtime
2022-10-03 08:52:35.203888 INFO AppDaemon: Adding /config/appdaemon/apps to module import path
2022-10-03 08:52:35.204776 INFO AppDaemon: Adding /config/appdaemon/apps/nspanel-lovelace-ui to module import path
2022-10-03 08:52:35.205250 INFO AppDaemon: Adding /config/appdaemon/apps/nspanel-lovelace-ui/luibackend to module import path
2022-10-03 08:52:35.205764 INFO AppDaemon: Adding /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/translations to module import path
2022-10-03 08:52:35.206331 INFO AppDaemon: Adding /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/translations/frontend to module import path
2022-10-03 08:52:35.207184 INFO AppDaemon: Adding /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/translations/backend to module import path
2022-10-03 08:52:35.221740 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/hello.py - ignoring
2022-10-03 08:52:35.223688 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/nspanel-lovelace-ui.py - ignoring
2022-10-03 08:52:35.225767 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/pages.py - ignoring
2022-10-03 08:52:35.227742 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/mqtt.py - ignoring
2022-10-03 08:52:35.229822 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/localization.py - ignoring
2022-10-03 08:52:35.231752 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/controller.py - ignoring
2022-10-03 08:52:35.233587 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/apis.py - ignoring
2022-10-03 08:52:35.235461 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/updater.py - ignoring
2022-10-03 08:52:35.237327 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/icons.py - ignoring
2022-10-03 08:52:35.239269 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/icon_mapping.py - ignoring
2022-10-03 08:52:35.241150 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/config.py - ignoring
2022-10-03 08:52:35.243286 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/theme.py - ignoring
2022-10-03 08:52:35.245383 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/nspanel-lovelace-ui/luibackend/helper.py - ignoring
2022-10-03 08:52:35.247129 INFO AppDaemon: App initialization complete
2022-10-03 08:52:37.574285 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)
Homeassistant virtualize on NAS
AppDaemon installed on Homeassistant
NSPANEL and appDeamon are connected to broker (mqtt explorer):
mqqt explorer
2022-10-03_07-43-07

More logs appdeamon:
2022-10-03 08:49:43.004401 WARNING AppDaemon: Error loading configuration
2022-10-03 08:49:43.001139 INFO AppDaemon: Reading config
2022-10-03 08:49:40.963768 INFO AppDaemon: Found 0 total apps
2022-10-03 08:49:40.963398 INFO AppDaemon: /config/appdaemon/apps/apps.yaml added or modified
2022-10-03 08:49:40.962295 WARNING AppDaemon: File '/config/appdaemon/apps/apps.yaml' invalid structure - ignoring
2022-10-03 08:49:40.960871 WARNING AppDaemon: but found another document expected a single document in the stream
2022-10-03 08:49:40.960634 WARNING AppDaemon: in "", line 2, column 1: --- ^
2022-10-03 08:49:40.960282 WARNING AppDaemon: parser says
2022-10-03 08:49:40.959969 WARNING AppDaemon: Error loading configuration
2022-10-03 08:49:40.956853 INFO AppDaemon: Reading config
2022-10-03 08:49:36.889764 INFO AppDaemon: Found 0 total apps
2022-10-03 08:49:36.889461 INFO AppDaemon: /config/appdaemon/apps/apps.yaml added or modified
2022-10-03 08:49:36.888351 WARNING AppDaemon: File '/config/appdaemon/apps/apps.yaml' invalid structure - ignoring
2022-10-03 08:49:36.887000 WARNING AppDaemon: but found another document expected a single document in the stream
2022-10-03 08:49:36.886744 WARNING AppDaemon: in "", line 2, column 1: --- ^
2022-10-03 08:49:36.886404 WARNING AppDaemon: parser says
2022-10-03 08:49:36.886085 WARNING AppDaemon: Error loading configuration
2022-10-03 08:49:36.883162 INFO AppDaemon: Reading config
2022-10-03 08:49:34.844598 INFO AppDaemon: Found 0 total apps
2022-10-03 08:49:34.844038 INFO AppDaemon: /config/appdaemon/apps/apps.yaml added or modified
2022-10-03 08:49:34.842756 WARNING AppDaemon: File '/config/appdaemon/apps/apps.yaml' invalid structure - ignoring
2022-10-03 08:49:34.840839 WARNING AppDaemon: but found another document expected a single document in the stream
2022-10-03 08:49:34.840454 WARNING AppDaemon: in "", line 2, column 1: --- ^
2022-10-03 08:49:34.840054 WARNING AppDaemon: parser says
2022-10-03 08:49:34.839474 WARNING AppDaemon: Error loading configuration
2022-10-03 08:49:34.835348 INFO AppDaemon: Reading config

Thanks for your help

@icijc icijc added the question Further information is requested label Oct 3, 2022
@joBr99
Copy link
Owner

joBr99 commented Oct 3, 2022

Hey, first of all remove the dublicated --- in your apps.yaml, that line should be there only once.

Restart the appdaemon addon afterwards and repost the appdaemon log here.

@icijc
Copy link
Author

icijc commented Oct 3, 2022

Hi,
Thanks it's working.
now I will try to configure it.

Thanks you very much

@icijc icijc closed this as completed Oct 3, 2022
@joBr99 joBr99 transferred this issue from joBr99/nspanel-lovelace-ui Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants