Announcement: AppDaemon 2.1.10

** Please pnly take this update if you also upgrade to hass 0.55 or later or input_select will no longer work on your dashboards **

Hi there - a minor release to address the breaking changes in HASS 0.55 - the input_slider widget in HADashboard has been renamed to input_number - remember to change the widget type as well as the associated widget ID in your dahsboards if you were using input_sliders

Also, a fix to the AppDamon api call select_value() - the name stays the same but it now works with the input_number entities, no changes should be necessary to your apps.

2.1.10 (2017-10-11)

Features

  • Renamed the HADashboard input_slider to input_number to support HASS’ change
  • Fixed select_value() to work with input_number entities

Fixes

None

Breaking Changes

The input_slider widget has been renamed to input_number to support the change in HASS

4 Likes

How i can use inpu_select?

Yeah, that’s a typo in the release notes, sorry.

1 Like

hmm, dont know where my head is nowadays.
i completely mixed up input_select and input_slider in my head.

just a little typo from you and my head goes spinning. :wink:

i deleted my previous post so people dont get strange ideas from my mistakes :wink:

1 Like

Disconnected from Home Assistant, retrying in 5 seconds! ----need help,plz!
pi@hassbian:~ $ /srv/appdaemon/bin/appdaemon -c /home/homeassistant/appdaemon/ -D DEBUG
2017-10-14 13:51:24.290314 INFO AppDaemon Version 2.1.10 starting
2017-10-14 13:51:24.291370 INFO Configuration read from: /home/homeassistant/appdaemon/appdaemon.yaml
2017-10-14 13:51:24.292105 DEBUG AppDaemon Section: {‘log_generations’: 3, ‘errorfile’: ‘STDERR’, ‘logfile’: ‘STDOUT’, ‘threads’: 10}
2017-10-14 13:51:24.292747 DEBUG Hass Section: {‘ha_key’: ‘password’, ‘ha_url’: ‘http://192.168.1.133:8123’}
2017-10-14 13:51:24.293396 DEBUG HADashboard Section: {‘app_dir’: ‘/home/homeassistant/appdaemon/apps’, ‘dash_url’: ‘http://192.168.1.133:5050’, ‘dash_dir’: ‘/home/homeassistant/appdaemon/dashboards’}
2017-10-14 13:51:24.294093 DEBUG Calling HA for config with key: password and url: http://192.168.1.133:8123
2017-10-14 13:51:24.294734 DEBUG get_ha_config()
2017-10-14 13:51:24.295334 DEBUG get_ha_config: url is http://192.168.1.133:8123/api/config
2017-10-14 13:51:24.322203 DEBUG Success
2017-10-14 13:51:24.607065 WARNING ------------------------------------------------------------
2017-10-14 13:51:29.612917 DEBUG Refreshing HA state
2017-10-14 13:51:29.613759 DEBUG get_ha_state: url is http://192.168.1.133:8123/api/states
2017-10-14 13:51:29.716096 WARNING Disconnected from Home Assistant, retrying in 5 seconds
2017-10-14 13:51:29.716610 WARNING ------------------------------------------------------------
2017-10-14 13:51:29.717447 WARNING Unexpected error:
2017-10-14 13:51:29.718125 WARNING ------------------------------------------------------------
2017-10-14 13:51:29.719724 WARNING Traceback (most recent call last):
File “/srv/appdaemon/lib/python3.5/site-packages/appdaemon/appdaemon.py”, line 1333, in run_ad
get_ha_state()
File “/srv/appdaemon/lib/python3.5/site-packages/appdaemon/appdaemon.py”, line 1102, in get_ha_state
states = utils.get_ha_state()
File “/srv/appdaemon/lib/python3.5/site-packages/appdaemon/utils.py”, line 335, in get_ha_state
r.raise_for_status()
File “/srv/appdaemon/lib/python3.5/site-packages/requests/models.py”, line 935, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http://192.168.1.133:8123/api/states

did you update from a working appdaemon or a new install?
what is in your appdaemon.yaml?
do you have an apps.yaml? and what is in it?
what HA version do you have?

I have update from a working appdaemon, HA version 0.55.1, include apps.yaml.
appdaemon.yaml:
AppDaemon:
logfile: STDOUT
errorfile: STDERR
log_generations: 3
threads: 10
HASS:
ha_url: http://192.168.1.133:8123
ha_key: password
HADashboard:
dash_url: http://192.168.1.133:5050
dash_dir: /home/homeassistant/appdaemon/dashboards
app_dir: /home/homeassistant/appdaemon/apps

3Q

i would suggest you set logfile and errorfile to a file where appdaemon can write so you can see what is happening.
and try starting it like this:

appdaemon -c /home/homeassistant/appdaemon

thanks man!
the problem solved! first, need to build compiled/css\html\javascript folders; second, a customize plugin of HA was clash. Now everything working fine!

1 Like