I really liked Dakboard as a quick glance calendar and photoframe, but absolutely love HA and the Tileboard theme. I decided to stretch my web programming legs and overlay the two for a combined touch panel that gives me the calendar I want with the control of my house. Pressing the second menu option, I can also expand my controls
[sorry, can’t add an image becaues this is my first post]
Now I have a quick glance of the time and calendar and have quick control of the devices I need. I also built a context-based option so if the TV in the house is on, I see power and volume controls. There is also one for Spotify controls.
For anyone that wants to know how I did it, I created a custom html page, hosted in WWW, with the following code:
<html><head>
<style>
html, body {
height: 100%;
margin: 0;
background-color: black;
}
iframe{
width: 100%;
height: 100%;
border:none;
position: fixed;
left: 0;
}
#bottom_frame{
height: 100%;
bottom: 0;
}
</style>
</head>
<body>
<iframe id="top_frame" src="https://dakboard.com/app/screenPredefined?p=MYDAKBOARDADDRESS"></iframe>
<iframe id="bottom_frame" src="http://ha.ip.add.ress:8123/local/tileboard/index.html"></iframe>
</body></html>
This is the page you set your touch panel to boot to…
I then created a file “custom.css” under tileboard/styles/
In this new css file, I added the following to make the top layer transparent:
html, body{
background-color: transparent
}
.pages-menu.-left {
width: 75px;
left: 0;
bottom: 0;
top: 60%;
}
This also allow me to adjust the position of the icons to get to my additional pages so that they don’t overlap with my calendar.
Finally, I downloaded and added a transparent PNG, link and uploaded it to tileboard/images/ as transparent.png. Then, replace the background of your front page in your tileboard config file with this new image:
pages: [
{
title: 'Main page',
bg: 'images/transparent.png', //<---this one
icon: 'mdi-home-outline', // home icon
groups: [
{
items: [
After all is said and done, you should now have to overlapping applications!
Happy to help anyone that needs it!
This is my first time posting, so hopefully you all like it