Dashticz - General Discussions
Moderators: leecollings, htilburgs, robgeerts
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Dashticz v2.0, custom positioning and multiple screens
Staying tuned
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
- Posts: 1273
- Joined: Saturday 24 January 2015 22:12
- Target OS: NAS (Synology & others)
- Domoticz version: 3.7067
- Location: NL
- Contact:
Re: Dashticz v2.0, custom positioning and multiple screens
NEW FUNCTION IN BETA!
Want your block to show up differently then Dashticz generates and do you have a little bit of coding skills?
Add to custom.js the following function:
Change '233' in the function-name to the idx of your device!
This is a sample-function, you can do whatever you want inside this function.
In the show your dashboard topic you can show what you've created. If it may usefull for other users to, I can include it in the core of Dashticz!
Want your block to show up differently then Dashticz generates and do you have a little bit of coding skills?
Add to custom.js the following function:
Code: Select all
function getBlock_233(device,idx){ //change 233 to the idx of your device!
$('.block_'+idx).attr('onclick','switchDevice(this)');
var html='';
html+='<div class="col-xs-4 col-icon">';
if(device['Status']=='Off') html+=iconORimage(idx,'fa-toggle-off','','off icon');
else html+=iconORimage(idx,'fa-toggle-on','','on icon');
html+='</div>';
html+='<div class="col-xs-8 col-data">';
html+='<strong class="title">'+device['Name']+'</strong><br />';
if(device['Status']=='Off') html+='<span class="state">AFWEZIG</span>';
else html+='<span class="state">AANWEZIG</span>';
if(_SHOW_LASTUPDATE) html+='<br /><span class="lastupdate">'+moment(device['LastUpdate']).format(_LASTUPDATE_FORMAT)+'</span>';
html+='</div>';
return html;
}
This is a sample-function, you can do whatever you want inside this function.
In the show your dashboard topic you can show what you've created. If it may usefull for other users to, I can include it in the core of Dashticz!
Last edited by robgeerts on Monday 01 May 2017 17:10, edited 1 time in total.
-
- Posts: 26
- Joined: Saturday 15 April 2017 12:28
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: The Netherlands
- Contact:
Re: Dashticz v2.0, custom positioning and multiple screens
Still having the 2 hour time issue in last beta
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Dashticz v2.0, custom positioning and multiple screens
robgeerts wrote:NEW FUNCTION IN BETA!
Want your block to show up differently then Dashticz generates and do you have a little bit of coding skills?
Add to custom.js the following function:
Code: Select all
Change '233' in the function-name to the idx of your device! This is a sample-function, you can do whatever you want inside this function.[/quote] Thanks. Works great. Now I need to figure out how to adapt the afvalwijzer changes in to this. BTW.. Did I say You Rock
Last edited by EdwinK on Monday 01 May 2017 17:24, edited 1 time in total.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
- Posts: 278
- Joined: Sunday 14 December 2014 12:28
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.11375
- Contact:
Re: Dashticz v2.0, custom positioning and multiple screens
When i add the new calendar plugin my dashboard stops working.
I have add (on the dots is my code);
And add
Or is this still broken?
Edit:
Found the problem.
Was forgot to add var calendars = {}
But is it possible to add the title in the calendar block?
Also when using also calendars.private the calendars.business isn't working anymore.
I have add (on the dots is my code);
Code: Select all
calendars.business = { title: 'business', icalurl: 'https://crossorigin.me/https://calendar.google.com/calendar/ical/...................................................../basic.ics' }
Code: Select all
columns[4] = {}
columns[4]['blocks'] = [196,195,197,49,268,calendars.business] //news, ,'train','traffic'
columns[4]['width'] = 5;
Edit:
Found the problem.
Was forgot to add var calendars = {}
But is it possible to add the title in the calendar block?
Also when using also calendars.private the calendars.business isn't working anymore.
- mvveelen
- Posts: 678
- Joined: Friday 31 October 2014 10:22
- Target OS: NAS (Synology & others)
- Domoticz version: Beta
- Location: Hoorn, The Netherlands
- Contact:
Re: Dashticz v2.0, custom positioning and multiple screens
The news blocks are (on my dashboard) very large and show all news items in just 1 block. Is this a bug or is there something wrong with the way I have it set up?
Using:
and I don't really think I can go wrong here.....
Using:
Code: Select all
blocks['news_1'] = {} // NU.NL
blocks['news_1']['feed'] = 'https://crossorigin.me/http://www.telegraaf.nl/rss';
blocks['news_2'] = {} // TWEAKERS
blocks['news_2']['feed'] = 'https://crossorigin.me/http://feeds.feedburner.com/tweakers/nieuws';
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
- HansieNL
- Posts: 957
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz v2.0, custom positioning and multiple screens
Thx... saves me a trip to the funny farmrobgeerts wrote:Will do
Edit: inlatest beta, add to config.js:Code: Select all
var _USE_STATIC_WEATHERICONS= true;
Blah blah blah
- Phantom
- Posts: 87
- Joined: Saturday 31 December 2016 14:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.11652
- Location: The Netherlands
- Contact:
Re: Dashticz v2.0, custom positioning and multiple screens
Hey, i used "git clone https://github.com/robgeerts/dashticz_v2 dashboard" to install the dashboard a couple of days ago and it works and looks great but i want to use the beta version now.
Now when i use git pull i get the message "Already up-to-date." what must i do?
First time for me to work with github
Now when i use git pull i get the message "Already up-to-date." what must i do?
First time for me to work with github
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Dashticz v2.0, custom positioning and multiple screens
Backup everything (CONFIG.js, custom.css and anything you might have changed. Remove the map.ThenPhantom wrote:Hey, i used "git clone https://github.com/robgeerts/dashticz_v2 dashboard" to install the dashboard a couple of days ago and it works and looks great but i want to use the beta version now.
Now when i use git pull i get the message "Already up-to-date." what must i do?
First time for me to work with github
BTW this is how you clone beta branch into dashticz directory:
CODE: SELECT ALL
git clone https://github.com/robgeerts/dashticz_v2.git --branch beta dashticz
Or simple click here. https://github.com/robgeerts/dashticz_v ... e/beta.zip
Or go to the project page: https://github.com/robgeerts/dashticz_v2.git then click on 2 branches then select beta branch.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: Dashticz v2.0, custom positioning and multiple screens
Might be fun thereHansieNL wrote:Thx... saves me a trip to the funny farmrobgeerts wrote:Will do
Edit: inlatest beta, add to config.js:Code: Select all
var _USE_STATIC_WEATHERICONS= true;
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
-
- Posts: 62
- Joined: Thursday 29 December 2016 18:17
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Finland
- Contact:
Re: Dashticz v2.0, custom positioning and multiple screens
When using "var _USE_STATIC_WEATHERICONS = false;", normal screen weather icons are ok, but there is no weather icons on standby screen. When static weather icons are selected (var _USE_STATIC_WEATHERICONS = true;), then standby screen shows weather icons.
- Phantom
- Posts: 87
- Joined: Saturday 31 December 2016 14:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.11652
- Location: The Netherlands
- Contact:
Re: Dashticz v2.0, custom positioning and multiple screens
Thanks that workedEdKo66 wrote:Backup everything (CONFIG.js, custom.css and anything you might have changed. Remove the map.ThenPhantom wrote:Hey, i used "git clone https://github.com/robgeerts/dashticz_v2 dashboard" to install the dashboard a couple of days ago and it works and looks great but i want to use the beta version now.
Now when i use git pull i get the message "Already up-to-date." what must i do?
First time for me to work with github
BTW this is how you clone beta branch into dashticz directory:
CODE: SELECT ALL
git clone https://github.com/robgeerts/dashticz_v2.git --branch beta dashticz
Or simple click here. https://github.com/robgeerts/dashticz_v ... e/beta.zip
Or go to the project page: https://github.com/robgeerts/dashticz_v2.git then click on 2 branches then select beta branch.
-
- Posts: 34
- Joined: Tuesday 28 October 2014 18:29
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz v2.0, custom positioning and multiple screens
I try to change the icon for my windows sensors when they are open/closed
in Domoticz they have an On/Off switch because i can change the icon then. But i want to see open/closed in Dashticz v2.0 so I changed them to 'Door Sensor' in domoticz but then the icon is also a door sensor and does not change
Is it possible to either change the icon, or change the On/Off state to Open/Close? The last one i do prefer because then i can also change the the state of 'At home' or 'Not at home' i found some other topic articles related to 'Aanwezig/Afwezig' but not a final solution yet. Does anyone know a proper solution which will keep in place by any updates?
in Domoticz they have an On/Off switch because i can change the icon then. But i want to see open/closed in Dashticz v2.0 so I changed them to 'Door Sensor' in domoticz but then the icon is also a door sensor and does not change
Code: Select all
// Ramen
blocks[386] = {}
blocks[386]['icon'] = 'fa-sign-out';
blocks[386]['title'] = 'raam slaapkamer';
-
- Posts: 30
- Joined: Sunday 09 April 2017 11:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz v2.0, custom positioning and multiple screens
Hi,
I have been looking around for an hour now, but I can not find how to change the font-size of 1 (text) device? I want my rain prediction smaller and all the others as they are.
Can anybody tell me how to do this? Is there also a way to put the text next to the cloud?
I have been looking around for an hour now, but I can not find how to change the font-size of 1 (text) device? I want my rain prediction smaller and all the others as they are.
Can anybody tell me how to do this? Is there also a way to put the text next to the cloud?
- Attachments
-
- snappie.png (63.24 KiB) Viewed 1579 times
-
- Posts: 1601
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: Dashticz v2.0, custom positioning and multiple screens
Dear sir Geerts...
Is there a solution for this problem?
Or is it not possible on the same board to run a other server?
Everytime reinstall is a lot of work when you run the Beta...
Looks realy cool...
Only every time......... grrrr....
Is there a solution for this problem?
Code: Select all
When Domoticz is updated, it has removed this dashboard?!
Unfortunately, this occurs when the dashboard is installed into Domoticz's www-directory. When Domoticz installs an update, it complete removes the www-directory, before placing the updated version back. Currently, there is no solution for this (except for installing the dashboard on another webserver), you have to re-install this dashboard.
Everytime reinstall is a lot of work when you run the Beta...
Looks realy cool...
Only every time......... grrrr....
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
-
- Posts: 1273
- Joined: Saturday 24 January 2015 22:12
- Target OS: NAS (Synology & others)
- Domoticz version: 3.7067
- Location: NL
- Contact:
Re: Dashticz v2.0, custom positioning and multiple screens
I've installed Dashticz outside Domoticz-folder. Every folder you can reach via your webbrowser is suitable to put Dashticz in... you dont need to run a webserver for it
-
- Posts: 1273
- Joined: Saturday 24 January 2015 22:12
- Target OS: NAS (Synology & others)
- Domoticz version: 3.7067
- Location: NL
- Contact:
Re: RE: Re: Dashticz v2.0, custom positioning and multiple screens
Not at my laptop right now but i thought every block has a unique identifier-classname like '.block233'... wich you can use in css. But if not (will check this out later) I will fix thisSuperMouse wrote:Hi,
I have been looking around for an hour now, but I can not find how to change the font-size of 1 (text) device? I want my rain prediction smaller and all the others as they are.
Can anybody tell me how to do this? Is there also a way to put the text next to the cloud?
-
- Posts: 1601
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: Dashticz v2.0, custom positioning and multiple screens
So there is no problem?robgeerts wrote:I've installed Dashticz outside Domoticz-folder. Every folder you can reach via your webbrowser is suitable to put Dashticz in... you dont need to run a webserver for it
Please a example What map and place u use..
xx
x
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
-
- Posts: 1601
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: Dashticz v2.0, custom positioning and multiple screens
So there is no problem?robgeerts wrote:I've installed Dashticz outside Domoticz-folder. Every folder you can reach via your webbrowser is suitable to put Dashticz in... you dont need to run a webserver for it
Please a example What map and place u use..
xx
x
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
- HansieNL
- Posts: 957
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Dashticz v2.0, custom positioning and multiple screens
Just updated Domoticz beta and my Dashticz folder is still in place.Derik wrote:So there is no problem?robgeerts wrote:I've installed Dashticz outside Domoticz-folder. Every folder you can reach via your webbrowser is suitable to put Dashticz in... you dont need to run a webserver for it
Please a example What map and place u use..
xx
x
Blah blah blah
Who is online
Users browsing this forum: No registered users and 1 guest