Closed Cetla555 closed 9 months ago
hey, please post the log from your appdaemon addon, the log you've posted looks like the one from Mosquitto
Hi Johannes,
Thank you for you help !
I've updated with AppDaemon logs, sorry fox mixing.
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.16.0
You are running the latest version of this add-on.
System: Home Assistant OS 11.1 (armv7 / raspberrypi4)
Home Assistant Core: 2023.12.1
Home Assistant Supervisor: 2023.11.6
-----------------------------------------------------------
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
Looking in indexes: https://pypi.org/simple, https://wheels.home-assistant.io/musllinux-index/
Collecting babel
Downloading Babel-2.14.0-py3-none-any.whl.metadata (1.6 kB)
Downloading Babel-2.14.0-py3-none-any.whl (11.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.0/11.0 MB 15.3 MB/s eta 0:00:00
Installing collected packages: babel
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
Successfully installed babel-2.14.0
s6-rc: info: service init-appdaemon successfully started
s6-rc: info: service appdaemon: starting
[13:52:47] INFO: Starting AppDaemon...
s6-rc: info: service appdaemon successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
2023-12-17 13:52:52.747858 INFO AppDaemon: AppDaemon Version 4.4.2 starting
2023-12-17 13:52:52.748462 INFO AppDaemon: Python version is 3.11.6
2023-12-17 13:52:52.749041 INFO AppDaemon: Configuration read from: /config/appdaemon.yaml
2023-12-17 13:52:52.749577 INFO AppDaemon: Added log: AppDaemon
2023-12-17 13:52:52.750109 INFO AppDaemon: Added log: Error
2023-12-17 13:52:52.750730 INFO AppDaemon: Added log: Access
2023-12-17 13:52:52.751221 INFO AppDaemon: Added log: Diag
2023-12-17 13:52:53.068977 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin
2023-12-17 13:52:53.385611 INFO HASS: HASS Plugin Initializing
2023-12-17 13:52:53.386168 WARNING HASS: ha_url not found in HASS configuration - module not initialized
2023-12-17 13:52:53.386895 INFO HASS: HASS Plugin initialization complete
2023-12-17 13:52:53.387536 INFO AppDaemon: Loading Plugin MQTT using class MqttPlugin from module mqttplugin
2023-12-17 13:52:53.510130 INFO MQTT: MQTT Plugin Initializing
2023-12-17 13:52:53.510668 INFO MQTT: Using 'appdaemon/status' as Will Topic
2023-12-17 13:52:53.511099 INFO MQTT: Using 'appdaemon/status' as Birth Topic
2023-12-17 13:52:53.511996 INFO AppDaemon: Initializing HTTP
2023-12-17 13:52:53.513594 INFO AppDaemon: Using 'ws' for event stream
2023-12-17 13:52:53.520503 INFO AppDaemon: Starting API
2023-12-17 13:52:53.526103 INFO AppDaemon: Starting Admin Interface
2023-12-17 13:52:53.527008 INFO AppDaemon: Starting Dashboards
2023-12-17 13:52:53.550522 INFO HASS: Connected to Home Assistant 2023.12.1
2023-12-17 13:52:53.619373 INFO MQTT: Connected to Broker at URL 192.168.1.34:1883
2023-12-17 13:52:53.645679 WARNING AppDaemon: App 'screensaver' missing 'class' or 'module' entry - ignoring
2023-12-17 13:52:53.651381 INFO AppDaemon: Found 0 active apps
2023-12-17 13:52:53.652519 INFO AppDaemon: Found 0 inactive apps
2023-12-17 13:52:53.653699 INFO AppDaemon: Found 0 global libraries
2023-12-17 13:52:53.654784 INFO AppDaemon: Starting Apps with 0 workers and 0 pins
2023-12-17 13:52:53.656210 INFO AppDaemon: Running on port 5050
2023-12-17 13:52:53.665028 INFO AppDaemon: Got initial state from namespace mqtt
2023-12-17 13:52:53.666395 INFO MQTT: MQTT Plugin initialization complete
2023-12-17 13:52:53.719396 INFO HASS: Evaluating startup conditions
2023-12-17 13:52:53.734618 INFO AppDaemon: New client Admin Client connected
2023-12-17 13:52:53.738189 INFO HASS: Startup condition met: hass state=RUNNING
2023-12-17 13:52:53.739246 INFO HASS: All startup conditions met
2023-12-17 13:52:53.799793 INFO AppDaemon: Got initial state from namespace default
2023-12-17 13:52:55.675434 INFO AppDaemon: Scheduler running in realtime
2023-12-17 13:52:55.697530 INFO AppDaemon: Adding /homeassistant/appdaemon/apps/ to module import path
2023-12-17 13:52:55.698848 INFO AppDaemon: Adding /homeassistant/appdaemon/apps/nspanel-lovelace-ui to module import path
2023-12-17 13:52:55.699987 INFO AppDaemon: Adding /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend to module import path
2023-12-17 13:52:55.701216 INFO AppDaemon: Adding /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/translations to module import path
2023-12-17 13:52:55.702329 INFO AppDaemon: Adding /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/translations/frontend to module import path
2023-12-17 13:52:55.703300 INFO AppDaemon: Adding /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/translations/backend to module import path
2023-12-17 13:52:55.718428 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/nspanel-lovelace-ui.py - ignoring
2023-12-17 13:52:55.719796 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/controller.py - ignoring
2023-12-17 13:52:55.722426 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/updater.py - ignoring
2023-12-17 13:52:55.724730 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/icon_mapping.py - ignoring
2023-12-17 13:52:55.727226 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/theme.py - ignoring
2023-12-17 13:52:55.729275 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/localization.py - ignoring
2023-12-17 13:52:55.731379 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/helper.py - ignoring
2023-12-17 13:52:55.733303 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/pages.py - ignoring
2023-12-17 13:52:55.735439 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/icons.py - ignoring
2023-12-17 13:52:55.737873 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/mqtt.py - ignoring
2023-12-17 13:52:55.739899 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/config.py - ignoring
2023-12-17 13:52:55.742247 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/apis.py - ignoring
2023-12-17 13:52:55.744857 INFO AppDaemon: App initialization complete
Where is your apps.yaml?
It needs to be in /config/appdaemon/apps/
Yes, it is.
Thx
Can you post the content of this file again, the one you've posted above doesn't correlate with the logs from appdaemon.
Hi Johannes,
indeed, there is two apps.yaml in my setup..
I've edited one ins /a0d7b954_appdaemon/apps and there is the other on in /configs/appdaemon/apps .
And here was my mistake !
screensaver:
theme:
date: [255,255,255]
background: [0,0,0]
time : [255,255,255]
statusIcon1:
entity: binary_sensor.is_washing_machine_running
icon:
"on": mdi:washing-machine
"off": mdi:washing-machine
color:
"on": [255,0,0]
"off": [0,0,0]
statusIcon2:
entity: binary_sensor.is_tumble_dryer_running
icon:
"on": mdi:tumble-dryer
"off": mdi:tumble-dryer
color:
"on": [255,0,0]
"off": [0,0,0]
entities:
- entity: weather.forecast_maison
type: 0
- entity: sensor.capteur_salon_temperature
name: Intérieur
color: '{{iif(states("switch.prise_chaudiere") == "off", "[255,255,255]", "[255,0,0]")}}'
- entity: sensor.capteur_exterieur_temperature
name: Dehors
color: '{{iif(states("sensor.capteur_exterieur_temperature") |float < 20, "[0,0,255]", "[255,165,0]")}}'
- entity: sensor.waze_travel_time
name: Travail
icon: mdi:car
color: '{{iif(state_attr("sensor.waze_travel_time","distance") < 30, "[0,255,0]", "[255,165,0]")}}'
- entity: sensor.trajet_creche
name: Crèche
icon: mdi:car
color: '{{iif(state_attr("sensor.trajet_creche","distance") < 15, "[0,255,0]", "[255,165,0]")}}'
delete the apps.yaml in a0d7b954_appdaemon and move it's content to the file in configs
it's working Thank you so much for your help and time !
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!
appdaemon: latitude: 52.0 longitude: 4.0 elevation: 2 time_zone: Europe/Berlin app_dir: /homeassistant/appdaemon/apps/ # !!! This is really important for AppDaemon HA Addon >= 15 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.
http: url: http://192.168.1.34:5050 admin: api: hadashboard:
apps.yaml here:
nspanel-1: module: nspanel-lovelace-ui class: NsPanelLovelaceUIManager config: panelRecvTopic: "tele/tasmota_nspanel/RESULT" panelSendTopic: "cmnd/tasmota_nspanel/CustomSend" model: eu cards:
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.16.0 You are running the latest version of this add-on. System: Home Assistant OS 11.1 (armv7 / raspberrypi4) Home Assistant Core: 2023.12.1 Home Assistant Supervisor: 2023.11.6
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 Looking in indexes: https://pypi.org/simple, https://wheels.home-assistant.io/musllinux-index/ Collecting babel Downloading Babel-2.14.0-py3-none-any.whl.metadata (1.6 kB) Downloading Babel-2.14.0-py3-none-any.whl (11.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.0/11.0 MB 15.3 MB/s eta 0:00:00 Installing collected packages: babel 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 Successfully installed babel-2.14.0 s6-rc: info: service init-appdaemon successfully started s6-rc: info: service appdaemon: starting [13:52:47] INFO: Starting AppDaemon... s6-rc: info: service appdaemon successfully started s6-rc: info: service legacy-services: starting s6-rc: info: service legacy-services successfully started 2023-12-17 13:52:52.747858 INFO AppDaemon: AppDaemon Version 4.4.2 starting 2023-12-17 13:52:52.748462 INFO AppDaemon: Python version is 3.11.6 2023-12-17 13:52:52.749041 INFO AppDaemon: Configuration read from: /config/appdaemon.yaml 2023-12-17 13:52:52.749577 INFO AppDaemon: Added log: AppDaemon 2023-12-17 13:52:52.750109 INFO AppDaemon: Added log: Error 2023-12-17 13:52:52.750730 INFO AppDaemon: Added log: Access 2023-12-17 13:52:52.751221 INFO AppDaemon: Added log: Diag 2023-12-17 13:52:53.068977 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin 2023-12-17 13:52:53.385611 INFO HASS: HASS Plugin Initializing 2023-12-17 13:52:53.386168 WARNING HASS: ha_url not found in HASS configuration - module not initialized 2023-12-17 13:52:53.386895 INFO HASS: HASS Plugin initialization complete 2023-12-17 13:52:53.387536 INFO AppDaemon: Loading Plugin MQTT using class MqttPlugin from module mqttplugin 2023-12-17 13:52:53.510130 INFO MQTT: MQTT Plugin Initializing 2023-12-17 13:52:53.510668 INFO MQTT: Using 'appdaemon/status' as Will Topic 2023-12-17 13:52:53.511099 INFO MQTT: Using 'appdaemon/status' as Birth Topic 2023-12-17 13:52:53.511996 INFO AppDaemon: Initializing HTTP 2023-12-17 13:52:53.513594 INFO AppDaemon: Using 'ws' for event stream 2023-12-17 13:52:53.520503 INFO AppDaemon: Starting API 2023-12-17 13:52:53.526103 INFO AppDaemon: Starting Admin Interface 2023-12-17 13:52:53.527008 INFO AppDaemon: Starting Dashboards 2023-12-17 13:52:53.550522 INFO HASS: Connected to Home Assistant 2023.12.1 2023-12-17 13:52:53.619373 INFO MQTT: Connected to Broker at URL 192.168.1.34:1883 2023-12-17 13:52:53.645679 WARNING AppDaemon: App 'screensaver' missing 'class' or 'module' entry - ignoring 2023-12-17 13:52:53.651381 INFO AppDaemon: Found 0 active apps 2023-12-17 13:52:53.652519 INFO AppDaemon: Found 0 inactive apps 2023-12-17 13:52:53.653699 INFO AppDaemon: Found 0 global libraries 2023-12-17 13:52:53.654784 INFO AppDaemon: Starting Apps with 0 workers and 0 pins 2023-12-17 13:52:53.656210 INFO AppDaemon: Running on port 5050 2023-12-17 13:52:53.665028 INFO AppDaemon: Got initial state from namespace mqtt 2023-12-17 13:52:53.666395 INFO MQTT: MQTT Plugin initialization complete 2023-12-17 13:52:53.719396 INFO HASS: Evaluating startup conditions 2023-12-17 13:52:53.734618 INFO AppDaemon: New client Admin Client connected 2023-12-17 13:52:53.738189 INFO HASS: Startup condition met: hass state=RUNNING 2023-12-17 13:52:53.739246 INFO HASS: All startup conditions met 2023-12-17 13:52:53.799793 INFO AppDaemon: Got initial state from namespace default 2023-12-17 13:52:55.675434 INFO AppDaemon: Scheduler running in realtime 2023-12-17 13:52:55.697530 INFO AppDaemon: Adding /homeassistant/appdaemon/apps/ to module import path 2023-12-17 13:52:55.698848 INFO AppDaemon: Adding /homeassistant/appdaemon/apps/nspanel-lovelace-ui to module import path 2023-12-17 13:52:55.699987 INFO AppDaemon: Adding /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend to module import path 2023-12-17 13:52:55.701216 INFO AppDaemon: Adding /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/translations to module import path 2023-12-17 13:52:55.702329 INFO AppDaemon: Adding /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/translations/frontend to module import path 2023-12-17 13:52:55.703300 INFO AppDaemon: Adding /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/translations/backend to module import path 2023-12-17 13:52:55.718428 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/nspanel-lovelace-ui.py - ignoring 2023-12-17 13:52:55.719796 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/controller.py - ignoring 2023-12-17 13:52:55.722426 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/updater.py - ignoring 2023-12-17 13:52:55.724730 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/icon_mapping.py - ignoring 2023-12-17 13:52:55.727226 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/theme.py - ignoring 2023-12-17 13:52:55.729275 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/localization.py - ignoring 2023-12-17 13:52:55.731379 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/helper.py - ignoring 2023-12-17 13:52:55.733303 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/pages.py - ignoring 2023-12-17 13:52:55.735439 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/icons.py - ignoring 2023-12-17 13:52:55.737873 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/mqtt.py - ignoring 2023-12-17 13:52:55.739899 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/config.py - ignoring 2023-12-17 13:52:55.742247 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/nspanel-lovelace-ui/luibackend/apis.py - ignoring 2023-12-17 13:52:55.744857 INFO AppDaemon: App initialization complete