The upcoming version will support the new internal web socket streams exposed by Hass.io.
This would solve these problems all together, so maybe it is time to retry
Release: AppDaemon v0.4.0
This release adds full support for an internet WebSocket connection via an proxy that Hass.io now provides!
Recommended for Hass.io users:
- Change
commtype
in the add-on config towebsockets
- Change your
appdaemon.yml
file to use:ha_url: http://hassio/homeassistant
Furthermore, this release allows the installation of custom system & python packages :
Added
- Adds support for installing custom system and Python packages
Changed
- Pass local CircleCI Docker socket into the build container
- Use image tagged as test as a cache resource
- Prevents possible future Docker login issue
- Upgrades add-on base image to v1.3.1
- Updated maintenance year, it is 2018
Removed
- Removes Microbadger notification hooks
This update is now available in your Hass.io panel.
cool
just confused with part changing ha_url: http://hassio/homeassistant
i have at moment ha_url: https://MyName.duckdns.org:8123 and works normal
i have tryed other ways nothing, just trying to figuer out what you mean by http://hassio/homeassistant
point me on right direction?
thanks
HI @frenck,
Is this supposed to be happening? (changed to hassio/homeassistant, and also changed the 127.0.0.1 into hassio/homeassistant, same result):
2018-01-08 19:24:03.176011 INFO Got initial state
2018-01-08 19:24:03.179030 INFO Reloading Module: /config/appdaemon/apps/hello.py
2018-01-08 19:24:03.183584 INFO Loading Object hello_world using class HelloWorld from module hello
2018-01-08 19:24:03.192521 INFO hello_world: Hello from AppDaemon
2018-01-08 19:24:03.200624 INFO hello_world: You are now ready to run Apps!
2018-01-08 19:24:03.201173 INFO App initialization complete
2018-01-08 19:24:03.219680 WARNING Disconnected from Home Assistant, retrying in 5 seconds
2018-01-08 19:24:08.511527 INFO Got initial state
2018-01-08 19:24:08.514023 INFO Reloading Module: /config/appdaemon/apps/hello.py
2018-01-08 19:24:08.517648 INFO Loading Object hello_world using class HelloWorld from module hello
2018-01-08 19:24:08.525100 INFO hello_world: Hello from AppDaemon
2018-01-08 19:24:08.532652 INFO hello_world: You are now ready to run Apps!
2018-01-08 19:24:08.533207 INFO App initialization complete
2018-01-08 19:24:08.549293 WARNING Disconnected from Home Assistant, retrying in 5 seconds
2018-01-08 19:24:13.933602 INFO Got initial state
2018-01-08 19:24:13.935627 INFO Reloading Module: /config/appdaemon/apps/hello.py
2018-01-08 19:24:13.938586 INFO Loading Object hello_world using class HelloWorld from module hello
2018-01-08 19:24:13.945247 INFO hello_world: Hello from AppDaemon
2018-01-08 19:24:13.951498 INFO hello_world: You are now ready to run Apps!
2018-01-08 19:24:13.952021 INFO App initialization complete
2018-01-08 19:24:13.965615 WARNING Disconnected from Home Assistant, retrying in 5 seconds
I have the same issue, see this issue on Github, which also contains a working url.
https://github.com/hassio-addons/addon-appdaemon/issues/7
getting a strange error with regard to the supervisor version. Is this a common issue?
Hi,
I have this add-on mostly working. The Dashborad loads up and there are no error messages. Here are my configs in appdaemon.yaml:
AppDaemon:
logfile: STDOUT
errorfile: STDERR
threads: 10
app_dir: /config/appdaemon/apps
api_port: 3030
cert_verify: True
cert_path: /ssl/cert.pem
api_ssl_certificate: /ssl/fullchain.pem
api_ssl_key: /ssl/privkey.pem
HASS:
ha_url: http://myLocalIP:8123
ha_key: myPassword
HADashboard:
dash_url: http://127.0.0.1:5050
dash_dir: /config/appdaemon/dashboards
# Apps
hello_world:
module: hello
class: HelloWorld
Results from logs:
starting version 3.2.4
[services.d] done.
2018-01-12 17:51:09.798115 INFO AppDaemon Version 2.1.12 starting
2018-01-12 17:51:09.798788 INFO Configuration read from: /config/appdaemon/appdaemon.yaml
2018-01-12 17:51:10.030203 INFO Starting Apps
2018-01-12 17:51:10.171416 INFO Got initial state
2018-01-12 17:51:10.174750 INFO Loading Module: /config/appdaemon/apps/hello.py
2018-01-12 17:51:10.178374 INFO Loading Object hello_world using class HelloWorld from module hello
2018-01-12 17:51:10.521873 INFO hello_world: Hello from AppDaemon
2018-01-12 17:51:10.528653 INFO hello_world: You are now ready to run Apps!
2018-01-12 17:51:10.533594 INFO App initialization complete
2018-01-12 17:51:10.535907 INFO Starting dashboard
2018-01-12 17:51:10.552561 INFO Starting API
2018-01-12 17:51:10.572520 INFO Connected to Home Assistant 0.60.1
All seems fine, but I canāt connect to the API at http://mylocalIP:3030. I tried without the SSL stuff, same thing. I get āERR_CONNECTION_REFUSEDā. The server does not seem to respond on port 3030. What am I doing wrong? And how should I be testing the API? I tried with a CURL command and always get āconnection refusedā.
Hi,
I am getting following error with AppDaemon start up. Not sure how to fix it.
[cont-init.d] 03-version-requirements.sh: executing...
/var/run/s6/etc/cont-init.d/03-version-requirements.sh: line 44: 438 Illegal instruction (core dumped) semver -q "${SUPERVISOR_VERSION}" "${version}"
FATAL: You Supervisor version is: 0.81
FATAL: This add-on requires: >=0.77.0
FATAL: Please consider upgrading.
[cont-init.d] 03-version-requirements.sh: exited 1.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] 50-compiled-symlink.sh: executing...
[cont-finish.d] 50-compiled-symlink.sh: exited 0.
[cont-finish.d] 99-message.sh: executing...
-----------------------------------------------------------
Oops! Something went wrong.
We are so sorry, but something went terribly wrong when
starting or running this add-on.
Be sure to check the log above, line by line, for hints.
-----------------------------------------------------------
What platform are you using?
frenck, both @shekhardivekar and I are on RPi B+. I just tried on the 3B and itās not an issue there.
That is correct Frenck, thank you c.r.06 for jumping in. I will try Rpi3 next month
ok, so it is an ARMv6 issue, I donāt have one laying around.
/me hops on the interweb to get oneā¦
May we get the addon with the updated appdaemon?
@frenck I set up HAdashboard using your AppDaemon plugin. It is working great except iām trying to change the skin and in the documentation it says to put the files in a variables.yaml file but when i check the appdaemon folder i donāt see anything.
The latest AppDaemon is a beta version. Hassio add-ons do not support beta versions and/or channels.
Iām not sure if we should publish the add-on with an alpha/beta to be honestā¦
Please note, the documentation currently reflects the Beta version of AppDaemon 3.0.0. The add-on ships with the current stable version (2.x). Be sure to use the correct documentation matching the version.
Got my hands on a Raspberry Pi 1 (B), was able to reproduce the issue. Looking into a fix.
Edit: Yeah my badā¦ ARMv6 vs ARMv7. The semver tool inside those images is compiled for ARMv7, while Pi1/Zero have ARMv6. Will deploy a fix as soon as possible.
This error is in my base images, and therefore all my add-ons will suffer from this. This gives this issue the highest priority I have at this moment.
Secondly, since it is in the base images, I need to push updates for all my add-ons. This takes some work.
Right on, thanks! no problem on the delays, no big hurry on my part, just glad this will get the ARMv6 devices supported for everyone.
Great. Thank you so much. No hurry on my side as wellā¦ Cannot look into it for at least next 2 weeks.
Release v1.0.0
This release fixes an issue with the add-on not working on ARMv6 chipsets (Raspberry Pi 1/Zero).
Changed
- Add-on project status: Production ready
- Upgrades add-on base image to v1.3.2
- Changed add-on branding from AppDaemon to AppDaemon2 (3 is on its way)