Homeydash.com, a Homey dashboard

Hy @DaneedeKruyff,

I am pretty sure I am not the only one that woud like to have the Lights diplayed as light and not as some device Icons.
I have made a code for this. Could you please put it in the online Version.

var str = device.name.toLowerCase();
var n = str.search("light");
  
  if ( device.class === 'light'|| n>0 ) {

	$icon.style.webkitMaskImage = 'url(img/capabilities/bulbOff.svg)';
    $icon.style.backgroundImage = 'url(img/capabilities/bulbOff.svg)';
    $icon.style.backgroundSize = 'contain'
  
  }

also one svg. proposal:

Thanks and keep the good work.

1 Like

Maybe Iā€™m missing something but for my lights is this already the case, Ok not all the bulb images are completely correct because its using the normal light image for my GU10ā€™s but I can see light images?

So maybe I donā€™t understand you but for my Hueā€™s its working fine I think?

Whit Fibaro, or sonoff devices, you would see a device drawing

The wall plugs I have and configured as lights, donā€™t show a light icon. They show the wall plug icon.

OK clear, thanks for the update!

Great work!
Iā€™m testing out on my iPad right now, looks neat!

What Iā€™m struggling with however, which might be a Homey issue, is that sensors arenā€™t listed by room.
So f.ex. I have a thermometer (Aqara) in multiple rooms, and they are all called ā€œTemperatureā€.
ā€œLiving Roomā€ - ā€œTemperatureā€
ā€œBedroom Smallā€ - ā€œTemperatureā€
ā€œBedroom Largeā€ - ā€œTemperatureā€

This is fine - simple to read temperature for each of my rooms. But when I need to pick device from a list, f.ex HomeyDash indoor temperature, my list is:

ā€œTemperatureā€
ā€œTemperatureā€
ā€œTemperatureā€
ā€¦

So Iā€™ve had to rename all devices in rooms to also include the room name. (An alternative would be that room name is automatically applied, or shown under icon)

For anyone who wants the dutch buienradar on his Google Nest Hub as a live background, add this to ur casting url in the flow:
&background=https%3A%2F%2Fapi.buienradar.nl%2Fimage%2F1.0%2FRadarMapNL%3Fw%3D500%26h%3D512

And when u do and find out the pic is too low on the screen u can add &vadjust=-200 to the url. That way the pic will go up in ur screen and be more centralised. U can play with the 200 value ofc to adjust it to ur needs.

3 Likes

:smile::yum:

https://www.buienradar.nl/overbuienradar/gratis-weerdata

Without coding it also works on a computer browser in Chrome.
&background=https://api.buienradar.nl/image/1.0/RadarMapNL?w=500&h=350&vadjust=-200&hadjust=-300

1 Like

Thatā€™s why i mentioned the Google Nest Hub. And plz keep the conversation in English.

Iā€™ā€™m sorry, but I donā€™t quite understand how to get this to work on my Google Nest Hub. I made a flow (IF this flow is started THEN cast a website) and used a random website (nos.nl) and added &background=https%3A%2F%2Fapi.buienradar.nl%2Fimage%2F1.0%2FRadarMapNL%3Fw%3D500%26h%3D512 to it. That does not seem to work. Could you please clarify?

And u did try Homeydash.com on the Nest Hub?

1 Like

Ah, I guess I am confused. Thanks for clarifying. Tried it as background to homeydash in the URL in the flow and it works! Great stuff! However, I do have a follow-up question: do you know if it is possible to remove the clock from buienradar? It overlaps with the icons on the top left of homeydash. Thanks again!

2 Likes

Add this to the url:
&renderText=False

1 Like

Thanks, I will try that. Much appreciated!

I treid this but the clock of buienradar wonā€™t go away.

Ik have set the background url in homeydash on my laptop and have een nice background from buienradar but it would be nice if the clock of buienradar could be removed.

And u did add &vadjust=-200 to the url to let the pic go up a bit so the clock disappears?

This is the compleet url i have used in the dashboard

Can u plz try to add that to the url instead of typing it in the settings?
Clear the background in the settings, save and add this to the url.
The url should look like this now:
https://homeydash.com/?theme=web&lang=nl&token=TOKEN&background=https%3A%2F%2Fapi.buienradar.nl%2Fimage%2F1.0%2FRadarMapNL%3Fw%3D500%26h%3D512&vadjust=-200
Plz replace ā€œTOKENā€ with ur own token!!!

Thank you very much, now the clock is gon :slight_smile:

Cheers