Announcement: HADashboard v2 Beta3!

I have found it’s kind of picky about having spaces after the ‘:’ in some cases.

@rpitera I have a question. I found a page that talks about transitioning between multiple backgrounds. He has provided sample source, but I have no idea where to integrate the html part in or if it’s even needed.

http://codepen.io/mmckelvy/pen/jEdWwL

Can you give me a little help in figuring out how to integrate this into my style sheets?

Can anyone please check as i am unable to start. I am getting error -

pi@homeassist:~/appdaemon_dashboard/appdaemon $ python3 -m appdaemon.appdaemon -c ./conf
2017-03-29 23:47:18.362896 INFO AppDaemon Version 2.0.0beta3 starting
2017-03-29 23:47:23.575639 INFO Got initial state
2017-03-29 23:47:23.577589 INFO Loading Module: ./conf/apps/hello.py
2017-03-29 23:47:23.581985 INFO Loading Object hello_world using class HelloWorld from module hello
2017-03-29 23:47:23.706794 INFO hello_world: Hello from AppDaemon
2017-03-29 23:47:23.710624 INFO hello_world: You are now ready to run Apps!
2017-03-29 23:47:23.711382 INFO App initialization complete
2017-03-29 23:47:23.712504 INFO Starting dashboard
2017-03-29 23:47:23.727263 WARNING ------------------------------------------------------------
2017-03-29 23:47:23.727762 WARNING Unexpected error in dashboard thread
2017-03-29 23:47:23.728190 WARNING ------------------------------------------------------------
2017-03-29 23:47:23.735215 INFO Connected to Home Assistant 0.41.0
2017-03-29 23:47:23.741134 WARNING Traceback (most recent call last):
  File "/home/pi/appdaemon_dashboard/appdaemon/appdaemon/appdash.py", line 247, in run_dash
    handler = app.make_handler()
  File "/usr/local/lib/python3.4/dist-packages/aiohttp/web.py", line 224, in make_handler
    self._set_loop(loop)
  File "/usr/local/lib/python3.4/dist-packages/aiohttp/web.py", line 110, in _set_loop
    loop = asyncio.get_event_loop()
  File "/usr/lib/python3.4/asyncio/events.py", line 576, in get_event_loop
    return get_event_loop_policy().get_event_loop()
  File "/usr/lib/python3.4/asyncio/events.py", line 522, in get_event_loop
    threading.current_thread().name)
AssertionError: There is no current event loop in thread 'Thread-12'.

2017-03-29 23:47:23.741695 WARNING ------------------------------------------------------------

They all have different styles in the variables file.

You version of aiohttp is too recent. Try:

pip3 install aiohttp==1.2.0

But why would the % sign be different from the +/- and value?

Because in the skin I give you the choice to make them different, and in your skin they are set differently - or perhaps not at all.

Looks like titles and icons are not working for me. Actually, none of the optional style/arguments seem to work.

Working fine here - can you give me any details?

Anyone can help me to understand how I can run this HAdashboard with docker on the Synology NAS please?

Pretty much the same as the Docker instructions, you will have to do it CLI side and you may need to sudo the Docker commands in my experience. Are you hitting any specific issue? Are you familiar with CLI Docker on synology?

I do HADashboard on Pi but I do have a few Dockers on a Synology.

Do not all of the mdi icons work? I was trying to use the netflix icon and it doesnt work.

Yaml:

temp_ute:
  widget_type: sensor
  title: Temperatur
  title2: Ute
  units: "C"
  entity: sensor.netatmo_ute_temperature

Dash:

What do you have for your layout?

Might have been added after I downloaded them, I can look at updating them

I have been trying to do that but stuck on error -

sudo pip3 install 'aiohttp>=1.2.0'
Collecting aiohttp>=1.2.0
  Using cached aiohttp-2.0.5.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-0vpu3jnw/aiohttp/setup.py", line 13, in <module>
        from Cython.Build import cythonize
      File "/usr/lib/python3/dist-packages/Cython/Build/__init__.py", line 1, in <module>
        from .Dependencies import cythonize
      File "/usr/lib/python3/dist-packages/Cython/Build/Dependencies.py", line 49, in <module>
        from ..Compiler.Main import Context, CompilationOptions, default_options
      File "/usr/lib/python3/dist-packages/Cython/Compiler/Main.py", line 22, in <module>
        from .Scanning import PyrexScanner, FileSourceDescriptor
    UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 0: invalid start byte

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-0vpu3jnw/aiohttp/

i google but couldn’t find anything.

I’m prerty familiar with docker commands from Cli i have a lot of docker container… I don’t think it’s a docker command problem…

[AppDaemon]
ha_url = https://10.10.10.200:8123/
ha_key = xxxxxxx
logfile = STDOUT
errorfile = STDERR
app_dir = /volume1/docker/appdaemon/conf/apps
threads = 10
cert_path = /volume1/docker/homeassistant/config/certs
latitude = 
longitude = 
elevation = 
time_zone = 
# Apps
[hello_world]
module = hello
class = HelloWorld

This is the docker command:

docker run -v /etc/localtime:/etc/localtime:ro -v /volume1/docker/homeassistant/config/conf:/conf -v /volume1/docker/homeassistant/config/certs:/certs --restart always --net=host --name appdaemon mezz64/appdaemon

and I get this error:

2017-03-30 17:15:40.562142 WARNING Unable to connect to Home Assistant, retrying in 5 seconds
2017-03-30 17:15:45.590381 WARNING Unable to connect to Home Assistant, retrying in 5 seconds
2017-03-30 17:15:50.618638 WARNING Unable to connect to Home Assistant, retrying in 5 seconds
2017-03-30 17:15:55.647313 WARNING Unable to connect to Home Assistant, retrying in 5 seconds
2017-03-30 17:16:00.676223 WARNING Unable to connect to Home Assistant, retrying in 5 seconds

Anyone can help me?

layout:
  - sensor.sunset_time, sensor.netatmo_ute_temperature, sensor.netatmo_stue_temperature, iframe1(4x4)
  - scene.normal, scene.bright, script.gotobed
  - light.all_main

in your layout you need to give the name that you gave the widget.
so replace sensor.netatmo_stue_temperature in your layout with temp_ute

1 Like

I’m not a fan of using --net=host unless it’s absolutely necessary. People tend to need it with HASS because of plugins with broadcast/discovery behavior, but I’ve not needed it with anything in appdaemon. (It’s also not consistent on different platforms). That said, not sure it really is the problem here.

Sanity checks. Is 10.10.10.200 the same as the Synology? HASS is running on the Synology too? Is it actually listening on HTTP_S_? That is not typical to do certificates against IP addresses, so it’s probably self-signed. If there’s any validity checks going on, they could be barfing. (Does HASS listen on 8123 for HTTPS either?)