Thanks for making this theme, I’m trying to customise it but need some help.
I want to use different configs for mobile and non-mobile via the url but dont know where to put the variables for each, is it in the same config file or different files in separate folders?
Hi and thank you for making this great project. I tried searching the thread but could not find an answer to my question. So I appoligize in advance if this has already been answered.
I am using an IPad. When I click a tile I want another app to open. This can be achieved by using an url scheme specific to the app. I think I should use the action and create a function that opens the url. But I am not successful in achieving this. Any tips would be greatly appreciated, thanks!
I’d like to make multiple sets of screens, one sized for the phone and one sized for a 1024x600 display. Is the easiest thing to do to just duplicate the whole www/tileboard tree and call the appropriate URL to get to the big (or small) variant ala /tileboard.big/index.html or the like ?
I’m going to assume the CSS tweaks will be different for the two resolutions, but that’s just a guess.
function loadScript(url) {
var req = new XMLHttpRequest();
req.open('GET', url + '?cache=' + Math.random(), false);
req.onreadystatechange = function(){
if (req.readyState === 4) {
var s = document.createElement('script');
s.appendChild(document.createTextNode(req.responseText));
document.head.appendChild(s);
}
};
req.send(null);
}
var conf = location.search.match(/config=([\w\d_-]+)/);
conf = conf ? conf[1] : 'default'
loadScript('includes/' + conf + '.js');
Create includes directory in the root of your TileBoard directory and store configs for each of your dashboard in there. By default it would load default.js and you can specify any other ones in the query string like so:
Hello all, just installed this fantastic front end for HA and slowly getting my head around it.
One thing I’m stuck on though - I have a climate tile configured. It displays the correct data from the climate entity in HA, and I can bump the target temperature up and down.
I can’t for the life of me figure out how to change the mode. I have fan, heat, cool, auto and off. The mode is displayed, but I can’t seem to change it. Any pointers?
I tried several different methods but this is the one that worked best. In custom.css, I added the following keyframes animation. I’m just changing the text color but you can add other things like background-color.
In my config.js, I have wireless tags. I check if the signal strength is -120 which means it’s offline. If offline, ‘animation’: ‘pulsate 3s infinite’. This runs the pulsate animation for a duration of 3 seconds, infinitely. I also check battery level. If less than 25%, pulsate the same as if offline. If both are false, turn of animation with ‘animation’: ‘none !important’.
First of all thank you to the developer for this fantastic project. I have a question,
I wrote a new controller to dim the screen of fully after a period of timeout. I have a new javascript file - dimmer.js with 3 local variables - timeout, maxBrightness, and minBrightness.
This works just fine - but I would like to fetch the value of those from home assistant so that I can make changes to an input_number.
How can I get tileboard to fetch this value inside my controller? I assume I can use the entity_id to fetch it but I cannot find the actual code that sends the request to HA.
Loving TileBoard - finally figured out how to get different size tiles so my ZWave sensor-based home security system is looking good on a 10" display attached to a Raspberry Pi. Running HA in a Docker container on a i3 Intel NUC. Colors of the gauges change based on values, doors/windows go red and icon changes when open. Perfect for glancing across the house from 30 feet away.