bigwoof
November 15, 2017, 12:09am
1
Hi Everyone,
Just thought I would share this simple hack to get a world clock into my forntend.
It is based on the XKCD Now comic:
I simply added a generic camera to my config:
camera:
- platform: generic
name: worldtime
still_image_url: https://imgs.xkcd.com/comics/now.png
Nice if you have people on other parts of the planet and have the frontend handy
Hope someone finds it useful
also you should read XKCD - I would say that most of us here are the target audience.
12 Likes
Cheers!
It inspired me to do another, Global Cloud & Sun map from:
https://www.die.net/earth/
- platform: generic
name: Global Cloud and Sun
still_image_url: https://static.die.net/earth/mercator/1600.jpg
edit: Got a bit more into doing these: a European IR Satellite,
- platform: generic
name: Europe Infrared Satellite
still_image_url: https://www.met.ie/weathermaps/WEB_sat_ir_eur.jpg
and some groups to stop them all stacking in a line.
Globe:
view: yes
entities:
- group.global_cloud_and_sun
- group.xkcd_time
- group.europe_infrared_satellite
xkcd_time:
view: no
entities:
- camera.xkcd_time
Global Cloud and Sun:
view: no
entities:
- camera.global_cloud_and_sun
Europe Infrared Satellite:
view: no
entities:
- camera.europe_infrared_satellite
4 Likes
bigwoof
November 16, 2017, 5:33am
3
Very Nice!
I like the XKCD clock to figure out if my relatives on the other side of the planet are awake but I must say that I like the satellite views.
I am not sure if the camera component is the most efficient way to do it - and hopefully it doesn’t put too much load on the hosting servers.
This has given me the idea to add the rain radar to my weather station view. Thanks!
1 Like