TileBoard - New dashboard for Homeassistant

If you’re positive that it happens with config.js empty then I don’t know, but if it’s possible you’re mistaken there then this is an easy fix. It’s the fake climate tile in the default config file trying to update but not having a real climate element, if you search for ‘Heating’ in the sample config you’ll find the exact tile causing it.

Hi Marcok,

This looks great, great work and just what I have been looking for.

Is there anyway you could let me know how to get this working in Tileboard?

Kind regards

Hi all

I am using z’n Aqara switch to switch on/off 2 seperate lights in the kitchen.
Using 2 different automation scripts to be able to use this in TileBoard. I could not find another way.

Is it possible to have the status of the lights shown I the tile? See yellow marked tiles. Like the one marked with green.

Or even better: can this be done with 1 tile?

I just installed this on my rpi, but 2 things happen, or don’t that I expected. I don’t get asked for my password, and it can load the index, but then cannot find the css or app…js files.

address: http://192.168.86.xx:8123/local/tileboard/index.html/

GET http://192.168.86.xx:8123/local/tileboard/index.html/styles/styles-b3719938.css net::ERR_ABORTED 404 (Not Found)
192.168.86.xx/:31 GET http://192.168.86.xx:8123/local/tileboard/index.html/styles/custom.css net::ERR_ABORTED 404 (Not Found)
192.168.86.xx/:40 GET http://192.168.86.xx:8123/local/tileboard/index.html/scripts/app-ac55b6b9.js net::ERR_ABORTED 404 (Not Found)
favicon.png:1 GET http://192.168.86.xx:8123/local/tileboard/index.html/favicon.png 404 (Not Found)

Hey, is there a website/repo where to upload and download custom themes and personalisations for Tileboard?

1 Like

You do not need an extra slash

http://192.168.86.xx:8123/local/tileboard/

should be ok

Quick question on the TILES.POPUP. By default it is only possible to display an icon in the center of the tile.
For some buttons (POPUP) I would like a state and/or value instead of an icon like TILES.SENSOR has.

Any ideas where to change this?

Hello benalla,

Based on the state of an entity, you can execute a script. I use TYPES.SWITCH for this

action: function(item, entity) {
	var action = 'binnenverlichting_turn_on'; //script lights on
	
	if(this.states['input_boolean.binnenverlichting'].state == 'on') { //condition check, if lights are on, change action to "lights out"
	action = 'binnenverlichting_turn_off'; //scripts lights off
	}
	// call actual service in HA
	this.apiRequest({
	type: 'call_service',
	domain: 'script',
	service: action
	})
},

For the layout, I personally use different icons and color of the tile;

icon: function() {
	if (this.states['input_boolean.binnenverlichting'].state == 'on') return 'mdi-lightbulb-on-outline';
	else return 'mdi-lightbulb-off-outline';
	}
customStyles: function (item, entity) {
	if (this.states['input_boolean.binnenverlichting'].state == 'off') {
		return {'background-color': '#b33d3d'};
		}
		else {
		return {'background-color': '#4e7f6a'}
		}
	},

Short Info: Home Assistant OS on Intel NUC - SSL via lets encrypt - dyn DNS - works great!
I have a wall mounted Amazon Fire HD10 Tablet with fully kiosk Browser and Tileboard.

I can access the tileboard url with my pc there are no problems but i can’t access this url with fully kiosk browser on my tablet.
Unfortunately, I have no more ideas what to try.
Hope you guys can help me out with some ideas

Thanks in advance :slight_smile:

what url are you using?
And please tell me you are not exposing your tileboard url to the internet

https://dyndns:8123/local/tileboard/index.html

When i use the internal ip i can’t access home assistant :slight_smile:
i don’t know how to fix that :frowning:

Ok, do NOT expose tileboard to the internet. When someone finds it, they will be abel to control your devices if you have set a token.
Instead, either set tileboard on a different server or use the Addon.
The addon uses port 80, but you can set a port (8090) so that you can browse to http://<ip_ha>:8090
Remove tileboard from you local.

Yes, i know thats not a good solution, but i only want to try out tileboard :slight_smile:
is there a addon for tileboard?
Which Addon do you mean?

The TileBoard Addon :slight_smile:

Add this to your config.yaml:

homeassistant:
  internal_url: "http://\<ipaddresHA>:8123"
  external_url: "https://dyndns"

That way you can access home assistant with your local IP adress on your local network

Ah ok nice thank you :slight_smile:
i moved the folder “tileboard” from “www” to “config”.
my problem now is when i configure the addon:
Config file not found. Setting up an example config.
configFolder: /config/tileboard/ in the addon.
:rofl:

only tileboard should be ok

when i take /config/tileboard/ as path he only opens an example from tileboard.

when i only write tileboard:
Traceback (most recent call last):
File “/etc/tileboard/symlink-config.py”, line 28, in
main(args[1], args[2])
File “/etc/tileboard/symlink-config.py”, line 20, in main
symlink(path.join(dirpath, filename), path.join(filename_dest_dir, filename))
FileExistsError: [Errno 17] File exists: ‘/config/tileboard/index.html’ → ‘/var/www/tileboard/./index.html’

now i’m confused :smiley:

1 Like

With add-on tileboard directory must only contain config.js and custom.css.

1 Like

thank you very much for you answer that solves the problem!! :slight_smile:

2 Likes

can you pls share your code?