Page 1 of 1
Show floorplan in Dashticz?
Posted: Wednesday 03 April 2019 15:48
by JonasDHollander
Hello everybody,
I am trying to find out if it is possible to add a floorplan in Dashticz.
Is there an easy way to switch to a floorplan view in the Dashticz UI?
Or do i have to be creative and switch tabs in IE? (I am running on a windows machine, tablet browses to Domoticz/Dashticz)
Re: Show floorplan in Dashticz?
Posted: Wednesday 03 April 2019 17:43
by pvm
You can switch to another screen when a device changes state, de the wiki.
Maybe you can show the Floorplan in an iframe??
Re: Show floorplan in Dashticz?
Posted: Wednesday 03 April 2019 19:57
by Lokonli
Some example code below.
The first button will open a popup window with the Domoticz floorplan.
The second button will slide to the second screen.
The second screen contains the Domoticz floorplan in a frame.
Code: Select all
var config = {}
config['language'] = 'nl_NL'; //or: en_US, de_DE, fr_FR, hu_HU, it_IT, pt_PT, sv_SV
config['domoticz_ip'] = 'http://192.168.178.18:8080';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['auto_swipe_back_after'] = '0';
//Definition of blocks
blocks = {}
//button configuration
buttons = {}
buttons.floorplan = {
width:12,
title:'Floor plan',
url: 'http://192.168.178.18:8080/#Floorplans'
}
buttons.slidefloorplan = {
width: 12,
title:"slide to floorplan",
slide:2
}
////////////////////// FRAMES ///////////////////////////
var frames = {}
frames.floorplan = {
frameurl:"http://192.168.178.18:8080/#/Floorplans",
height: '600',
width:12
}
//Definition of columns
columns = {}
columns[1] = {
blocks: [buttons.floorplan, buttons.slidefloorplan],
width: 2
}
columns[2] = {
blocks: [frames.floorplan],
width: 12
}
//Definition of screens
screens = {}
screens[1] = {
columns: [1]
}
screens[2] = {
columns: [2]
}
Re: Show floorplan in Dashticz?
Posted: Thursday 04 April 2019 10:06
by JonasDHollander
Thank you for the advice! Will try this out asap!
Re: Show floorplan in Dashticz?
Posted: Sunday 10 January 2021 14:16
by madpatrick
Hi,
Is it possible to show only the second floorplan if you have multiple plans ?
Also is it possible to show only the floorplan without the Domoticz webmenu ?
Re: Show floorplan in Dashticz?
Posted: Tuesday 11 May 2021 22:45
by poweredge
same here - curious if this is possible ...
Re: Show floorplan in Dashticz?
Posted: Friday 03 November 2023 14:51
by jacobsentertainment
Seems there is no solution to this topic.
Re: Show floorplan in Dashticz?
Posted: Friday 07 March 2025 13:52
by voyo
bump?

Same questions from me, how to make floorplans more robust in Dashticz