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 - after HA and AppDaemon upgrade #1271

Closed
4 tasks done
uros76 opened this issue Oct 26, 2024 · 2 comments
Closed
4 tasks done

[Help] Waiting for Content - after HA and AppDaemon upgrade #1271

uros76 opened this issue Oct 26, 2024 · 2 comments
Labels
configuration related to configuration question Further information is requested

Comments

@uros76
Copy link

uros76 commented Oct 26, 2024

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:
    image

  • Provide your appdaemon.yaml:

  appdaemon.yaml here:
---
secrets: /config/secrets.yaml
appdaemon:
  latitude: 52.379189
  longitude: 4.899431
  elevation: 2
  time_zone: Europe/Amsterdam
  app_dir: /homeassistant/appdaemon/apps/
  plugins:
    HASS:
      type: hass
    MQTT:
      type: mqtt
      namespace: mqtt
      client_id: "appdaemon"
      client_host: 192.168.1.99
      client_port: 1883
      client_user: mqttonly
      client_password: Masamoja22
      client_topics: NONE
http:
  url: http://127.0.0.1:5050
admin:
api:
hadashboard:

  • Provide your apps.yaml:
  apps.yaml here:
---
nspanel:
  module: nspanel-lovelace-ui
  class: NsPanelLovelaceUIManager
  config:
    panelRecvTopic: "tele/nspanel/RESULT"
    panelSendTopic: "cmnd/nspanel/CustomSend"
    homeButton: True
    model: eu
    screenBrightness: 50
    sleepTimeout: 20
    sleepBrightness:
      - time: "07:00:00"
        value: 15
      - time: "22:30:00"
        value: 0
    timeAdditionalTemplate: "Weather forecast - {{ states('weather.starowiejska_home') }}"
    cards:
      - type: cardQR
        title: Guest Wifi
        qrCode: "WIFI:S:PLAY internet 8742;T:WPA;P:secret;;"
        key: wifi
        entities:
          - entity: iText.PLAY internet 8742
            name: 'Wifi name:'
            icon: mdi:wifi
          - entity: iText.secret
            name: 'Password:'
            icon: mdi:key
      - type: cardEntities
        entities:
          - entity: cover.living_room_right_curtain
            nane: Living room right
          - entity: cover.living_room_left_curtain
            name: Living room left
          - entity: automation.open_windows_sunrise
            name: Automatic Opening
            icon: mdi:window-shutter-open
          - entity: automation.close_windows_at_sunset
            name: Automatic Closing
            icon: mdi:window-shutter
        title: Windows
    screensaver:
        entity: weather.starowiejska_home
        doubleTapToUnlock: False
        defaultCard: navigate.wifi
        theme:
            autoWeather: true
        statusIcon1:
          entity: lock.front_door_starowiejska_2
          altFont: True
        statusIcon2:
          entity: binary_sensor.front_door_starowiejska_open_2
          altFont: True
        alternativeLayout: True

  • Go to Settings>Add-ons>AppDaemon>Log and then, provide the output of the log after restarting the appdaemon container:
  Log output here:
-----------------------------------------------------------
 Add-on: AppDaemon
 Python Apps and Dashboard using AppDaemon 4.x for Home Assistant
-----------------------------------------------------------
 Add-on version: 0.16.7
 You are running the latest version of this add-on.
 System: Home Assistant OS 13.2  (amd64 / generic-x86-64)
 Home Assistant Core: 2024.10.4
 Home Assistant Supervisor: 2024.10.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
s6-rc: info: service legacy-services successfully started
[00:57:30] INFO: Starting AppDaemon...
ERROR Error loading secrets file: /config/secrets.yaml
Traceback (most recent call last):
  File "/usr/bin/appdaemon", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/lib/python3.11/site-packages/appdaemon/__main__.py", line 417, in main
    admain.main()
  File "/usr/lib/python3.11/site-packages/appdaemon/__main__.py", line 276, in main
    if "appdaemon" not in config:
       ^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: argument of type 'NoneType' is not iterable
[00:57:41] INFO: Service AppDaemon exited with code 1 (by signal 0)
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service appdaemon: stopping
s6-rc: info: service appdaemon successfully stopped
s6-rc: info: service init-appdaemon: stopping
s6-rc: info: service init-appdaemon successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service base-addon-log-level: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service base-addon-log-level successfully stopped
s6-rc: info: service base-addon-banner: stopping
s6-rc: info: service base-addon-banner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

ADDITIONAL INFORMATION

I startted to get this problem after upgrading HA and AppDaemon from some late 2023 version. Something must have broken the setup or I dont know what

@uros76 uros76 added configuration related to configuration question Further information is requested labels Oct 26, 2024
@joBr99
Copy link
Owner

joBr99 commented Oct 26, 2024

Please see #1029

@uros76
Copy link
Author

uros76 commented Oct 26, 2024

Please see #1029

Damn, how did I miss that :( Of course this helped. Thanks a lot

@uros76 uros76 closed this as completed Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
configuration related to configuration question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants