Dashticz - General Discussions

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - General Discussions

Post by robgeerts »

Sorry dont know how to password protect a directory on a pi..maybe Google or another user knows the answer?
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by HansieNL »

rednas wrote: Wednesday 09 August 2017 9:53 Is it right that it doesn't show a login screen when opening Dashticz?
That means that it is open to everyone and I don't want that.
How can I add this?
Maybe you can create a link from a password protected page to the Dashticz page.
Blah blah blah
rednas
Posts: 132
Joined: Tuesday 20 October 2015 12:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands
Contact:

Re: Dashticz - General Discussions

Post by rednas »

Yes, is ofcourse possible but this still means that the page is accessible without a password if you go directly to it!
klaasnicolaas
Posts: 8
Joined: Monday 07 August 2017 1:29
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Location: Alkmaar
Contact:

Re: Help, no data in dashticz!

Post by klaasnicolaas »

Nice that it has been solved ;) :lol:
Hardware/Setup:
- Dashticz V2
- Aeon Labs Z-Stick GEN5
- RFXtrx433E
- P1 Smart Meter
- 1x Fibaro Smoke Sensor
- 1x Fibaro Wall Plug
- KAKU Stuff
avdw72
Posts: 4
Joined: Tuesday 08 August 2017 14:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by avdw72 »

Please add the next lines to the nl_NL.json.
"energy_delivered": "Totaal geleverd",
"energy_deliveredtoday": "Vandaag geleverd",
"gas_usage": "Gasverbruik",
edwin
Posts: 11
Joined: Wednesday 30 November 2016 15:21
Target OS: Linux
Domoticz version:
Contact:

Dimmer as a simple switch

Post by edwin »

So, I have 3 dimmers setup in dashticz that I would like to operate as a normal switch.

I can easily remove the slider in custom/custom.css:

Code: Select all

.slider16 {display: none;}
The problem is, however, if I change the width to the default 4 for simple switches, the icon-data ratio is still set to the standard 2-10 that is used for dimmers. The width of 2 for the icon is too small for a decent icon size, resulting in the text being wrapped underneath the icon.
trap.png
trap.png (8.04 KiB) Viewed 1940 times
For now, I circumvented this by creating a group with just one lamp set to a specific brightness. This works, but obviously doesn't show the brightness setting, which I do like (so I can see if it has been tempered with using the physical switch :) )

Any suggestions?
Recent beta (git) on Arch Linux | Dashticz v2 (git) | RFLink 46.0 | Ikea Trådfri | P1 Smart Meter
ztorm
Posts: 20
Joined: Thursday 16 February 2017 10:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Contact:

Re: Dashticz - General Discussions

Post by ztorm »

I have a question about scenes/groups in my dashboard. I have made some scenes/groups that set multiple lamps to different levels or just switch them on/off. The scenes/groups are implemented in my dashboard as a switch (on/off different colors). The problem is now that all the scenes/groups are switched on (status on in the dashboard) when I turn on a lamp with the switch of the lamp, even when the lamp isn't represented as 'on' in the scene/group. Is it possible that the switches of the scenes/groups are only on when I switch them on?
scenes.png
scenes.png (204.4 KiB) Viewed 2085 times
edwin
Posts: 11
Joined: Wednesday 30 November 2016 15:21
Target OS: Linux
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by edwin »

I have a question about scenes/groups in my dashboard [...]
Hi ztorm. I think this may not be so much be a dashticz thing, but a general domoticz issue, as dashticz is simply showing the status that domoticz passes on. What does it look like in Domoticz?

What you could try is changing scenes to groups, and play around a bit with that (groups can be turned off, scenes cannot...)
Recent beta (git) on Arch Linux | Dashticz v2 (git) | RFLink 46.0 | Ikea Trådfri | P1 Smart Meter
User avatar
madpatrick
Posts: 637
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2024.7
Location: Netherlands
Contact:

Re: Dashticz - General Discussions

Post by madpatrick »

Hello,

I've installed Dashticz and it is running, only the configuration with config.js is not working.
Changing the settings in Dashticz configuration screen is working per station. When i make the changes config.js it makes no difference.
-= HP server GEN8 Xeon(R) E3-1220L_V2 -=- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.12b on Tab8" =-
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - General Discussions

Post by robgeerts »

What does your current config.js look like?
User avatar
madpatrick
Posts: 637
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2024.7
Location: Netherlands
Contact:

Re: Dashticz - General Discussions

Post by madpatrick »

robgeerts wrote: Friday 11 August 2017 9:47 What does your current config.js look like?

Code: Select all

/*
var config = {}
config['domoticz_ip'] = 'http://192.168.1.1:9200';
config['app_title'] = 'Dashticz';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['default_news_url'] = 'http://www.nu.nl/rss/algemeen';
config['news_scroll_after'] = '7';
config['standby_after'] = 0;
config['auto_swipe_back_to'] = 1;
config['auto_swipe_back_after'] = '10';
config['auto_slide_pages'] = 0;
config['slide_effect'] = 'slide';
config['standard_graph'] = 'hours';
config['language'] = 'nl_NL';
config['timeformat'] = 'DD-MM-YY HH:mm';
config['calendarformat'] = 'dd DD.MM HH:mm';
config['calendarlanguage'] = 'nl_NL';
config['calendarurl'] = 0;
config['boss_stationclock'] = 'RedBoss';
config['gm_api'] = 0;
config['gm_zoomlevel'] = 0;
config['gm_latitude'] = 0;
config['gm_longitude'] = 0;
config['wu_api'] = 0;
config['wu_city'] = 'Amsterdam';
config['wu_name'] = 0;
config['wu_country'] = 'NL';
config['idx_moonpicture'] = 0;
config['switch_horizon'] = 0;
config['host_nzbget'] = 0;
config['spot_clientid'] = 0;
config['garbage_company'] = 0;
config['garbage_icalurl'] = 0;
config['garbage_zipcode'] = 0;
config['garbage_street'] = 0;
config['garbage_housenumber'] = 0;
config['garbage_maxitems'] = 0;
config['garbage_width'] = 0;
config['selector_instead_of_buttons'] = 0;
config['auto_positioning'] = 1;
config['use_favorites'] = 1;
config['last_update'] = 1;
config['hide_topbar'] = 0;
config['hide_seconds'] = 0;
config['hide_seconds_stationclock'] = 0;
config['use_fahrenheit'] = 0;
config['use_beaufort'] = 0;
config['translate_windspeed'] = 1;
config['static_weathericons'] = 0;
config['hide_mediaplayer'] = 0;
config['garbage_hideicon'] = 0;


var trashnames = {}
trashnames['Gft'] = 'GFT';
trashnames['Pmd'] = 'Plastic';
trashnames['Rest'] = ''; //LEAVE EMPTY IF YOU WANT TO HIDE IT

var publictransport = {}
publictransport.ovinfobus = { show_via: false, station: 'son-en-breugel/bushalte-penseelkever', provider: '9292-bus', icon: 'bus', width:5, results: 6 }

var tvguide = {}
tvguide.dutch = { key:'dutch', icon: 'fa-television', width:7, channels: [1,3,4,31,46,92], maxitems: 5 }

var _STREAMPLAYER_TRACKS  	= [
	{"track":1,"name":"Q-music","file":"http://icecast-qmusic.cdp.triple-it.nl/Qmusic_nl_live_96.mp3"},
	{"track":2,"name":"538 Hitzone","file":"http://vip-icecast.538.lw.triple-it.nl/WEB11_MP3"},
	{"track":3,"name":"Slam! NonStop","file":"http://stream.radiocorp.nl/web10_mp3"},
	{"track":4,"name":"100%NL","file":"http://stream.100p.nl/100pctnl.mp3"},
  ]; 


var buttons = {}
buttons.nunl = {key: 'nunl',  width:12, icon: 'fa-newspaper-o', title: 'Nu.nl', newwindow:true, url: 'http://www.nu.nl'}
buttons.nos = {key: 'nos',  width:12, icon: 'fa-newspaper-o', title: 'Nos', url: 'http://www.nos.nl'}


var blocks = {}
blocks['blocktitle_1'] = {}
blocks['blocktitle_1']['key'] = 'blocktitle_1';
blocks['blocktitle_1']['type'] = 'blocktitle';
blocks['blocktitle_1']['title'] = 'Example';


var columns = {}
columns['bar'] = {}
columns['bar']['blocks'] = ['logo','miniclock','settings']
					
columns[1] = {}
columns[1]['blocks'] = ['currentweather_big','weather','garbage']
columns[1]['width'] = 5;

columns[2] = {}
columns[2]['blocks'] = ['blocktitle_1']
columns[2]['width'] = 5; 

columns[3] = {}
columns[3]['blocks'] = ['sunrise']
columns[3]['width'] = 2; 

var columns_standby = {}
columns_standby[1] = {}
columns_standby[1]['blocks'] = ['clock','weather']
columns_standby[1]['width'] = 12;

var screens = {}
screens[1] = {}
screens[1]['background'] = 'bg6.jpg';
screens[1]['columns'] = [1,2,3]
*/
-= HP server GEN8 Xeon(R) E3-1220L_V2 -=- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.12b on Tab8" =-
raymond
Posts: 71
Joined: Monday 12 October 2015 15:46
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10232
Contact:

Re: Dashticz - General Discussions

Post by raymond »

I had this too, you should remove the /* at the top and the */ at the bottom of the file, otherwise the whole settings are "commented out"
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - General Discussions

Post by robgeerts »

Remove the /* at the beginning and the */ at the end ;)
User avatar
madpatrick
Posts: 637
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2024.7
Location: Netherlands
Contact:

Re: Dashticz - General Discussions

Post by madpatrick »

thanks !!
This worked, but now i don't see my sensors any more... :? :?
-= HP server GEN8 Xeon(R) E3-1220L_V2 -=- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.12b on Tab8" =-
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - General Discussions

Post by robgeerts »

When you change the settings via de popup, after saving you get a code you have to put into config.js...
User avatar
madpatrick
Posts: 637
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2024.7
Location: Netherlands
Contact:

Re: Dashticz - General Discussions

Post by madpatrick »

robgeerts wrote: Friday 11 August 2017 10:28 When you change the settings via de popup, after saving you get a code you have to put into config.js...
I've done this.
The strange thing is that every change in config.js is visable, but the domoticz buttons are not displayed any more.

When is put back */ in the script and run with the popup settings, i can see the domoticz buttons.
Last edited by madpatrick on Friday 11 August 2017 11:06, edited 1 time in total.
-= HP server GEN8 Xeon(R) E3-1220L_V2 -=- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.12b on Tab8" =-
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - General Discussions

Post by robgeerts »

Ip correct???
raymond
Posts: 71
Joined: Monday 12 October 2015 15:46
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10232
Contact:

Re: Dashticz - General Discussions

Post by raymond »

You don't have any buttons/devices defined in your columns, although you did specify to use Domoticz favorites. Are you using Favorites in Domoticz?

Can you try to add a switch replaceing this part <switchIDX> ?

Code: Select all

columns[1] = {}
columns[1]['blocks'] = [<switchIDX>,'currentweather_big','weather','garbage']
columns[1]['width'] = 5;
So for eaxmple:

Code: Select all

columns[1] = {}
columns[1]['blocks'] = [10,'currentweather_big','weather','garbage']
columns[1]['width'] = 5;
Last edited by raymond on Friday 11 August 2017 11:16, edited 1 time in total.
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - General Discussions

Post by robgeerts »

Using favorites only works if auto positioning is set to 1
User avatar
madpatrick
Posts: 637
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2024.7
Location: Netherlands
Contact:

Re: Dashticz - General Discussions

Post by madpatrick »

This is my latest config:

Code: Select all

var config = {}
config['domoticz_ip'] = 'http://192.168.1.1:9200';
config['app_title'] = 'Dashticz Control Panel';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['default_news_url'] = 'http://www.nu.nl/rss/algemeen';
config['news_scroll_after'] = '7';
config['standby_after'] = 0;
config['auto_swipe_back_to'] = 1;
config['auto_swipe_back_after'] = '10';
config['auto_slide_pages'] = 0;
config['slide_effect'] = 'slide';
config['standard_graph'] = 'month';
config['language'] = 'nl_NL';
config['timeformat'] = 'DD-MM-YY HH:mm';
config['calendarformat'] = 'dd DD.MM HH:mm';
config['calendarlanguage'] = 'nl_NL';
config['calendarurl'] = 0;
config['boss_stationclock'] = 'RedBoss';
config['gm_api'] = 'key';
config['gm_zoomlevel'] = 0;
config['gm_latitude'] = 0;
config['gm_longitude'] = 0;
config['wu_api'] = '25cd31fb44aab3bd';
config['wu_city'] = 'pws:IHELLEVO2';
config['wu_name'] = 'Hellevoetsluis';
config['wu_country'] = 'NL';
config['idx_moonpicture'] = 0;
config['switch_horizon'] = 0;
config['host_nzbget'] = 0;
config['spot_clientid'] = 'key';
config['garbage_company'] = 'deafvalapp';
config['garbage_icalurl'] = 0;
config['garbage_zipcode'] = '5692VG';
config['garbage_street'] = 'Hoogstraat';
config['garbage_housenumber'] = '3';
config['garbage_maxitems'] = '5';
config['garbage_width'] = '5';
config['selector_instead_of_buttons'] = 0;
config['auto_positioning'] = 1;
config['use_favorites'] = 1;
config['last_update'] = 1;
config['hide_topbar'] = 0;
config['hide_seconds'] = 0;
config['hide_seconds_stationclock'] = 0;
config['use_fahrenheit'] = 0;
config['use_beaufort'] = 0;
config['translate_windspeed'] = 1;
config['static_weathericons'] = 1;
config['hide_mediaplayer'] = 0;
config['garbage_hideicon'] = 0;

var trashnames = {}
trashnames['Gft'] = 'GFT';
trashnames['Pmd'] = 'Plastic';

var publictransport = {}
publictransport.ovinfobus= { show_via: false, station: 'son-en-breugel/bushalte-penseelkever', provider: '9292-bus', icon: 'bus', width:5, results: 6 }

var tvguide = {}
tvguide.dutch = { key:'dutch', icon: 'fa-television', width:7, channels: [1,3,4,31,46,92], maxitems: 5 }

var calendars = {}
calendars.private = { key:'private', width:6, maxitems: 4, icalurl: 'https://calendar.google.com/calendar/ical/bladiebla/basic.ics' }

var maps = {}
maps.sonenbreugel = { key:'sonenbreugel', height: 300, link:'http://www.ovzoeker.nl', width:12, latitude: 51.5322056, longitude: 5.4870054, zoom:10 }

var _STREAMPLAYER_TRACKS  	= [
	{"track":1,"name":"Q-music","file":"http://icecast-qmusic.cdp.triple-it.nl/Qmusic_nl_live_96.mp3"},
	{"track":2,"name":"538 Hitzone","file":"http://vip-icecast.538.lw.triple-it.nl/WEB11_MP3"},
	{"track":3,"name":"Slam! NonStop","file":"http://stream.radiocorp.nl/web10_mp3"},
	{"track":4,"name":"100%NL","file":"http://stream.100p.nl/100pctnl.mp3"},
  ]; 

var buttons = {}
buttons.buienradar = { key: 'buienradar', width:12, isimage:true, image: 'http://api.buienradar.nl/image/1.0/RadarMapNL?w=285&h=256', url: 'http://www.weeronline.nl/Europa/Nederland/Son/4058667'}
buttons.tweakers = {key: 'tweakers',  width:12, icon: 'fa-newspaper-o', title: 'Tweakers', url: 'https://www.tweakers.net'}
buttons.nunl = {key: 'nunl',  width:12, icon: 'fa-newspaper-o', title: 'Nu.nl', newwindow:true, url: 'http://www.nu.nl'}
buttons.nos = {key: 'nos',  width:12, icon: 'fa-newspaper-o', title: 'Nos', url: 'http://www.nos.nl'}
buttons.domoticz = {key:'log', width:12, icon:'fa-microchip', title: 'Domoticz Log', log:true, level: 2}

var blocks = {}

blocks['news_1'] = {}
blocks['news_1']['feed'] = 'https://cors-anywhere.herokuapp.com/http://www.nu.nl/rss/Algemeen';
blocks['news_1']['maxheight'] = 113;

blocks['blocktitle_1'] = {}
blocks['blocktitle_1']['key'] = 'blocktitle_1';
blocks['blocktitle_1']['type'] = 'blocktitle';
blocks['blocktitle_1']['title'] = 'Weer';

var columns = {}
columns['bar'] = {}
columns['bar']['blocks'] = ['logo','miniclock','settings']
					
columns[1] = {}
columns[1]['blocks'] = [buttons.domoticz]
columns[1]['width'] = 5;

columns[2] = {}
columns[2]['blocks'] = ['currentweather_big','weather','news_1']
columns[2]['width'] = 5; 

columns[3] = {}
columns[3]['blocks'] = ['blocktitle_1',buttons.buienradar,'sunrise']
columns[3]['width'] = 2; 

var columns_standby = {}
columns_standby[1] = {}
columns_standby[1]['blocks'] = ['clock','currentweather_big','weather']
columns_standby[1]['width'] = 12;

var screens = {}
screens[1] = {}
screens[1]['background'] = 'bg3.jpg';
screens[1]['columns'] = [1,2,3]
-= HP server GEN8 Xeon(R) E3-1220L_V2 -=- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.12b on Tab8" =-
Locked

Who is online

Users browsing this forum: No registered users and 1 guest