does the trick. everything i change in the dashboard automaticly is shown on the screen.
to bad that loading the dash takes to long and every time the frame gets black in between.
but for developing it is an option. sadly not for production enviroment.
Can someone show an example of how a camera should look like in yaml widget. This is what I have setup as a iframe now. Would like to use the new camera widget. And yes Iām using ssl.
backdoor_camera:
widget_type: iframe
title: Back Door
refresh: 300
url_list:
- http://192.168.1.7:8151/videostream.cgi?rate=0&user=xxxx&pwd=xxxxx
Trying this:
frontdoor_camera:
widget_type: camera
title: Front Door
refresh: 300
entity_picture:
- https://myaddress/api/camera_proxy/camera.front_door_camera?token=mytoken&api_password=mypassword
Ooooh, it seems that when we use the - /images/file.html method to get text into the url_list, it doesnāt actually reload the file each time. I deleted the file it was loading and it still kept displaying it every 10 seconds just like it never went away.
This does not refresh the content, it just switches pages. I refreshed the browser, and now if weatherAlert.html does not exist, it gives me a 404 error, which makes sense. I would like it though if it gave that error in the log instead of in the iframe.
NVM itās reloading the data right now. But the 404 is still an issue.
The skin you showed in your picture is a custom css one. So that means when updating to beta3 the custom_css folder you have is not updated with the new css stuf which is needed for the alarm panel.
So if you want to test it, try it with the default skin. Then it should show up correctly.
When you also want it to be working at your custom skin, you need to compare your customās skin dashboard.css file with this file: /appdaemon/appdaemon/assets/css/default/dashboard.css
You will see in this file stuff like this which is not in your custom skinās dasboard.css file.:
iāve seen the alarm panel - but my idea was an alarm clock. to set the time for wakeup in the morning, or if children needs to go to sport, or whatever
Iām receiving an error trying to conf an iframe. Conf and error below.
#
# Main arguments, all optional
#
title: Main Panel
widget_dimensions: [120, 120]
widget_margins: [5, 5]
columns: 8
layout:
- sensor.netatmo_ute_temperature, sensor.netatmo_stue_temperature, iframe(150x150)
label:
widget_type: label
title: label
title2: label 2
text: Hello World
temp_ute:
widget_type: sensor
title: Temperatur
title2: Ute
units: "C"
entity: sensor.netatmo_ute_temperature
temp_inne:
widget_type: sensor
title: Temperatur
title2: Inne
units: "C"
entity: sensor.netatmo_stue_temperature
weather:
widget_type: iframe
refresh: 15
url_list:
- http://api.met.no/weatherapi/radar/1.5/?radarsite=south_norway;type=reflectivity;content=animation;size=normal
Error:
pi@raspberrypi:~/appdaemon_dashboard/appdaemon $ python3 -m appdaemon.appdaemon -c /home/pi/appdaemon_dashboard/appdaemon/conf/
2017-03-28 12:29:59.036510 INFO AppDaemon Version 2.0.0beta3 starting
2017-03-28 12:30:04.918850 WARNING 'elevation' directive is deprecated, please remove
2017-03-28 12:30:04.919883 WARNING 'latitude' directive is deprecated, please remove
2017-03-28 12:30:04.920720 WARNING 'longitude' directive is deprecated, please remove
2017-03-28 12:30:04.921263 WARNING 'time_zone' directive is deprecated, please remove
2017-03-28 12:30:05.558492 INFO Got initial state
2017-03-28 12:30:05.561179 INFO Loading Module: /home/pi/appdaemon_dashboard/appdaemon/conf/apps/hello.py
2017-03-28 12:30:05.568096 INFO Loading Object hello_world using class HelloWorld from module hello
2017-03-28 12:30:05.818536 INFO hello_world: Hello from AppDaemon
2017-03-28 12:30:05.824761 INFO hello_world: You are now ready to run Apps!
2017-03-28 12:30:05.825494 INFO App initialization complete
2017-03-28 12:30:05.827293 INFO Starting dashboard
2017-03-28 12:30:05.867324 INFO HADashboard Started
2017-03-28 12:30:05.868271 INFO Listening on ('IP', 5050)
2017-03-28 12:30:06.080875 INFO Connected to Home Assistant 0.41.0
2017-03-28 12:30:10.949036 INFO Compiling dashboard 'main'
2017-03-28 12:30:11.687860 WARNING Unable to find widget definition for 'iframe'
2017-03-28 12:30:12.132052 WARNING Widget type not found: text
2017-03-28 12:30:12.133634 INFO function [compile_dash] finished in 1196 ms
Thatās what it is designed to do, you are shoehorning it in to do something else! If you can describe your usecase more exactly we can figure out how best to address it in a future release.