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'
}
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?
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:
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.
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
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?
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!
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.
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!!!