Closed LEGOFF0612 closed 1 year ago
Hey, I guess there is something wrong with your volume mount for the /conf
folder.
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
You need see thoose files within your appdaemon container:
They are downloaded by HACS within the homeassistant container.
Thanks for your answers :
There is something wrong with the volume mount for homeassistant and for appdaemon :
So I change appdameon volume -> ../Apps/homeassistant/config/appdaemon:/conf When I deploy the stack nspanel-lovelace-ui folder was created
and it works now
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](https://user-images.githubusercontent.com/83475729/209685442-af548264-8f7a-451d-9ae4-e23d2485f032.png)
[ ] Provide your appdaemon.yaml:
appdaemon: latitude: 48.43343092781407 longitude: -4.570270904930368 elevation: 2 time_zone: Europe/Paris plugins: HASS: type: hass ha_url: http://192.168.1.30:8123 token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiI4MDcwMjFkNGJjMGM0ZWI5OGNhYmI3NDQ5NmE0NTllNiIsImlhdCI6MTY3MjEzOTk5OCwiZXhwIjoxOTg3NDk5OTk4fQ.D9BqnUfntHG76pKVRhrxNbcYFo_xgQKfm6QIDWX_Yig"
http: url: http://192.168.1.30:5050 admin: api: hadashboard:
apps.yaml here:
hello_world: module: hello class: HelloWorld
nspanel_salon: module: nspanel-lovelace-ui class: NsPanelLovelaceUIManager config: panelRecvTopic: "tele/nspanel_salon/RESULT" panelSendTopic: "cmnd/nspanel_salon/CustomSend" locale: "fr_FR" model: eu
Log output here:
2022-12-27 17:13:29.333699 INFO AppDaemon: Added log: Diag 2022-12-27 17:13:29.344857 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin 2022-12-27 17:13:29.354365 INFO HASS: HASS Plugin Initializing 2022-12-27 17:13:29.354483 WARNING HASS: ha_url not found in HASS configuration - module not initialized 2022-12-27 17:13:29.354596 INFO HASS: HASS Plugin initialization complete 2022-12-27 17:13:29.354745 INFO AppDaemon: Loading Plugin MQTT using class MqttPlugin from module mqttplugin 2022-12-27 17:13:29.357323 INFO MQTT: MQTT Plugin Initializing 2022-12-27 17:13:29.357438 INFO MQTT: Using 'appdaemon/status' as Will Topic 2022-12-27 17:13:29.357545 INFO MQTT: Using 'appdaemon/status' as Birth Topic 2022-12-27 17:13:29.357801 INFO AppDaemon: Initializing HTTP 2022-12-27 17:13:29.357961 INFO AppDaemon: Using 'ws' for event stream 2022-12-27 17:13:29.359554 INFO AppDaemon: Starting API 2022-12-27 17:13:29.360776 INFO AppDaemon: Starting Admin Interface 2022-12-27 17:13:29.360949 INFO AppDaemon: Starting Dashboards 2022-12-27 17:13:29.362386 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds 2022-12-27 17:13:29.367402 INFO AppDaemon: App 'hello_world' added 2022-12-27 17:13:29.367942 INFO AppDaemon: App 'nspanel_salon' added 2022-12-27 17:13:29.368062 INFO AppDaemon: Found 2 total apps 2022-12-27 17:13:29.368208 INFO AppDaemon: Starting Apps with 2 workers and 2 pins 2022-12-27 17:13:29.368560 INFO AppDaemon: Running on port 5050 2022-12-27 17:13:29.369348 INFO MQTT: Connected to Broker at URL 192.168.1.20:1883 2022-12-27 17:13:30.365853 INFO AppDaemon: Got initial state from namespace mqtt 2022-12-27 17:13:30.366065 INFO MQTT: MQTT Plugin initialization complete 2022-12-27 17:13:30.960641 INFO AppDaemon: New client Admin Client connected 2022-12-27 17:13:34.364630 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds 2022-12-27 17:13:39.366594 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds 2022-12-27 17:13:44.368907 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds 2022-12-27 17:13:49.370536 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds 2022-12-27 17:13:54.372717 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds 2022-12-27 17:13:59.375670 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds 2022-12-27 17:14:04.378660 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds 2022-12-27 17:14:09.381949 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds 2022-12-27 17:14:14.385113 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds 2022-12-27 17:14:19.386652 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds 2022-12-27 17:14:24.388862 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds 2022-12-27 17:14:29.390672 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds 2022-12-27 17:14:34.392835 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds 2022-12-27 17:14:39.394587 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds 2022-12-27 17:14:44.396534 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds 2022-12-27 17:14:49.398616 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds 2022-12-27 17:14:54.400544 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds 2022-12-27 17:14:59.402597 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds 2022-12-27 17:15:04.404398 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds 2022-12-27 17:15:09.406598 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds 2022-12-27 17:15:14.408506 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds 2022-12-27 17:15:14.872306 INFO AppDaemon: SIGTERM Received 2022-12-27 17:15:14.872516 INFO AppDaemon: AppDaemon is shutting down 2022-12-27 17:15:14.872702 INFO MQTT: Stopping MQTT Plugin and Unsubscribing from URL 192.168.1.20:1883 2022-12-27 17:15:19.413458 INFO HASS: Disconnecting from Home Assistant 2022-12-27 17:15:19.413880 INFO AppDaemon: Saving all namespaces 2022-12-27 17:15:19.414125 INFO AppDaemon: AppDaemon is stopped. fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz OK: 921 MiB in 69 packages 2022-12-27 17:15:20.815719 INFO AppDaemon: AppDaemon Version 4.2.1 starting 2022-12-27 17:15:20.815893 INFO AppDaemon: Python version is 3.9.9 2022-12-27 17:15:20.815990 INFO AppDaemon: Configuration read from: /conf/appdaemon.yaml 2022-12-27 17:15:20.816076 INFO AppDaemon: Added log: AppDaemon 2022-12-27 17:15:20.816173 INFO AppDaemon: Added log: Error 2022-12-27 17:15:20.816248 INFO AppDaemon: Added log: Access 2022-12-27 17:15:20.816314 INFO AppDaemon: Added log: Diag 2022-12-27 17:15:20.825632 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin 2022-12-27 17:15:20.833945 INFO HASS: HASS Plugin Initializing 2022-12-27 17:15:20.834034 INFO HASS: HASS Plugin initialization complete 2022-12-27 17:15:20.834164 INFO AppDaemon: Loading Plugin MQTT using class MqttPlugin from module mqttplugin 2022-12-27 17:15:20.836854 INFO MQTT: MQTT Plugin Initializing 2022-12-27 17:15:20.836937 INFO MQTT: Using 'appdaemon/status' as Will Topic 2022-12-27 17:15:20.837033 INFO MQTT: Using 'appdaemon/status' as Birth Topic 2022-12-27 17:15:20.837244 INFO AppDaemon: Initializing HTTP 2022-12-27 17:15:20.837421 INFO AppDaemon: Using 'ws' for event stream 2022-12-27 17:15:20.838757 INFO AppDaemon: Starting API 2022-12-27 17:15:20.839953 INFO AppDaemon: Starting Admin Interface 2022-12-27 17:15:20.840121 INFO AppDaemon: Starting Dashboards 2022-12-27 17:15:20.844135 INFO HASS: Connected to Home Assistant 2022.12.8 2022-12-27 17:15:20.852095 INFO MQTT: Connected to Broker at URL 192.168.1.20:1883 2022-12-27 17:15:20.854244 INFO AppDaemon: App 'hello_world' added 2022-12-27 17:15:20.854749 INFO AppDaemon: Got initial state from namespace mqtt 2022-12-27 17:15:20.854879 INFO MQTT: MQTT Plugin initialization complete 2022-12-27 17:15:20.855132 INFO AppDaemon: App 'nspanel_salon' added 2022-12-27 17:15:20.855559 INFO AppDaemon: Found 2 total apps 2022-12-27 17:15:20.856406 INFO AppDaemon: Starting Apps with 2 workers and 2 pins 2022-12-27 17:15:20.857044 INFO AppDaemon: Running on port 5050 2022-12-27 17:15:20.875381 INFO HASS: Evaluating startup conditions 2022-12-27 17:15:20.876944 INFO HASS: Startup condition met: hass state=RUNNING 2022-12-27 17:15:20.877057 INFO HASS: All startup conditions met 2022-12-27 17:15:20.884029 INFO AppDaemon: Got initial state from namespace default 2022-12-27 17:15:22.878188 INFO AppDaemon: Scheduler running in realtime 2022-12-27 17:15:22.879513 INFO AppDaemon: Adding /conf/apps to module import path 2022-12-27 17:15:22.880317 INFO AppDaemon: Loading App Module: /conf/apps/hello.py 2022-12-27 17:15:22.882671 INFO AppDaemon: Initializing app hello_world using class HelloWorld from module hello 2022-12-27 17:15:22.928269 INFO hello_world: Hello from AppDaemon 2022-12-27 17:15:22.928752 INFO hello_world: You are now ready to run Apps! 2022-12-27 17:15:22.929566 INFO AppDaemon: App initialization complete 2022-12-27 17:15:22.965103 INFO AppDaemon: New client Admin Client connected 2022-12-27 17:15:37.753023 INFO AppDaemon: Client disconnection from Admin Client 2022-12-27 17:15:37.894222 INFO AppDaemon: New client Admin Client connected 2022-12-27 17:15:39.266546 INFO AppDaemon: Client disconnection from Admin Client 2022-12-27 17:15:39.385501 INFO AppDaemon: New client Admin Client connected 2022-12-27 17:15:40.159317 INFO AppDaemon: Client disconnection from Admin Client 2022-12-27 17:15:40.260690 INFO AppDaemon: New client Admin Client connected
appdaemon: container_name: appdaemon image: acockburn/appdaemon:latest environment:
5050:5050
depends_on: