HDDashboard Issue connects but none of the widgets work

I have HDDasboard Set up and it connects to home assistant and shows the widgets I have set up their states but when i click on a widget I get the following error:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/aiohttp/web_protocol.py", line 381, in start
    resp = await self._request_handler(request)
  File "/usr/local/lib/python3.6/dist-packages/aiohttp/web_app.py", line 310, in _handle
    resp = await handler(request)
  File "/usr/lib/python3.6/asyncio/coroutines.py", line 213, in coro
    res = yield from res
  File "/usr/local/lib/python3.6/dist-packages/appdaemon/rundash.py", line 181, in call_service
    data = yield from request.post()
TypeError: cannot 'yield from' a coroutine object in a non-coroutine generator```

which version from HADashboard (appdaemon) did you install?
what system did you install it on?
what is in your appdaemon.yaml?
what is in your dashboard file?

  1. AppDaemon Version 2.1.12
  2. Linux VirtualEnv
AppDaemon:
  logfile: STDOUT
  errorfile: STDERR
  logsize: 100000
  log_generations: 3
  threads: 10
  cert_path: !secret ssl_certificate
  cert_verify: false
  api_port: 5000
  api_key: !secret http_password
  api_ssl_certificate: !secret ssl_certificate
  api_ssl_key: !secret ssl_key
HASS:
  ha_url: https://schildgenhouse.duckdns.org:8123
  ha_key: !secret http_password
HADashboard:
    dash_url: http://192.168.1.204:5050
    dash_dir: /home/homeassistant/conf/dashboards

Dahsboard:
##
## Main arguments, all optional
##
title: Main Panel
widget_dimensions: [120, 120]
widget_size: [1, 1]
widget_margins: [5, 5]
columns: 8
global_parameters:
    use_comma: 0
    precision: 1
    use_hass_icon: 1
layout:
   - clock.clock(2x1),light.dining_room_dining_room_dimmer_1, brad_presence, light.living_room_living_room_lamp_right, input_boolean.party_mode
   - weather.weather(2x2),    switch.kitchen_kitchen_light_1
   - 
   - load_cameras

brad_presence:
    widget_type: device_tracker
    title: Brad
    device: brad_gpslogger

load_cameras:
    widget_type: navigate
    title: Cameras
    icon_inactive: mdi-camera
    dashboard: Cameras```

there are problems with appdaemon 2 and the latest versions from HA.
my advice is to update to appdaemon 3, its coming out of beta this week.

look at this topic how to update:

i guess you dont have active apps and dashboards yet, so you dont have to look at the other simular topics for changes.

also this docs will be your friend:
http://appdaemon.readthedocs.io/en/latest/index.html

Thank you installing the newer version did solve the problem but I also had to change the port to make it work as well.

1 Like