hass@debbie:~$ pip show aiohttp
Name: aiohttp
Version: 1.2.0
Somehow mine works and I have no virtual environment running at all. I did a clean install of debian on an old PC last week and both Hass and Appdaemon v2B3 seem to be running fine with aiohttp 1.2.0. I have no idea how to check dependencies or anything so I basically installed everything listed in the Appdaemon instructions immediately after installing Hass.
So perhaps sudo pip3 install 'aiohttp==1.2.0' performs a downgrade and lets everything still work?
I was using Chromium until recently, but I had an issue with a small screen (320x240): the minimum window width is more than 240 pixels, so the window was cropped. I switched to uzbl, it doesnāt have the issue, and is much more lightweight. Definitely worth the try, if youāre running something more than the browser on your Pi
If you arenāt running AppleTv, then HA still seems to work on the old 1.x version. But if you have the appletv media player installed, you have to go to the 2.x version of aiohttp. Nice undocumented feature of the .41 release.
So the latest upgrade to .42 broke HADashboard for me with itās auto aiohttp upgrade.
Iām not sure of the consequences but after launching hass once with aiohttp 2.0.5 in place and then downgrading via sudo pip3 install 'aiohttp==1.2.0' and a quick sudo reboot I am able to get HADashboard working again.
Forgive the linux noob questionā¦
Am I going to have to reinstall Hass in a virtual Env to let the appdaemon have its way with aiohttp? Or is there another way I can make them both happy? Running under another user?
You can run one or both under Docker. Docker is interesting because it isnāt the overhead of a VM, it just creates an isolated world for an application. Honestly I cannot fathom deploying āserverā apps without it anymore. I think people fighting with dependency versions and Linux distribution differences are freakin crazy
Iām working on a guide and some small updates that will hopefully be part of v2. It honestly is quite straightforward, it just takes time to āget itā but in the end you are down to single commands to install and upgrade appdaemon. i am actually running v1 and v2 side by side right now, v2 just for the dashboard. (Not that Iām really worried that v2 canāt do the job, but, why mess around?)
Does aiohttp 2.05 just break the dashboard, or does it break appdaemon in general. Iām still running the dashboard on a separate machine and my āautomationā AD on the machine with HA. So my question is can I upgrade HA without breaking my āautomationā AD?
If you want to give it a shotā¦ Need feedback on peopleās differences. Itās written around a x86 Docker build on my Hub for now, and next we need the Raspberry Pi (ARM) support worked out. Problem is Docker Hub canāt auto-build ARM ā itās easy enough to pull the git and build local, but, Iād like to do something more streamlined. People are doing it for HASS today so just have to set it all up
Yah, in the end I agree, for the sake of when it was brand new it was easier to do it that way, just in case something went wrong. Appdaemon is āsimpleā in the scheme of things
I can bounce back my HASS when upgrading pretty trivially though, if 0.42 breaks me I can hop back to 0.40 in a few seconds. I also have a stack of stuff on a Pi, and I change my mind on what Iām running. Itās just mentally easier for me to process it all, and the Pi itself remains totally clean.
I used to run virtual machines for similar cleanliness, and for instance my NAS now, that used to be 12GB of VMs on a beefier box, but now itās around 1GB running of Docker apps on an appliance, and actually thereās more apps now. Iām a pretty big fan
i just read that piece about docker but it seems like a lot off hassle to me.
in appdaemon i use, edit and create files all over my rpi.
as i see it that isnt possible without creating those parts as part of the persistent part.
since i am using appdaemon and dashboard i see people with docker problems about every say.
i rather have a small problem that lots of other people have when upgrading once in a while (i update AD and hass about once in 2 months or so) then lots off problems keeping everything in containers.
Definitely an agree to disagree thing, but itās clear we have completely different app deployment mindsets. Your statement of āfiles all over your piā freaks me the heck out from a design perspective. But the cool thing with open source stuff is we can all win and have all the options available.
For the Docker issues here, I think itās really a lack of supporting Docker in the source. Iāve had steps in the threads that get lost and people are solving the same issues over and over again, so just taking the approach of helping @aimc in the source repo so it works best out of the gate for people who want that option.
My personal inclination has been the same as Reneās, however, the plus side of docker is that it makes deployment very simple and foolproof which helps cut down on installation questions, and it seems a lot of people like this. So, if we are going to support Docker we will do the best we can with it and fortunately @quadportnick is helping me! Maybe Iāll even become a convert myself
Haha maybe. I agree its a hard sell for you guys who are hacking down in that code a lot, it creates some complexity for you for sure. Where these things start shining are in very complicated, multi component scenarios, where you have n-tier apps and all of those pieces and orchestrating them together, and especially if you are concerned about deploying somewhere elseā¦
Weāre kind of touching on those benefits, in these small home user ways, so it can seem a bit much especially to folks who like getting dirty. I expect there are many who just want that āI just want this to run!ā mentality and think pip is just a cute word.
Also Iām seeing Docker pop up on consumer grade NAS devices to run apps lately, as from THEIR perspective the modularization makes their world so much easier. I expect that could translate to a GUI experience for deploying&maintaining Appdaemon on those boxes.
The last thought being: Appdaemon is kind of an advanced tool to start with, however, I think HADashboard is putting it on the radars of more people who will never touch the Python side, so, itās getting into more muggle territories that way
Iām a big user of docker for everything I can, probably have about 12-15 containers. Can cause difficulties when trying to dev inside one but for just running things I donāt think I could ever switch back to just using a bunch of small virtual machines.
@aimc are the widgets in beta3 is the format/syntax/code that you wanted to redo moving forward? Just asking as I wanted to look at making a widget and am fine waiting till the widget syntax in where you want it.