HADashboard - entity not found

I’ve installed appdeamon 3 and created a Dasbboard
Udklip

appdeamon.yaml looks like this.
I’ve keep getting entity not found.

secrets: /config/secrets.yaml

log:
logfile: STDOUT
errorfile: STDERR
appdaemon:
threads: 10
app_dir: /config/appdaemon/apps
plugins:
HASS:
type: hass
ha_url: http://192.168.0.9:8123
ha_key: xxxxxxxxxx
hadashboard:
dash_url: http://192.168.0.9:5050
dash_dir: /config/appdaemon/dashboards

I’m running Duckdns and I can’t access Home assistant by http://192.168.0.9:8123.
Any suggestions? Thx

As it says at the top of the forum,

When posting logs or configuration snippets please use code blocks and syntax highlighting.

Without this we can;t properly check your config.

Also, can you post the AppDaemon Logfile from startup.

So I am having the same issue. Here is my apdaemon.yaml

secrets: /config/secrets.yaml
log:
  logfile: STDOUT
  errorfile: STDERR
appdaemon:
  threads: 10
  app_dir: /config/appdaemon/apps
  plugins:
  latitude: 46
  longitude: -119
  elevation: 370
  time_zone: America/Los_Angeles
HASS:
  type: hass
  ha_url: https://kesterhassio.duckdns.org
  ha_key: !secret http_password
  cert_path: config/ssl/fullchain.pem
  cert_verify: true
hadashboard:
  dash_url: http://192.168.1.119:5050
  dash_dir: /config/appdaemon/dashboards

My Appdaemon log looks like this:

[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: AppDaemon3 v1.0.0
 Python Apps and HADashboard using AppDaemon 3.x for Home Assistant
 From: Community Hass.io Add-ons
 By: Franck Nijhof <[email protected]>
-----------------------------------------------------------
[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] 03-version-requirements.sh: executing... 
INFO: Supervisor version requirements checks passed.
[cont-init.d] 03-version-requirements.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
starting version 3.2.4
[services.d] done.
2018-03-30 10:04:28.990942 INFO AppDaemon Version 3.0.0 starting
2018-03-30 10:04:28.991542 INFO Configuration read from: /config/appdaemon/appdaemon.yaml
2018-03-30 10:04:28.995231 INFO AppDaemon: Starting Apps
2018-03-30 10:04:29.002535 INFO Starting Dashboards
2018-03-30 10:04:29.020666 INFO API is disabled
2018-03-30 10:04:30.585628 INFO AppDaemon: Reading config
2018-03-30 10:04:30.599669 INFO AppDaemon: /config/appdaemon/apps/apps.yaml added or modified
2018-03-30 10:04:30.600731 INFO AppDaemon: /config/appdaemon/apps/apps.yaml added or modified
2018-03-30 10:04:30.601806 INFO AppDaemon: App 'hello_world' added
2018-03-30 10:04:30.603118 INFO AppDaemon: Adding /config/appdaemon/apps to module import path
2018-03-30 10:04:30.605414 INFO AppDaemon: Loading App Module: /config/appdaemon/apps/hello.py
2018-03-30 10:04:30.678188 INFO AppDaemon: Initializing app hello_world using class HelloWorld from module hello
2018-03-30 10:04:31.009216 INFO hello_world: Hello from AppDaemon
2018-03-30 10:04:31.014013 INFO hello_world: You are now ready to run Apps!
2018-03-30 10:04:31.015681 INFO AppDaemon: App initialization complete

when I click on a widget I get this addition to my log file:

2018-03-30 10:15:25.342003 INFO function [get_dashboard] finished in 195 ms
2018-03-30 10:15:26.288831 INFO HADashboard: New dashboard connected: Hello Panel
2018-03-30 10:15:27.748305 INFO HADashboard: Dashboard disconnected
2018-03-30 10:15:29.115541 INFO Compiling dashboard 'main'
2018-03-30 10:15:30.098934 WARNING Unable to find widget definition for 'clock'
2018-03-30 10:15:30.882557 INFO function [get_dashboard] finished in 1781 ms
2018-03-30 10:15:31.800966 INFO HADashboard: New dashboard connected: Main Panel
2018-03-30 10:15:33.114120 WARNING HADasboard: ------------------------------------------------------------
2018-03-30 10:15:33.114998 WARNING HADasboard: Unexpected error in call_service()
2018-03-30 10:15:33.115911 WARNING HADasboard: ------------------------------------------------------------
2018-03-30 10:15:33.117814 WARNING HADasboard: Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/appdaemon/rundash.py", line 336, in call_service
    await plugin.call_service (service, **args)
AttributeError: 'NoneType' object has no attribute 'call_service'
2018-03-30 10:15:33.118819 WARNING HADasboard: ------------------------------------------------------------
2018-03-30 10:15:34.802538 WARNING HADasboard: ------------------------------------------------------------
2018-03-30 10:15:34.803849 WARNING HADasboard: Unexpected error in call_service()
2018-03-30 10:15:34.806476 WARNING HADasboard: ------------------------------------------------------------
2018-03-30 10:15:34.810097 WARNING HADasboard: Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/appdaemon/rundash.py", line 336, in call_service
    await plugin.call_service (service, **args)
AttributeError: 'NoneType' object has no attribute 'call_service'
2018-03-30 10:15:34.811061 WARNING HADasboard: ------------------------------------------------------------

I needed to use:
ha_url: http://hassio/homeassistant.

needs to be:

appdaemon:
  threads: 10
  app_dir: /config/appdaemon/apps
  plugins:
  latitude: 46
  longitude: -119
  elevation: 370
  time_zone: America/Los_Angeles
  HASS:
    type: hass
    ha_url: https://kesterhassio.duckdns.org
    ha_key: !secret http_password
    cert_path: config/ssl/fullchain.pem
    cert_verify: true

the plugin is a part from appdaemon

1 Like