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 #41

Closed miaoudak closed 1 year ago

miaoudak 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.

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

image

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


- [x] Provide your apps.yaml:

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

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

fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz OK: 894 MiB in 69 packages 2022-11-02 21:08:31.473393 INFO AppDaemon: AppDaemon Version 4.2.1 starting 2022-11-02 21:08:31.473820 INFO AppDaemon: Python version is 3.9.9 2022-11-02 21:08:31.474160 INFO AppDaemon: Configuration read from: /conf/appdaemon.yaml 2022-11-02 21:08:31.474523 INFO AppDaemon: Added log: AppDaemon 2022-11-02 21:08:31.475042 INFO AppDaemon: Added log: Error 2022-11-02 21:08:31.475570 INFO AppDaemon: Added log: Access 2022-11-02 21:08:31.476011 INFO AppDaemon: Added log: Diag 2022-11-02 21:08:31.521099 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin 2022-11-02 21:08:31.565104 INFO HASS: HASS Plugin Initializing 2022-11-02 21:08:31.565624 INFO HASS: HASS Plugin initialization complete 2022-11-02 21:08:31.566469 INFO AppDaemon: Loading Plugin MQTT using class MqttPlugin from module mqttplugin 2022-11-02 21:08:31.586069 INFO MQTT: MQTT Plugin Initializing 2022-11-02 21:08:31.586534 INFO MQTT: Using 'appdaemon/status' as Will Topic 2022-11-02 21:08:31.586929 INFO MQTT: Using 'appdaemon/status' as Birth Topic 2022-11-02 21:08:31.588441 INFO AppDaemon: Initializing HTTP 2022-11-02 21:08:31.589611 INFO AppDaemon: Using 'ws' for event stream 2022-11-02 21:08:31.597978 INFO AppDaemon: Starting API 2022-11-02 21:08:31.604653 INFO AppDaemon: Starting Admin Interface 2022-11-02 21:08:31.605600 INFO AppDaemon: Starting Dashboards 2022-11-02 21:08:31.699476 INFO HASS: Connected to Home Assistant 2022.10.5 2022-11-02 21:08:31.710866 INFO MQTT: Connected to Broker at URL 192.168.1.4:8888 2022-11-02 21:08:31.756271 INFO AppDaemon: Got initial state from namespace mqtt 2022-11-02 21:08:31.757293 INFO MQTT: MQTT Plugin initialization complete 2022-11-02 21:08:31.761070 INFO AppDaemon: App 'hello_world' added 2022-11-02 21:08:31.765304 INFO AppDaemon: App 'nspanel-1' added 2022-11-02 21:08:31.767395 INFO AppDaemon: Found 2 total apps 2022-11-02 21:08:31.768531 INFO AppDaemon: Starting Apps with 2 workers and 2 pins 2022-11-02 21:08:31.771205 INFO AppDaemon: Running on port 5050 2022-11-02 21:08:31.885375 INFO HASS: Evaluating startup conditions 2022-11-02 21:08:31.893458 INFO HASS: Startup condition met: hass state=RUNNING 2022-11-02 21:08:31.894166 INFO HASS: All startup conditions met 2022-11-02 21:08:31.925233 INFO AppDaemon: Got initial state from namespace default 2022-11-02 21:08:32.079601 INFO AppDaemon: New client Admin Client connected 2022-11-02 21:08:32.222123 INFO AppDaemon: New client Admin Client connected 2022-11-02 21:08:33.784435 INFO AppDaemon: Scheduler running in realtime 2022-11-02 21:08:33.822440 INFO AppDaemon: Adding /conf/apps to module import path 2022-11-02 21:08:33.828755 INFO AppDaemon: Loading App Module: /conf/apps/hello.py 2022-11-02 21:08:33.842846 INFO AppDaemon: Initializing app hello_world using class HelloWorld from module hello 2022-11-02 21:08:34.096936 INFO hello_world: Hello from AppDaemon 2022-11-02 21:08:34.099390 INFO hello_world: You are now ready to run Apps! 2022-11-02 21:08:34.102513 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)_

Client: Docker Engine - Community
 Version:           20.10.21
 API version:       1.41
 Go version:        go1.18.7
 Git commit:        baeda1f
 Built:             Tue Oct 25 18:01:00 2022
 OS/Arch:           linux/arm64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.21
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.18.7
  Git commit:       3056208
  Built:            Tue Oct 25 17:59:20 2022
  OS/Arch:          linux/arm64
  Experimental:     false
 containerd:
  Version:          1.6.9
  GitCommit:        1c90a442489720eec95342e1789ee8a5e1b9536f
 runc:
  Version:          1.1.4
  GitCommit:        v1.1.4-0-g5fd4c4d
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0
joBr99 commented 1 year ago

hey how is your docker config for the two containers looking?

how are the volume mounts configured?

it is important that the appdaemon container is able to see the file downloaded by HACS, to archive that you need to have the volumes like this:

version: "3.5"
services:
  homeassistant:
    image: ghcr.io/home-assistant/home-assistant:stable
    container_name: homeassistant
    network_mode: host
    volumes:
      - ./docker-data/homeassistant/:/config
      - /etc/localtime:/etc/localtime:ro
    environment:
      - TZ=Europe/Berlin
    privileged: true
    restart: unless-stopped

  appdaemon:
    container_name: appdaemon
    image: acockburn/appdaemon:latest
    environment:
      - HA_URL=http://your-homeassistant-url:8123
      - TOKEN="xxxxxx"
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - ./docker-data/homeassistant/appdaemon:/conf
    depends_on:
      - homeassistant
    restart: unless-stopped
joBr99 commented 1 year ago

I've deleted the other issue, it contained your HA access token.

      token: eyJhbG_______Q

You might want to delete the Token and create a new one. Same for mqtt if this is publicly reachable.

joBr99 commented 1 year ago

Please add information about how you are starting homeassiant and appdaemon containers, in case the hint with the volumes doesn't help you.