HAdashboards stopped working on HA 0.77

Hi,
Since upgrading to 0.77 of Hassio none of my HAdashboards are accessible anymore. I guess this has something to do with the user profiles. What do I need to do to make them work again. App Daemon automation are working OK.

my appdaemon.yaml is as follows

secrets: /config/secrets.yaml
log:
  logfile: /config/logs/info.log
  errorfile: /config/logs/err.log
  accessfile: /config/logs/access.log
  logsize: 100000
  log_generations: 4

appdaemon:
  latitude:redacted
  longitude: redacted
  elevation: 53
  disable_apps: 0
  threads: 10
  api_port: 5000
  api_key: !secret http_password
  api_ssl_certificate: /ssl/fullchain.pem
  api_ssl_key: /ssl/privkey.pem
  log_thread_actions: 0
  plugins:
    HASS:
      type: hass
      namespace: default
      ha_url: !secret ha_url
      ha_key: !secret http_password
      cert_path: /ssl/privkey.pem
      cert_verify: True


hadashboard:
  dash_url: http://127.0.0.1:5050
  dash_dir: /config/appdaemon/dashboards
  dash_ssl_certificate: /ssl/fullchain.pem
  dash_ssl_key: /ssl/privkey.pem
  dash_password: !secret http_password

My Configuration.yaml is as follows

homeassistant:
  # Name of the location where Home Assistant is running
  name: Home
  # Location required to calculate the time the sun rises and sets
  latitude: !secret latitude
  longitude: !secret longitude
  # Impacts weather/sunrise data (altitude above sea level in meters)
  elevation: 53
  # metric for Metric, imperial for Imperial
  unit_system: metric
  # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
  customize: !include customize/customize.yaml 
  customize_domain: !include customize/customize_domain.yaml

# Enables the frontend
frontend:

cloud:

recorder:

updater:

config:

history:

logbook:
sun:
map:

http:
  ssl_certificate: /ssl/fullchain.pem
  ssl_key: /ssl/privkey.pem
  api_password: !secret http_password
  base_url: !secret baseURL

# Discover some devices automatically
discovery:
  ignore:
    - apple_tv
# Add Homekitsupport
homekit:
  auto_start: False

  
# Allows you to issue voice commands from the frontend in enabled browsers
conversation:

logger:
  default: warning
  logs:
    urllib3.connectionpool: error
    #requests.packages.urllib3.connectionpool: critical  


############################################
#Core Components
############################################  
wemo:
weather:
  - platform: darksky
    api_key: cba412a0cfd3a9299410485efee8d437

influxdb:
  host: 192.168.0.103
  port: 8086
  database: home_assistant
  username: home-assistant
  password: password
  max_retries: 3
  default_measurement: state

vera:
 vera_controller_url: http://192.168.0.142:3480/

mqtt:
  broker: 192.168.0.105
  port: 1883
  birth_message:
    topic: 'Home/MQTT/status'
    payload: 'online'
  will_message:
    topic: 'Home/MQTT/status'
    payload: 'offline'
  
ring:
  username: !secret ring_username
  password: !secret ring_password

nest:
  client_id: !secret nest_client_id
  client_secret: !secret nest_client_secret 
  sensors:
    monitored_conditions:
      - 'co_status'
      - 'smoke_status'
      - 'battery_health' 
vacuum:
  - platform: xiaomi_miio
    host: 192.168.0.221
    token: !secret roborocktoken
    name: "Sadie"
apple_tv:
  - name: Apple TV
    host: 192.168.0.111
    login_id: !secret appleTV_loginID
    start_off: true    
 
google:
  client_id: !secret google_clientID
  client_secret: !secret google_secret
  

# Text to speech
tts:
  platform: google

google_assistant:
  project_id: !secret GA_projectID
  client_id: !secret GA_clientID
  access_token: !secret GA_accesstoken
  exposed_domains:
    - switch
    - light
    - cover
    - script
    - input boolean


xiaomi_aqara:
  discovery_retry: 10
  gateways:
    - mac: 7811DCB35715
      key: C72ABF022AC345AE
      host: 192.168.0.179
    - mac: 7811DC64EA23
      key: ACE7568C0CFF4539
      host: 192.168.0.180

############################################
#Includes
############################################  
device_tracker: !include includes/devicetracker.yaml
group: !include includes/groups.yaml
sensor: !include includes/sensors.yaml
switch: !include includes/switch.yaml
light:  !include includes/light.yaml
zone: !include includes/zones.yaml
automation: !include_dir_merge_list automations/
cover: !include includes/covers.yaml
binary_sensor: !include includes/binarysensor.yaml
script: !include_dir_merge_named scripts/
input_number: !include includes/inputNumber.yaml
input_boolean: !include includes/inputBoolean.yaml
camera: !include includes/camera.yaml
#scene: !include scene.yaml
panel_iframe: !include includes/panel.yaml
notify: !include includes/notify.yaml
media_player: !include includes/mediaplayers.yaml

please sjo the appdaemon log file right after you have restarted appdaemon.

this is what is displayed on the web log

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing... 
-----------------------------------------------------------
 Hass.io Add-on: AppDaemon v1.4.1
 Python Apps and HADashboard using AppDaemon 3.x for Home Assistant
 From: Community Hass.io Add-ons
 By: Franck Nijhof <[email protected]>
-----------------------------------------------------------
 armhf / HassOS 1.9 / HA 0.77.2 / SU 128 / stable
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing... 
Log level is set to INFO
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] 02-updates.sh: executing... 
INFO: You are running the latest version of this add-on
[cont-init.d] 02-updates.sh: exited 0.
[cont-init.d] 20-init-configuration.sh: executing... 
[cont-init.d] 20-init-configuration.sh: exited 0.
[cont-init.d] 21-compiled-dir.sh: executing... 
[cont-init.d] 21-compiled-dir.sh: exited 0.
[cont-init.d] 30-auto-password.sh: executing... 
[cont-init.d] 30-auto-password.sh: exited 0.
[cont-init.d] 31-ha-url.sh: executing... 
WARNING: You are using an non-recommended Home Assistant URL!
WARNING: Setting the "ha_url" option in your AppDaemon config to
WARNING: "http://hassio/homeassistant" is recommended!
[cont-init.d] 31-ha-url.sh: exited 0.
[cont-init.d] 50-compiled-symlink.sh: executing... 
[cont-init.d] 50-compiled-symlink.sh: exited 0.
[cont-init.d] 80-system-packages.sh: executing... 
[cont-init.d] 80-system-packages.sh: exited 0.
[cont-init.d] 81-python-packages.sh: executing... 
[cont-init.d] 81-python-packages.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.

this is the output in the info.log

2018-09-01 22:22:37.249730 INFO AppDaemon Version 3.0.1 starting
2018-09-01 22:22:37.251695 INFO Configuration read from: /config/appdaemon/appdaemon.yaml
2018-09-01 22:22:37.260055 INFO AppDaemon: Starting Apps
2018-09-01 22:22:37.276642 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin
2018-09-01 22:22:37.368031 INFO AppDaemon: HASS: HASS Plugin Initializing
2018-09-01 22:22:37.370249 INFO AppDaemon: HASS: HASS Plugin initialization complete
2018-09-01 22:22:37.372029 INFO Starting Dashboards
2018-09-01 22:22:37.426918 INFO Starting API
2018-09-01 22:22:37.733150 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:22:43.019963 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:22:48.315791 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:22:53.473876 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:22:58.761862 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:23:04.047134 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:23:09.339012 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:23:14.493962 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:23:19.779862 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:23:24.932816 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:23:30.015793 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:23:35.308139 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:23:40.593692 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:23:45.883556 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:23:51.098797 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:23:56.390208 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:24:01.544968 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:24:06.835791 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:24:12.129534 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:24:17.302486 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:24:22.334700 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:24:27.496241 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:24:32.665014 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:24:37.965081 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:24:43.119536 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:24:48.410740 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:24:53.568399 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:24:58.857116 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:25:05.180904 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:25:10.473339 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:25:15.765334 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:25:21.065423 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:25:26.362511 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:25:31.660729 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:25:36.823668 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:25:41.851291 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:25:47.005202 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:25:52.310660 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:25:57.598099 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:26:02.887588 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:26:08.044722 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:26:13.346082 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:26:18.506841 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:26:23.794326 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:26:29.093801 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:26:34.257253 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:26:39.415160 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:26:44.582120 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:26:49.612512 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:26:54.903067 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:27:00.192875 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:27:05.481241 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:27:10.769081 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:27:15.936600 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:27:21.095717 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:27:26.128461 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 22:27:31.283166 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds

appdaemon automations are working

this tells you what 1 of your problems is.

Appdaemon isnt running at all, so there is no way that automation are running.

i suspect you didnt add this:

homeassistant:
  auth_providers:
   - type: legacy_api_password

to your homeassistant configuration

OK, now getting confused.
added the
auth_providers:

  • type: legacy_api_password

to my configuration.yaml

on restart HA asked for my old password, not what I had set up as a user under the new user auth system.
HADasboard is not working, tried my duckdns:5050 and receive nothing

still getting the following in appdaemon logs

2018-09-01 23:48:45.633301 INFO AppDaemon Version 3.0.1 starting
2018-09-01 23:48:45.635510 INFO Configuration read from: /config/appdaemon/appdaemon.yaml
2018-09-01 23:48:45.645193 INFO AppDaemon: Starting Apps
2018-09-01 23:48:45.668212 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin
2018-09-01 23:48:45.769158 INFO AppDaemon: HASS: HASS Plugin Initializing
2018-09-01 23:48:45.772424 INFO AppDaemon: HASS: HASS Plugin initialization complete
2018-09-01 23:48:45.775260 INFO Starting Dashboards
2018-09-01 23:48:45.831968 INFO Starting API
2018-09-01 23:48:46.139592 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 23:48:51.425007 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 23:48:56.708851 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 23:49:01.866674 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 23:49:07.152937 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 23:49:12.438588 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds
2018-09-01 23:49:17.730892 WARNING AppDaemon: HASS: Disconnected from Home Assistant, retrying in 5 seconds.

i don't appear to be getting the error above inthe web lof for appdaemon

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing... 
-----------------------------------------------------------
 Hass.io Add-on: AppDaemon v1.4.1
 Python Apps and HADashboard using AppDaemon 3.x for Home Assistant
 From: Community Hass.io Add-ons
 By: Franck Nijhof <[email protected]>
-----------------------------------------------------------
 armhf / HassOS 1.9 / HA 0.77.2 / SU 128 / stable
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing... 
Log level is set to INFO
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] 02-updates.sh: executing... 
INFO: You are running the latest version of this add-on
[cont-init.d] 02-updates.sh: exited 0.
[cont-init.d] 20-init-configuration.sh: executing... 
[cont-init.d] 20-init-configuration.sh: exited 0.
[cont-init.d] 21-compiled-dir.sh: executing... 
[cont-init.d] 21-compiled-dir.sh: exited 0.
[cont-init.d] 30-auto-password.sh: executing... 
[cont-init.d] 30-auto-password.sh: exited 0.
[cont-init.d] 31-ha-url.sh: executing... 
WARNING: You are using an non-recommended Home Assistant URL!
WARNING: Setting the "ha_url" option in your AppDaemon config to
WARNING: "http://hassio/homeassistant" is recommended!
[cont-init.d] 31-ha-url.sh: exited 0.
[cont-init.d] 50-compiled-symlink.sh: executing... 
[cont-init.d] 50-compiled-symlink.sh: exited 0.
[cont-init.d] 80-system-packages.sh: executing... 
[cont-init.d] 80-system-packages.sh: exited 0.
[cont-init.d] 81-python-packages.sh: executing... 
[cont-init.d] 81-python-packages.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.

the problem is that the hassio addon changes stuff for you and i have no clue what because i never used hassio.

it still says that you have the wrong url in your appdaemon.yaml
so did you change that?
and how does your appdaemon.yaml look?

hassio also seem to change file permissions and ownership for you. but i cant know if they are set right
it seems to change password for you also.

so i have no idea if your yaml file is correct.

made this change to my appdeamon config

plugins:
    HASS:
      type: hass
      namespace: default
      ha_url: http://hassio/homeassistant
      ha_key: 5118a9c5701e41d597bfc5bb68742c36
      cert_path: /ssl/privkey.pem
      cert_verify: true

It appears automation are running again as got this in the logs

2018-09-02 00:30:49.973121 INFO AppDaemon: Initializing app auto_turn_on_motion_senors_sunrise using class AutoTurnOnSunrise from module auto_turn_on_sunrise
2018-09-02 00:30:49.976171 INFO AppDaemon: Initializing app announce_family using class AnnouncePresence from module announce_presence
2018-09-02 00:30:51.129072 INFO AppDaemon: Initializing app auto_turn_on_off_front_garden_lights using class AutoTurnOnOffSunset from module auto_turn_on_off_sunset
2018-09-02 00:30:51.134717 INFO AppDaemon: Initializing app auto_turn_on_zone1 using class IrrigationSystemController from module irrigationsystem
2018-09-02 00:30:51.158650 INFO auto_turn_on_zone1: Zone 1 will turn on at 01:30:00 and run for 10800 seconds unless rainfall is greather than 30mm
2018-09-02 00:30:51.160724 INFO AppDaemon: Initializing app auto_turn_on_zone2 using class IrrigationSystemController from module irrigationsystem
2018-09-02 00:30:51.176037 INFO auto_turn_on_zone2: Zone 2 will turn on at 03:00:00 and run for 10800 seconds unless rainfall is greather than 5mm
2018-09-02 00:30:51.178310 INFO AppDaemon: Initializing app auto_turn_on_zone3 using class IrrigationSystemController from module irrigationsystem
2018-09-02 00:30:51.194156 INFO auto_turn_on_zone3: Zone 3 will turn on at 04:00:00 and run for 7200 seconds unless rainfall is greather than 5mm
2018-09-02 00:30:51.196539 INFO AppDaemon: Initializing app auto_turn_on_zone4 using class IrrigationSystemController from module irrigationsystem
2018-09-02 00:30:51.209407 INFO auto_turn_on_zone4: Zone 4 will turn on at 01:00:00 and run for 7200 seconds unless rainfall is greather than 5mm
2018-09-02 00:30:51.212230 INFO AppDaemon: Initializing app auto_turnoff_motion_light_lumens_study using class AutoTurnOnOffLightsMotionLumens from module auto_turn_on_off_motion_lumens
2018-09-02 00:30:51.242837 INFO auto_turnoff_motion_light_lumens_study: sensor.study_light_level
2018-09-02 00:30:51.246284 INFO AppDaemon: Initializing app green_bin_alert using class NotifyGarbageState from module notify_garbage_state
2018-09-02 00:30:51.249758 WARNING AppDaemon: green_bin_alert: Entity calendar.house_greenbin not found in AppDaemon
2018-09-02 00:30:51.251333 INFO AppDaemon: Initializing app yellow_bin_alert using class NotifyGarbageState from module notify_garbage_state
2018-09-02 00:30:51.255214 WARNING AppDaemon: yellow_bin_alert: Entity calendar.house_yellowbin not found in AppDaemon
2018-09-02 00:30:51.257214 INFO AppDaemon: Initializing app auto_turn_on_off_backyard_lights using class AutoTurnOnOffLights from module auto_turn_on_off
2018-09-02 00:30:51.260108 INFO AppDaemon: Initializing app auto_turn_on_off_TV_lights using class AutoTurnOnOffLights from module auto_turn_on_off
2018-09-02 00:30:51.265398 INFO AppDaemon: App initialization complete

but still un able to access HAdashboards,

is that ha key also the ha key that is set in your homeassistant configuration as api_password?

http:
  api_password: ha_api_password

As the document said

By configuring your own instead of using the default configuration, you take full responsibility for the authentication of the system.

So far there is no use case user need to manually add auth_provider section in configuration

If you don’t have legacy_api_password login option or cannot connect to 3rd party integration which use websocket API, such as appdaemon, please add api_password in your http section.

Thanks I think I have it sorted now.

Configuration. yaml has the following

homeassistant:
  auth_providers:
     - type: homeassistant
     - type: legacy_api_password

http:
  ssl_certificate: /ssl/fullchain.pem
  ssl_key: /ssl/privkey.pem
  api_password: !secret api_password
  base_url: !secret baseURL

My appdaemon.yaml has

appdaemon:
  disable_apps: 0
  threads: 10
  api_port: 5000
  api_ssl_certificate: /ssl/fullchain.pem
  api_ssl_key: /ssl/privkey.pem
  log_thread_actions: 0
  plugins:
    HASS:
      type: hass
      namespace: default
      ha_url: http://hassio/homeassistant
      ha_key: api_password
      cert_path: /ssl/privkey.pem
      cert_verify: true
hadashboard:
  dash_url: http://127.0.0.1:5050
  dash_dir: /config/appdaemon/dashboards
  dash_ssl_certificate: /ssl/fullchain.pem
  dash_ssl_key: /ssl/privkey.pem

It appears to be working now, but a couple of questions

  1. Can I remove type: homeassitant and the legacy API types in Config.yaml if I want to continue to use AppDaemon & HAdashboard I am also playing around with Tileboard - or is this required until the botappdaemin and HA move the apis across to a token based authentication
  2. do I need the api_password in the http: section
  3. do I need ha_key if this is the case and should it be set to the api_password or can it be anything

Sorry I have jumped a few version of HA and not progressively made these changes through each release

  1. no, appdaemon needs that untill there is a new release
  2. yes, appdaemon needs that untill there is a new release
  3. ha_key needs always to be the same as the api_password. and with the latest release from HA its no option anymore to leave it out.
1 Like

Rene’s answer is WRONG

  1. yes, you can remove the whole auth_providers: section. Home Assistant will auto configure auth providers by your http configuration.

hmm, i only repeat what @balloob told @aimc

and in that case i dont know why people who had set a password before suddenly get connection errors.
would be nice if someone enlightens me in that.

and its also what i understand from the docs:

LEGACY API PASSWORD

Activating this auth provider will allow you to authenticate with the API password set in the HTTP component.

homeassistant:
  auth_providers:
   - type: legacy_api_password

http:
  api_password: !secret http_password

Activating this auth provider will also allow you to provide the API password using an authentication header to make requests against the Home Assistant API. This feature will be dropped in the future in favor of long-lived access tokens.

Appdaemon does use requests against the homeassistant API if i am informed well.

Yes, you need leagcy_api_password auth provider.

No, you should not suggest user manual add auth_provider: section, we recommend user use default setting, the leagcy_api_password will auto-configured when http.api_password configured.

In release note, we clearly state that

Although it’s possible to configure authentication, we stronlgy recommend to stick with the default authentication configuration. If you had auth providers configured in a previous Home Assistant release, we recommend to remove the configuration and start using the default.

so you say that this doc page is wrong?

there is nothing there about auto configuring

and the line you present isnt there either.

and why is there a line like:

   - type: legacy_api_password

anyway in the docs if it isnt needed and it will be autoconfigured?

Release note is here: https://www.home-assistant.io/blog/2018/08/29/release-77

It is not always auto-configured. If you have auth_provider section present, it will not be auto-config. Auth provider also has extra config options descripted in developer document, or you can check the source code.

If you feel that document is misleading, a PR is always welcome.

release note is a bad place for such important information.
in 2 weeks that release note is old and forgotten.
or is it expected that when someone for the first time installs HA he reads all old release notes?

i am not the guy to formulate texts for the docs.
i am not natively speaking english

if you think that with the information i have given you the docs are right then it wont be changed anyway.

i dont think its misleading. it clearly is, because the docs state that its needed to put it into the config and there is nowhere any mention from autoconfigure when you leave it out.

it would also help to know when it will autoconfigure and when not.
because if i dont know that, i cant decide when i should tell people to put it in and when not.
so if you can give me information about that i would appreciate that.

i am not a dev, so i dont search HAs code, because its to complicated for me.
same reason why i dont read developer documents.

i am just a simple guy, that tries to help people when they have trouble with AD and HADashboard.