I have also tried as aimc suggested and created function in the .js, then in the body include called the function, same results. Also tried the meta refresh and i can see it refresh the page but i donāt get the log message in the console either after the meta refresh or clicking reload.
Tried alert and only get it shown a single time after the js file is changed. If i change the js file at all I get it only on the first reload/refresh.
I just tried again and hit reload 4 times in a row. Each time I got the alert.
I used the timer.js in simplyred and just inserted an alert before the first document.write. Am I doing it wrong? You probably know more than I do about JS.
Iām using owntracks for proximity detection. To make this work and still be able to see the icon at the home, I have a HA zone called house that matches a waypoint called house in owntracks. This means that Home and House are effectively the same thing. When a member of my family is at home, the device tracker icon shows up as green. When they are not home, it shows up grey. Can we setup a list of locations that we consider equivalent to home?
Just follow the instruction in the beginning of this post. This is an open beta so anyone can install it. There is no beta tester, but rather a beta version that anyone can test.
Please pardon me if this problem has been posted here, but I think AppDaemon does not like IP addresses being the same for both ha_url and dash_url. The IP address where AppDaemon and HA reside in my same server with no virtual environment but running docker for both Home Assistant and AppDaemon is 192.168.0.2.
2017-03-10 01:44:48.609897 WARNING ------------------------------------------------------------
2017-03-10 01:44:48.610364 WARNING Unexpected error in dashboard thread
2017-03-10 01:44:48.610558 WARNING ------------------------------------------------------------
2017-03-10 01:44:48.615227 WARNING Traceback (most recent call last):
File "/usr/local/lib/python3.4/asyncio/base_events.py", line 946, in create_server
sock.bind(sa)
OSError: [Errno 99] Cannot assign requested address
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.4/site-packages/appdaemon/appdash.py", line 237, in run_dash
srv = loop.run_until_complete(f)
File "/usr/local/lib/python3.4/asyncio/base_events.py", line 373, in run_until_complete
return future.result()
File "/usr/local/lib/python3.4/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/local/lib/python3.4/asyncio/tasks.py", line 240, in _step
result = coro.send(None)
File "/usr/local/lib/python3.4/asyncio/base_events.py", line 950, in create_server
% (sa, err.strerror.lower()))
OSError: [Errno 99] error while attempting to bind on address ('192.168.0.2', 5050): cannot assign requested address
2017-03-10 01:44:48.615720 WARNING ------------------------------------------------------------
2017-03-10 01:44:48.619454 INFO Connected to Home Assistant 0.39.2
Look at my post for the Raspberry Pi docker install, in beta1 you will have to modify the Dashboard code a little before you build the image. Your docker container is not 192.168.0.2 internally so the OS canāt bind on that specific address.
I grew up there but live in the US now - but thanks for the offer
Iām not sure exactly how cameras work in HASS yet, but I am wondering if a simple video widget would work for now - thgat would be pretty easy to do if peoples cameras have an identifiable stream url. For stills, an iframe widget (already planned) could refresh avery few seconds to pull the latest. Ultimately I would want to do some cooler stuff like popping up larger images when motion was detected etc, but that might be a good start.
This is a thread for the Beta of v2 of the dashboard. Docs elsewhere on the site refer to v1 of the dashboard. v1 uses dashing but v2 is a complete rewrite in python. At the top of this thread is a reference to all of the instructions you should need to set v2 up: