qolsysgw icon indicating copy to clipboard operation
qolsysgw copied to clipboard

App Daemon update from 0.14 to 0.15 - need change in installation instructions

Open amogh79 opened this issue 1 year ago • 11 comments

Hi,

Please find attached the screenshot for the update of AppDaemon and the folder structure is changing. Please update the instructions to reflect these changes.

Thanks Amogh AppDaemonUpdate

amogh79 avatar Nov 22 '23 22:11 amogh79

This only applies to people using the AppDaemon add-on and HASSOS if I'm not mistaken? In which case, this shouldn't require any update of documentation for qolsysgw since its documentation only has a link for the add-on setup, not a full guide!

xaf avatar Nov 23 '23 00:11 xaf

@XaF there are instructions which specify settings in appdaemon.yml and apps.yml. Now these files are moved to addon_configs/xyz_appdaemon

amogh79 avatar Nov 25 '23 04:11 amogh79

Which part of the documentation are you referring too? The main documentation has been written with docker setup in mind (not HASSOS and addons), but should work for both. I can add a callout if there's a place that specifies paths, but I do not have / use the addons approach so won't be able to write something accurate. I'm open to a pull request to update the documentation though!

xaf avatar Jan 04 '24 03:01 xaf

I have the same thing and using HASSOS. The QolsysGW-app is installed in a directory that AppDaemon does not use after the update. I managed to find that it was possible to point out to appdaemon where the apps are installed by adding "app_dir" configuration in the appdaemon.yaml file. Can this be a solution or? Not an expert in this topics I'm afraid.

Tobbe7612 avatar Jan 08 '24 00:01 Tobbe7612

The QolsysGW-app is installed in a directory that AppDaemon does not use after the update

That is surprising - could that be a HACS configuration change? I could add a disclaimer for installation location for manual installs, but that won't help for installations done through HACS (which is the preferred way) if it's not doing the right thing when using addons

EDIT: This indeed does not seem configurable in HACS: https://hacs.xyz/docs/categories/appdaemon_apps#appdaemon-apps-download-location

xaf avatar Jan 08 '24 00:01 xaf

Don't you think it might be possible to just point the AppDamon application to the correct path?

Tobbe7612 avatar Jan 08 '24 00:01 Tobbe7612

You're right! Following your previous comment mentioning app_dir, seems that it would be the approach to take. I was able to find this other comment that suggests the same approach: https://github.com/hassio-addons/addon-appdaemon/issues/302#issuecomment-1816194738

So I guess the simplest solution to this is to add in AppDaemon configuration the app_dir parameter to tell it to behave as it always behaved before that latest update 😅

Will have to think about how to convey that in the documentation since I mostly wrote it with a docker manual setup in mind, while using that or HASSOS was pretty much the same idea.

xaf avatar Jan 08 '24 00:01 xaf

Thanks, I will try this tomorrow

Tobbe7612 avatar Jan 08 '24 00:01 Tobbe7612

It didn't work for me. Got some Mqtt issues. Might be a local problem for me but it seems like there is a complain about bad protocol in the logs

Tobbe7612 avatar Jan 09 '24 09:01 Tobbe7612

Are you talking about AppDaemon logs ? Home Assistant logs ? MQTT logs ?

xaf avatar Jan 10 '24 03:01 xaf

Solved it! Stupid error from my side. Sorry

Tobbe7612 avatar Feb 02 '24 21:02 Tobbe7612