Hey @aimc, any chance you’ve had time to take a look at this issue?
So, I spent some hours to understand how this is working, here is the summary:
The addon is pre-compiled to the proper arch image and store in Docker Hub. (So @vkorn should have increase his version number and do a compilation request through the docker CLI to have the latest master version of the AppDaemon.
It is also possible to do a local compilation of the addon, but it takes time and resources and there is a big chance to have an error. (I tried it and still failed) It is also a not preferred method by HA, but if You want to give a chance to that, You can add this repository, which is exactly the same as vkorn’s one, but with local compilation.
Has there been anything concrete on this?, I’ve been reading all of the threads about issues with HASS IO and the Dashboard, each thread says something different setup and each person saying it works (sort of) has a slightly different setup such as using external DNS references, etc.
At the moment I have my configuration files setup like quad1661 suggests - I still get the Java error about getting states (hue lights if it matters). If i edit the javascript compiled files and change the port in them from 80 to 3030, it makes no difference. if I try to expand on the issue by changing the error log paths in the *.dash config I “sometimes” get output but never anything related to the java error - so currently, I’m quite lost.
I came from OpenHab because it was terribly hard to configure, HASS detected all of my stuff without me doing anything which was fantastic - but I’d only use it for the Dashboard so I reallllllly need to get this working
The solution i am working towards is to integrate the dashboard with homeassistant so no config is required. It will take a little time but that is the plan.
Thanks very much, I love the design and usability of hass but I’m gagging for HADashboard
If you need anyone to test and of your developments with it, I’d be happy to Guinea pig.
@aimc I managed to build an image with appdaemon 2.1.10 and it’s running under hassio.
And I do have a few question too, so drop me line in private so we can go over this.
Thank you! This was very helpful.
Any update on this? This would be wonderful
Not sure what you are asking?
Sorry, my quote failed! Edited it
I was asking about the integration of the dashboard with homeassistant.
I’ve been trying to set up HAdashboard for a couple of days now and I’m still failing, so that would be a relief!
I’m getting ready to put out 3.0 of AD which is a complete refactor - it’s taken me a while to get through. One of the goals of this is to make the integration with HASS possible.So When I am through a short beta period, I’ll start looking at the integration in more detail. It won;t be immediate but I have made some huge steps in the right direction under the covers.
I’m very glad to hear it, thanks for your hard work.
I’d be happy to beta test if you’re looking for testers.
Thanks When the time comes for 3.0 (probably in the next couple of weeks) I’ll post a thread so that anyone who wants to can can help with the beta.
Count me in on the Beta as well, excited to hear about the upcoming release.
Has anyone managed to get HaDashboard running on HassIO? I have the appdaemon add-on V3, are there any changes needed to the add-on config other than the default?
{
"log_level": "info",
"commtype": "websockets",
"system_packages": [],
"python_packages": []
}
Did you uninstall the v2? Do you have any error? Did you change the AppDaemon.yaml according to the docs?
I did get it to work, thanks. I saw there was an error file so went through that. I’ll go through the steps I took to get it working for the next person that has trouble and searches the forum.
I uninstalled V2 and only have V3 with default settings:
{
"log_level": "info",
"system_packages": [],
"python_packages": []
}
I made folder in the config folder called appdaemon. In there I made a folder called dashboard and another called apps.
I then have appdaemon.yaml at /config/appdaemon which has the following:
log:
logfile: /config/appdaemon/appdaemon.log
errorfile: /config/appdaemon/error.log
appdaemon:
threads: 10
app_dir: /config/appdaemon/apps
plugins:
HASS:
type: hass
ha_url: https://xxxxxx.duckdns.org:8123
ha_key: Secret
hadashboard:
dash_url: http://192.168.0.196:5050
dash_dir: /config/appdaemon/dashboards
dash_password: secret
In the apps folder, /config/apps I have two files. apps.yaml with the following:
hello_world:
module: hello
class: HelloWorld
And a file called hello.py:
import appdaemon.appapi as appapi
#
# Hellow World App
#
# Args:
#
class HelloWorld(appapi.AppDaemon):
def initialize(self):
self.log("Hello from AppDaemon")
self.log("You are now ready to run Apps!")
And finally, in the dashboards folder I have my panel file, called panel.dash:
##
## Main arguments, all optional
##
title: Hello Panel
widget_dimensions: [120, 120]
widget_margins: [5, 5]
columns: 8
label:
widget_type: label
text: Hello World
layout:
- label(2x2)
I know this was long but I think it will help others starting out.
Mate, you’re a legend. Created an account just to thank you! Spent so much time trying to get this to work and your post solved it from start to finish in an hour!
Hello everyone, sorry OOT.
I am getting error in program dashboard, in case my filename is “NiHao.dash”
I getting error like this:
NiHao: Error while parsing dashboard ‘/config/appdaemon/dashboards/NiHao.dash’:
NiHao: parser says
NiHao: in “”, line 38, column 1: - label(2x2), light_bedroom, sw … ^
NiHao: found character ‘\t’ that cannot start any token while scanning for the next token
and this is my program:
Main arguments, all optional
title: Switchboard
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
##namespace: default
##devices:
##media_player:
##step: 5
clock:
widget_type: clock
label:
widget_type: label
text: Hello Word
light_bedroom:
widget_type: light
title: bedroom_light
entity: light.bedroom
widget_style: “background-color:ROYALBLUE;”
switch_bedroom:
widget_type: switch
title: bedroom_switch
entity: switch.bedroom
widget_style: “background-color:DARKRED;”
layout:
- label(2x2), light_bedroom, switch_bedroom
anyone can help me, where i get a failure ?
@dion0511 I’m not using HADashboard currently but planning to use it, so i could not tell you for sure. But it looks like you are using a tab \t
character on line 38 which triggers the error. I could not check this since you did not add the config as code block.