Very cool, thank you! I may abandon my workaround of meta refreshing every 30 seconds.
Sorry but may be a lame question: you mentioned adding the transport: socketio tag into the dashboard section. AppDaemon.yaml has an hadashboard section. If possible, can you please clarify specifically which file and whether the dashboard section has a parent node, etc.
Sorry @aimc a bit of bad news and hopefully related to something being wrong with the current DEV branch. When using @algirdascās version per my instructions above, everything works as expected and tiles truly update in IOS 5.1.1 using Safari. When using the current/official DEV branch per the instructions below, the tiles donāt update until page is refreshed akin to the old/original 3.0.1 version that I had. The other issue is that certain icons donāt seem to work like on all motion sensors, etc. I can share a screenshot if desired. Please see my instructions below and let me know if Iām doing something wrongā¦ Thanks again!
cd ~
mkdir adsocks
cd adsocks
git clone https://github.com/home-assistant/appdaemon -b dev --single-branch
docker image build appdaemon --tag jzsandbox/appdaemon
sudo docker run -d --name=appdaemon3030 --restart always -it -p 3030:5050 -v /home/hass/appdaemon:/conf jzsandbox/appdaemon:latest
Got it, thanks @ReneTode!!! Yeah good old MDI icons work well outside of the Dev branch. Iām pointing to the same config folder from multiple/test AppDaemon Docker containers.
UPDATE: @ReneTode unfortunately no better news with respect to updating tiles w/o having to refresh. However my icons were fixed and Iām running these two parameters in my appdaemon.yaml > hadashboard section:
transport: socketio
fa4compatibility: 1
Iām definitely having lots of success with @algirdascās version while the same config with the official DEV branch @aimc linked to along with those parameters above in my Yaml are not yielding expected results unless I refresh.
Sadly, @aimc update is not working on my old iPad either. If there is anyone unlucky as I am, feel free to pull my SockJS implementation for AppDaemon 3.0.2 which seems to work with latest (0.83.2) HA. Brief instructions:
git pull https://github.com/algirdasc/appdaemon.git
cd appdaemon/
sh create-docker-image.sh
Wait untill image algirdasc/appdaemon is being built and then it attach to your Docker container.
Iām looking forward to getting socksjs support, Iāve got an old iPad 1 mounted on the wall, Iāve been running @algirdasc docker for some time on my synology NAS but itās just broken (I think the latest update of HA seems to have stopped the api password working). Is it possible to build the latest @algirdasc on windows?
I donāt know how to build it on Windows. If you used it previously, then do the same as the first time, but prior building image, pull newest source from github.com/algirdasc/appdaemon
Hmm, I just downloaded the docker image from https://hub.docker.com/r/algirdasc/appdaemon/, but this one is running AppDaemon 3.0.1 which shows āentity not foundā on all my components. If I stop your docker and run the latest from https://hub.docker.com/r/acockburn/appdaemon/ which is 3.0.2 the components all display correctly, it just never refreshes on the old ipad.
you cant use the same configuration with 3.0.1 and 3.0.2
3.0.1 still needs api password ( but HA has problems with that in some of the latest versions)
Thanks @ReneTode, I gathered that. Iāve added in my token to my appdaemon.yaml, which works a treat with 3.0.2, I was just asking for an updated build of @algirdasc docker with 3.0.2 so AppDaemon would once again refresh on my old ipad 1.
Thats odd. Are you sure youāve built newest docker image from my github repository? Iām using it myself and it works ok with my iPad 1 and HA 0.84.1. And of course does need long-lived token instead of legacy api password.
I was asking for someone who had the setup to build the docker to build it for me as I only have windows machines, and a synology nas. Donāt worry Iāll install an Ubuntu VM and try to build it myself.
I canāt build your image on my PI3 using the dockerfile (-rp version renamed):
the output is
Sending build context to Docker daemon 16.84MB
Step 1/10 : FROM arm32v7/python:alpine3.6
manifest for arm32v7/python:alpine3.6 not found
I also try to change the first line of dockefile in:
FROM arm32v6/python:alpine3.6
but I have this error:
Command āpython setup.py egg_infoā failed with error code 1 in /tmp/pip-build-gaza4431/cffi/
You are using pip version 9.0.1, however version 18.1 is available.
You should consider upgrading via the āpip install --upgrade pipā command.
Iāve had similar issues. Have a look at Dockerfile under the Install section and see if any of my lines below help, certainly helped meā¦ Try only leaving one line uncommented.