From c718c9a21796dda1d565d224f5af187f2a1d2513 Mon Sep 17 00:00:00 2001 From: illuzn <57167030+illuzn@users.noreply.github.com> Date: Sat, 18 Nov 2023 13:21:50 +1030 Subject: [PATCH 1/5] Appdaemon v0.15.x changes --- docs/faq.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/faq.md b/docs/faq.md index 46ae16bd..cd764b61 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -27,6 +27,18 @@ Please don't modify the Full Topic in your Tasmota Config, unless you know the i - the appdaemon log, after restarting the container +## This isn't working since AppDaemon v0.15.x + +There has been an upstream change made to AppDaemon which changes where the configuration files are stored. + +You may need to change your yaml files to reflect this: + +filename | Home Assistant Share | Docker Container Location +-- | -- | -- +appdaemon.yaml | /addon_configs/a0d7b954_appdaemon/appdaemon.yaml | /config/appdaemon.yaml +apps.yaml | /addon_configs/a0d7b954_appdaemon/apps/apps.yaml | /config/apps/apps.yaml +secrets.yaml | /config/secrets.yaml | /homeassistant/secrets.yaml + ## How to update ### Update AppDaemon Script From 0091525b29454ea515655dac2923f94ac9abbe9a Mon Sep 17 00:00:00 2001 From: illuzn <57167030+illuzn@users.noreply.github.com> Date: Sat, 18 Nov 2023 13:30:13 +1030 Subject: [PATCH 2/5] AppDaemon v0.15.x fixess --- docs/configure_mqtt.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/docs/configure_mqtt.md b/docs/configure_mqtt.md index 58d8ebc5..93353797 100644 --- a/docs/configure_mqtt.md +++ b/docs/configure_mqtt.md @@ -22,17 +22,16 @@ The configuration has been moved out of the config folder from homeassistant. Th For the app to work you need a working MQTT Configuration in AppDaemon. Please add the configuration of your mqtt server, user and password to your existing `appdaemon.yaml` Restart your AppDaemon Container (not HomeAssistant) after adding the MQTT Configuration. -You will find this file in the following location: `/addon_configs/a0d7b954_appdaemon/appdeamon.yaml` +You will find this file in the following location: `/addon_configs/a0d7b954_appdaemon/appdaemon.yaml` (if using Home Assistant Addon) ```yaml --- -secrets: /homeassistant/secrets.yaml +secrets: /homeassistant/secrets.yaml # !!! Note this has changed for AppDaemon Addon >= v 0.15.0 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 @@ -52,10 +51,16 @@ admin: api: hadashboard: ``` +If you are migrating from AppDaemon Addon < v 0.15.0, your configuration folders should have been automatically moved by the addon. However, if it wasn't or if you prefer to have your configuration files stored elsewhere include the following yaml: + +```yaml +appdaemon: + app_dir: /homeassistant/appdaemon/apps/ # !!! This would point to /config/appdaemon/apps in your Home Assistant instance. +``` # Configure NsPanel on AppDaemon -Please add the following minimal configuration to your apps.yaml, which is located in `config/appdaemon/apps/apps.yaml` +Please add the following minimal configuration to your apps.yaml, which is located in `/addon_configs/a0d7b954_appdaemon/apps/apps.yaml` (if using Home Assistant Addon). ```yaml --- From 4f7ac007968f0a6a5aeebeab43911c2da4aa2b92 Mon Sep 17 00:00:00 2001 From: illuzn <57167030+illuzn@users.noreply.github.com> Date: Sat, 18 Nov 2023 13:31:06 +1030 Subject: [PATCH 3/5] AppDaemon v0.15.x changes --- appdaemon/screensaver-theme-include/apps.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appdaemon/screensaver-theme-include/apps.yaml b/appdaemon/screensaver-theme-include/apps.yaml index dadd1545..2a54d0aa 100644 --- a/appdaemon/screensaver-theme-include/apps.yaml +++ b/appdaemon/screensaver-theme-include/apps.yaml @@ -8,8 +8,8 @@ nspanel-1: updateMode: "auto-notify" screensaver: entity: weather.k3ll3r - theme: !include /config/appdaemon/apps/screensaver-theme.yaml + theme: !include /config/apps/screensaver-theme.yaml cards: - type: cardEntities entities: - - entity: switch.example_item \ No newline at end of file + - entity: switch.example_item From 62b318c3554456d30a176260b94891dffa3942b0 Mon Sep 17 00:00:00 2001 From: illuzn <57167030+illuzn@users.noreply.github.com> Date: Sat, 18 Nov 2023 13:31:32 +1030 Subject: [PATCH 4/5] Update appdaemon.yaml --- appdaemon/appdaemon.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appdaemon/appdaemon.yaml b/appdaemon/appdaemon.yaml index c979b64e..c8ca86b3 100644 --- a/appdaemon/appdaemon.yaml +++ b/appdaemon/appdaemon.yaml @@ -1,5 +1,5 @@ --- -secrets: /config/secrets.yaml +secrets: /homeassistant/secrets.yaml appdaemon: latitude: 52.0 longitude: 4.0 From d071a58b6ed499f56801470c1683d0fcc657bf6e Mon Sep 17 00:00:00 2001 From: illuzn <57167030+illuzn@users.noreply.github.com> Date: Sat, 18 Nov 2023 13:31:55 +1030 Subject: [PATCH 5/5] Update apps-theme.yaml --- appdaemon/apps-theme.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appdaemon/apps-theme.yaml b/appdaemon/apps-theme.yaml index 75f9cc60..5d0e9600 100644 --- a/appdaemon/apps-theme.yaml +++ b/appdaemon/apps-theme.yaml @@ -7,7 +7,7 @@ nspanel-1: panelSendTopic: "cmnd/tasmota_your_mqtt_topic/CustomSend" screensaver: entity: weather.k3ll3r - theme: !include /config/appdaemon/apps/screensaver-theme.yaml + theme: !include /config/apps/screensaver-theme.yaml #background: [220, 0, 0] #time: [220, 0, 255] #timeAMPM: [220, 0, 255] @@ -53,4 +53,4 @@ nspanel-1: cards: - type: cardEntities entities: - - entity: switch.example_item \ No newline at end of file + - entity: switch.example_item