Closed mradziwo closed 6 years ago
in your thread at: https://community.home-assistant.io/t/heaty-a-flexible-heating-control-facilitating-schedules-and-manual-interv
You have mentioned you'd prefer getting issues posted here rather on forum.
Could I kindly ask whether I did something incorrect with posting this issue here? Is the problem resolved?
No, you did everything perfectly right.
The issue has been closed automatically because I resolved it in a commit. :-) I also created a bugfix release (0.12.1) which you can upgrade to.
Thanks for reporting!
Best regards Robert
unfortunately
pip install --upgrade pip setuptools wheel
pip install --upgrade hass_apps
dodn't made any resolution. Should one set it up directly from your repository rather than form pip?
Wouldn't then be a good idea to make a dedicated docker for hass_apps ? It could easily expose appdeamon config file, while making sure newest builds are intact and in place.
Have you restarted appdaemon? Does the appdaemon log show Heaty to be version 0.12.1?
Creating a docker image containing nothing more than hass_apps wouldn't make sense, since you need to have appdaemon in the same environment as hass_apps. I wrote about it in the Getting started section.
BTW, having installed hass_apps in a separate virtualenv allows for really easy upgrading without influencing other applications.
my carelessnes.. after restart of appdaemon I've got it correct:
2018-03-05 20:19:03.956663 INFO heaty: --- heaty v0.12.1 initialization started
I would made a discussion on whether having dedicated docker makes no sense. I see a perfect sense in having an isolated container serving purpose of hass_apps. Even with bare dedicated instance of appdaemon - as those applications are strongly entangled.
The actual important question is in how it will possibly fit hassio - as it seems to be the main direction now. I personally still run good'n'old home assistant on server.
hass_apps isn't coupled to appdaemon more than any other app you'd might write yourself. I'm strongly against running multiple appdaemon instances, each serving just a single app. You'd also run into problems when using the dashboard component, because state publishing from inside an app isn't distributed among different appdaemon instances.
I'm not planning to use hassio in the foreseeable future, because I find it to be too restricted for my needs. I want to be able to swap out libraries and components as I develop, and a well-organized virtualenv setup fits really well to this purpose.
BTW, I filed an issue for appdaemon, proposing adding a config variable to the dockerfile in order to specify python packages to install/upgrade when appdaemon starts. It was accepted, but I don't know when it will get integrated.
My error, I should have named it "depend on" rather than coupled - which infers cross dependences. It indeed may be in internal workings of appdeamon that it's not suitable for multiple instantiation - my experience does not reach there.
Would not support for RPC (remote procedure call like grpc's of google) be a better approach to add in appdaemon? Then with provision of interface declaration and pointer in config, one could invoke nearly arbitrary code in other computing instance f.ex. dedicated docker containing hass_apps. It's just a long throw idea, but what do you think about it?
Best regards, Michał Radziwon
On 5 March 2018 at 21:53, Robert Schindler notifications@github.com wrote:
hass_apps isn't coupled to appdaemon more than any other app you'd might write yourself. I'm strongly against running multiple appdaemon instances, each serving just a single app. You'd also run into problems when using the dashboard component, because state publishing from inside an app isn't distributed among different appdaemon instances.
I'm not planning to use hassio in the foreseeable future, because I find it to be too restricted for my needs. I want to be able to swap out libraries and components as I develop, and a well-organized virtualenv setup fits really well to this purpose.
BTW, I filed an issue for appdaemon, proposing adding a config variable to the dockerfile in order to specify python packages to install/upgrade when appdaemon starts. It was accepted, but I don't know when it will get integrated.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/efficiosoft/hass_apps/issues/7#issuecomment-370561505, or mute the thread https://github.com/notifications/unsubscribe-auth/AI1rE2U3ClxweWuiC6FSO0RpuDzcBtqOks5tbaXlgaJpZM4SbfZ0 .
I don't know GRPC's. But I think you make things more complicated than they actually are. You are of course free to build your own docker image with appdaemon + hass_apps if you really think it would help you manage dependencies better. But you could also just run pip install --upgrade hass_apps
on every appdaemon startup.
Don't get me wrong. Docker is cool and really useful. But I simply don't use it for home automation and thus won't provide an image for hass_apps.
fine and done... thanks for interesting dispute.
Have a nice evening!
Best regards, Michał Radziwon
On 5 March 2018 at 22:23, Robert Schindler notifications@github.com wrote:
Don't get me wrong. Docker is cool and really useful. But I simply don't use it for home automation and thus won't provide an image for hass_apps.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/efficiosoft/hass_apps/issues/7#issuecomment-370570664, or mute the thread https://github.com/notifications/unsubscribe-auth/AI1rE-3Z7fUEXFzlC8yGAnVMoqS3jeHRks5tbay_gaJpZM4SbfZ0 .
You seem to be familiar with using Docker. Maybe you'd like to share your image with others? If you'd like to do so, I could mention it in the docs if you want me to.
I'd really like to have contributed more to the dispute, but I'm neither an appdaemon nor a docker expert. Maybe people find it useful to have both bundled into one image.
I just thought about it again. How about waiting for this one to be implemented?
https://github.com/home-assistant/appdaemon/issues/235
One could then easily create a custom number of containers, each running just one single app, configurable with just a single variable. Even specifying a strict version to install is possible.
Thanks for link! That's definitely a interesting way to go.
Best regards, Michał Radziwon
On 6 March 2018 at 11:12, Robert Schindler notifications@github.com wrote:
I just thought about it again. How about waiting for this issue one to be implemented?
home-assistant/appdaemon#235 https://github.com/home-assistant/appdaemon/issues/235
One could then easily create a custom number of containers, each running just one single app, configurable with just a single variable. Even specifying a strict version to install is possible.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/efficiosoft/hass_apps/issues/7#issuecomment-370731678, or mute the thread https://github.com/notifications/unsubscribe-auth/AI1rE2XeDd2tzYHPxbDk7uN-12KBXZyPks5tbmEhgaJpZM4SbfZ0 .
I have tried to set-up a heaty inscance on my machine and I have hit the problem at startup.
My settings are:
Heaty: heaty v0.12.0 Home Assistant: 0.61.1 AppDaemon Version 3.0.0b4
app.yaml
AppDaemon STDout:
AppDaemon STDError: