Dashticz - General Discussions

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: robgeerts, htilburgs

mrjulien
Posts: 2
Joined: Tuesday 24 October 2017 21:36
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by mrjulien » Thursday 08 February 2018 1:17

hello,
i made a basic improvement to have temp + humidity on 1 block
2018-02-08_00h02_19.png
2018-02-08_00h02_19.png (81.43 KiB) Viewed 1734 times
i think it should be interesting to have a parameterer like this
config['multiblock'] = '0/1';

User avatar
DewGew
Posts: 259
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi
Domoticz version: V4.9741
Location: Sweden
Contact:

Re: Dashticz - General Discussions

Post by DewGew » Friday 09 February 2018 8:44

mrjulien wrote:
Thursday 08 February 2018 1:17
hello,
i made a basic improvement to have temp + humidity on 1 block
2018-02-08_00h02_19.png

i think it should be interesting to have a parameterer like this
config['multiblock'] = '0/1';
Great, make a pull request or a suggestion in issues on github.
Raspberry Pi 2B - domoticz - Aeon Labs Z-Stick GEN5 - RFlink gateway
NanoPi NEO-air - domoticz - REGO6XX interface
Dashticz V2 - Homebridge

User avatar
DewGew
Posts: 259
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi
Domoticz version: V4.9741
Location: Sweden
Contact:

Re: Dashticz - General Discussions

Post by DewGew » Friday 09 February 2018 13:47

htilburgs wrote:
Tuesday 06 February 2018 0:50
Stephan83 wrote:
Tuesday 06 February 2018 0:43
What I did notice is that the hide-data does not hide status (Open/Closed). Is this one of the other strange things that happens?
Yip, used to work, but now it doesn't work anymore.
I've made some issues at the Github page (https://github.com/Dashticz/dashticz_v2/issues).
Hopefully @Robgeerts, @Aiolos or @DewGew take a look at this, somethings are broken if you ask me.
There is a pull request for this issue. Waiting for this to be merged

EDIT: Its merged..
Last edited by DewGew on Tuesday 20 February 2018 14:34, edited 1 time in total.
Raspberry Pi 2B - domoticz - Aeon Labs Z-Stick GEN5 - RFlink gateway
NanoPi NEO-air - domoticz - REGO6XX interface
Dashticz V2 - Homebridge

User avatar
gielie
Posts: 229
Joined: Tuesday 12 January 2016 12:40
Target OS: Raspberry Pi
Domoticz version: latest β
Location: The Netherlands (Alkmaar)
Contact:

Re: Dashticz - Defined Buttons for screen navigation

Post by gielie » Friday 09 February 2018 17:20

DewGew wrote:
Tuesday 30 January 2018 9:00
tlkg wrote:
Tuesday 30 January 2018 1:07
I have scanned the forum for a way to create a button to navigate to different defined screens, but didn't find any solutions.

I want to create various buttons on screen 1, that when pressed would go to a specific defined screen number. These buttons would be labeled as to the content of given screen and allow the user not have to use the bottom slider to advance to each screen separately.

thanks
You can use:

Code: Select all

buttons.screen2 = {width:12, icon:'fa-chevron-right', title: 'Page 2', slide:2};
buttons.screen3 = {width:12, icon:'fa-chevron-right', title: 'Page 3', slide:3};
Then add:

Code: Select all

columns[3] = {};
columns[3]['blocks'] = [ buttons.screen2];
 
columns[6] = {}; 
columns[6]['blocks'] = [ buttons.screen3];
How can implement this into a link, let me explain what i want.
I have 2 cameras on the front page, when i click on the camera it will open a window, i don't want that. I have the camera image fullscreen on an other page, say 3 and 4, so what i want is that when i click on the image i want it to go to the corresponding page instead of a popup of the image. So i have to change the second url location in the settings to an url or something that my screen goes to page 3 or 4.

Is this doable?
- Vision ZU1401 USB Stick
- Aeotec MultiSensor 6
- FIBARO FGS222
- FIBARO FGWPE Wall Plug
- Everspring AN157
- Neo CoolCam Power plug
- Neo CoolCam PIR Sensor
- Popp Smoke Detector
- Toon
- Kodi Media Server

whatisk
Posts: 25
Joined: Sunday 15 October 2017 6:13
Target OS: Linux
Domoticz version: 3.9224
Location: Australia
Contact:

Re: Dashticz - General Discussions

Post by whatisk » Saturday 10 February 2018 0:07

whatisk wrote:
Wednesday 07 February 2018 10:40
No one has any ideas on my graph issue? It's the only thing missing from my Dashticz dashboard :(
Found out what the issue was.

If I removed config['standard_graph'] = 'today'; from my CONFIG.js then graphs load without issue.
Correct option is 'day' not 'today'

michaelm86
Posts: 28
Joined: Friday 02 February 2018 12:36
Target OS: Linux
Domoticz version: 3.8153
Location: Netherlands
Contact:

Re: Dashticz - General Discussions

Post by michaelm86 » Monday 12 February 2018 18:13

Hi Guys,

I hope somebody can help me.

I installed the beta version today in apache and configured it. But i looks like there is no connection with domoticz because it does not see my devices/hardware and no sunset time etc etc..

when i login in the original portal ip:8080 then all works fine.

is there a solutions for this?

this is my screen:
dash1.jpg
dash1.jpg (218.28 KiB) Viewed 1572 times

this is my config:

Code: Select all

config['garbage_maxitems'] = '7';
config['garbage_width'] = '';
config['loginEnabled'] = 1;
config['no_rgb'] = '0';
config['auto_positioning'] = 1;
config['use_favorites'] = 1;
config['disable_googleanalytics'] = '0';
config['last_update'] = 1;
config['hide_topbar'] = '0';
config['edit_mode'] = '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';
config['garbage_icon_use_colors'] = 1;
config['garbage_use_colors'] = '0';
config['garbage_use_names'] = '0';
config['garbage_use_cors_prefix'] = 1;

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


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

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":"BBC Radio 1","file":"http://radiofeeds.co.uk/bbcradio1.pls"},  ]; 



////////////////////// FRAMES ///////////////////////////
var frames = {}
frames.weather = {refreshiframe:10000,height:230,frameurl:"//forecast.io/embed/#lat=52.1924&lon=5.3901&name=Amersfoort&color=#00aaff&font=Helvetica&fontcolor=#ffffff&units=si&text-color=#fff",width:12}



////////////////////// BUTTONS /////////////////////////
var buttons = {}
buttons.buienradar = {width:12, isimage:true, refreshimage:60000, image:'http://api.buienradar.nl/image/1.0/RadarMapNL?w=285&h=256', url:'https://gadgets.buienradar.nl/gadget/zoommap/?lat=52.06022&lng=4.39288&overname=2&zoom=13&naam=2493bj&size=3&voor=1'}



////////////////////// BLOCK TITLES /////////////////////////
var blocks = {}
blocks['blocktitle_tv'] = {}
blocks['blocktitle_tv']['key'] = 'blocktitle_tv';
blocks['blocktitle_tv']['type'] = 'blocktitle';
blocks['blocktitle_tv']['title'] = 'TV and Nieuws';

blocks['blocktitle_switches'] = {}
blocks['blocktitle_switches']['key'] = 'blocktitle_switches';
blocks['blocktitle_switches']['type'] = 'blocktitle';
blocks['blocktitle_switches']['title'] = 'Schakelaars';

blocks['blocktitle_temp'] = {}
blocks['blocktitle_temp']['key'] = 'blocktitle_temp';
blocks['blocktitle_temp']['type'] = 'blocktitle';
blocks['blocktitle_temp']['title'] = 'Verwarming en Temperatuur';

blocks['blocktitle_vijver'] = {}
blocks['blocktitle_vijver']['key'] = 'blocktitle_vijver';
blocks['blocktitle_vijver']['type'] = 'blocktitle';
blocks['blocktitle_vijver']['title'] = 'Koi Vijver';

blocks['blocktitle_spotify'] = {}
blocks['blocktitle_spotify']['key'] = 'blocktitle_spotify';
blocks['blocktitle_spotify']['type'] = 'blocktitle';
blocks['blocktitle_spotify']['title'] = 'Spotify';



// custom block width for switches

blocks['news_2'] = {}
blocks['news_2']['feed'] = 'http://feeds.bbci.co.uk/news/world/europe/rss.xml';

blocks['s1'] = {} //Scene Front room all off
blocks['s1']['hide_data'] = true;
blocks['s1']['hide_lastupdate'] = true;
blocks['s1']['icon'] = 'fa-times-circle';

blocks['s2'] = {} //Movie scene
blocks['s2']['hide_data'] = true;
blocks['s2']['hide_lastupdate'] = true;
blocks['s2']['icon'] = 'fa-video-camera';

blocks['s3'] = {} //Evening scene
blocks['s3']['hide_data'] = true;
blocks['s3']['hide_lastupdate'] = true;
blocks['s3']['icon'] = 'fa-image';





blocks[3] = {}
blocks[3]['width'] = 6;
blocks[3]['title'] = 'Spotjes Eettafel'
blocks[3]['hide_data'] = true;
blocks[3]['hide_lastupdate'] = true;

blocks[1] = {}
blocks[1]['width'] = 6;
blocks[1]['title'] = 'Woonkamer lampen'
blocks[1]['hide_data'] = true;
blocks[1]['hide_lastupdate'] = true;

blocks[4] = {}
blocks[4]['width'] = 6;
blocks[4]['title'] = 'Vijververlichting'
blocks[4]['hide_data'] = true;
blocks[4]['hide_lastupdate'] = true;

blocks[2] = {}
blocks[2]['width'] = 6;
blocks[2]['title'] = 'Buitenlampe Achterdeur'
blocks[2]['hide_data'] = true;
blocks[2]['hide_lastupdate'] = true;

// DOORBELL
blocks[89] = {}
blocks[89]['width'] = 1;
blocks[89]['title'] = ''
blocks[89]['hide_data'] = true;
blocks[89]['hide_lastupdate'] = true;
blocks[89]['playsound'] = 'sounds/doorbell.mp3';
blocks[89]['protected'] = true;
blocks[89]['icon'] = 'fa-bell-o';

//change temp blocks size
blocks[5] = {}
blocks[5]['width'] = 3;

blocks[52] = {}
blocks[52]['width'] = 3;

blocks[54] = {}
blocks[54]['width'] = 3;

blocks[81] = {}
blocks[81]['width'] = 3;
blocks[81]['title'] = 'Change temp.'

//Device status - ping results
blocks[18] = {}
blocks[18]['width'] = 12;
blocks[18]['title'] = 'Internet'
blocks[18]['hide_data'] = true;
blocks[18]['hide_lastupdate'] = true;
blocks[18]['icon'] = 'fa-circle';
blocks[18]['protected'] = true;

blocks[19] = {}
blocks[19]['width'] = 12;
blocks[19]['title'] = 'QNAP'
blocks[19]['hide_data'] = true;
blocks[19]['hide_lastupdate'] = true;
blocks[19]['icon'] = 'fa-circle';
blocks[19]['protected'] = true;

blocks[22] = {}
blocks[22]['width'] = 12;
blocks[22]['title'] = 'QNAP'
blocks[22]['hide_data'] = true;
blocks[22]['hide_lastupdate'] = true;
blocks[22]['icon'] = 'fa-circle';
blocks[22]['protected'] = true;

blocks[21] = {}
blocks[21]['width'] = 12;
blocks[21]['title'] = 'PC Mike'
blocks[21]['hide_data'] = true;
blocks[21]['hide_lastupdate'] = true;
blocks[21]['icon'] = 'fa-circle';
blocks[21]['protected'] = true;


//blocks['sunrise'] = {}
//blocks['sunrise']['width'] = 1;

//blocks['miniclock'] = {}
//blocks['miniclock']['width'] = 7;


// My IDX list
// 00 = omschrijving


////////////////////// COLUMNS /////////////////////////
var columns = {}
columns['bar'] = {}
columns['bar']['blocks'] = ['sunrise','miniclock',89]

columns[1] = {}
columns[1]['blocks'] = ['blocktitle_switches',4,3,2,1]
columns[1]['width'] = 5;

columns[2] = {}
columns[2]['blocks'] = [frames.weather,'blocktitle_temp',5,82,'54_1','52_1','blocktitle_vijver',104,'news','trafficmap']
columns[2]['width'] = 5;

columns[3] = {}
columns[3]['blocks'] = [18,19,21,22,buttons.buienradar,'news_2',tvguide.dutch,'traffic','blocktitle_spotify','spotify']
columns[3]['width'] = 2;

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

Domoticz 3.8153 on linux laptop ubuntu 17.10 | Toon Thermostat | RFlink usb gateway

User avatar
EdwinK
Posts: 1321
Joined: Sunday 22 January 2017 22:46
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Rhoon
Contact:

Re: Dashticz - General Discussions

Post by EdwinK » Monday 12 February 2018 18:16

Doesn't look like a complete config.
Running latest BETA on a Pi-3 | Toon Thermostat (rooted) | RFxcom | Dashticz V2 |

michaelm86
Posts: 28
Joined: Friday 02 February 2018 12:36
Target OS: Linux
Domoticz version: 3.8153
Location: Netherlands
Contact:

Re: Dashticz - General Discussions

Post by michaelm86 » Monday 12 February 2018 18:20

Sorry here is everything.

Code: Select all

config['domoticz_ip'] = 'http://192.168.116.98:8080';
config['user_name'] = 'XXXXXXXXXXXXXXX';
config['pass_word'] = 'XXXXXXXXXXXXXXX';
config['app_title'] = 'Dashticz';
config['room_plan'] = '0';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['default_news_url'] = 'http://www.nu.nl/rss/algemeen';
config['news_scroll_after'] = '7';
config['theme'] = 'default';
config['background_image'] = 'img/bg13.jpg';
config['standby_after'] = '0';
config['auto_swipe_back_to'] = 1;
config['auto_swipe_back_after'] = '10';
config['auto_slide_pages'] = '';
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'] = '';
config['boss_stationclock'] = 'RedBoss';
config['gm_api'] = '';
config['gm_zoomlevel'] = '';
config['gm_latitude'] = '';
config['gm_longitude'] = '';
config['speak_lang'] = 'en-US';
config['wu_api'] = 'XXXXXXXXXXXXXXX';
config['wu_city'] = 'XXXXXXXXXXXXXXX';
config['wu_name'] = 'XXXXXXXXXXXXXXX';
config['wu_country'] = 'NL';
config['idx_moonpicture'] = '';
config['switch_horizon'] = '';
config['host_nzbget'] = '';
config['spot_clientid'] = '';
config['sonarr_url'] = '';
config['sonarr_apikey'] = '';
config['sonarr_maxitems'] = '';
config['garbage_company'] = 'rova';
config['garbage_icalurl'] = '';
config['google_api_key'] = '';
config['garbage_calendar_id'] = '';
config['garbage_zipcode'] = 'XXXXXXXXXXXXXXX XXXXXXXXXXXXXXX';
config['garbage_street'] = 'XXXXXXXXXXXXXXX';
config['garbage_housenumber'] = 'XXXXXXXXXXXXXXX';
config['garbage_housenumberadd'] = '';
config['garbage_maxitems'] = '7';
config['garbage_width'] = '';
config['loginEnabled'] = 1;
config['no_rgb'] = '0';
config['auto_positioning'] = '0';
config['use_favorites'] = '0';
config['disable_googleanalytics'] = '0';
config['last_update'] = 1;
config['hide_topbar'] = '0';
config['edit_mode'] = '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';
config['garbage_icon_use_colors'] = 1;
config['garbage_use_colors'] = '0';
config['garbage_use_names'] = '0';
config['garbage_use_cors_prefix'] = 1;




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


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

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":"BBC Radio 1","file":"http://radiofeeds.co.uk/bbcradio1.pls"},  ]; 



////////////////////// FRAMES ///////////////////////////
var frames = {}
frames.weather = {refreshiframe:10000,height:230,frameurl:"//forecast.io/embed/#lat=52.1924&lon=5.3901&name=Amersfoort&color=#00aaff&font=Helvetica&fontcolor=#ffffff&units=si&text-color=#fff",width:12}



////////////////////// BUTTONS /////////////////////////
var buttons = {}
buttons.buienradar = {width:12, isimage:true, refreshimage:60000, image:'http://api.buienradar.nl/image/1.0/RadarMapNL?w=285&h=256', url:'https://gadgets.buienradar.nl/gadget/zoommap/?lat=52.19215&lng=5.38919&overname=2&zoom=13&naam=3824hv&size=3&voor=1'}



////////////////////// BLOCK TITLES /////////////////////////
var blocks = {}
blocks['blocktitle_tv'] = {}
blocks['blocktitle_tv']['key'] = 'blocktitle_tv';
blocks['blocktitle_tv']['type'] = 'blocktitle';
blocks['blocktitle_tv']['title'] = 'TV and Nieuws';

blocks['blocktitle_switches'] = {}
blocks['blocktitle_switches']['key'] = 'blocktitle_switches';
blocks['blocktitle_switches']['type'] = 'blocktitle';
blocks['blocktitle_switches']['title'] = 'Schakelaars';

blocks['blocktitle_temp'] = {}
blocks['blocktitle_temp']['key'] = 'blocktitle_temp';
blocks['blocktitle_temp']['type'] = 'blocktitle';
blocks['blocktitle_temp']['title'] = 'Verwarming en Temperatuur';

blocks['blocktitle_vijver'] = {}
blocks['blocktitle_vijver']['key'] = 'blocktitle_vijver';
blocks['blocktitle_vijver']['type'] = 'blocktitle';
blocks['blocktitle_vijver']['title'] = 'Koi Vijver';

blocks['blocktitle_netwerk'] = {}
blocks['blocktitle_netwerk']['key'] = 'blocktitle_netwerk';
blocks['blocktitle_netwerk']['type'] = 'blocktitle';
blocks['blocktitle_netwerk']['title'] = 'Netwerk';

blocks['blocktitle_spotify'] = {}
blocks['blocktitle_spotify']['key'] = 'blocktitle_spotify';
blocks['blocktitle_spotify']['type'] = 'blocktitle';
blocks['blocktitle_spotify']['title'] = 'Spotify';



// custom block width for switches

blocks['news_2'] = {}
blocks['news_2']['feed'] = 'http://feeds.bbci.co.uk/news/world/europe/rss.xml';

blocks['s1'] = {} //Scene Front room all off
blocks['s1']['hide_data'] = true;
blocks['s1']['hide_lastupdate'] = true;
blocks['s1']['icon'] = 'fa-times-circle';

blocks['s2'] = {} //Movie scene
blocks['s2']['hide_data'] = true;
blocks['s2']['hide_lastupdate'] = true;
blocks['s2']['icon'] = 'fa-video-camera';

blocks['s3'] = {} //Evening scene
blocks['s3']['hide_data'] = true;
blocks['s3']['hide_lastupdate'] = true;
blocks['s3']['icon'] = 'fa-image';





blocks[3] = {}
blocks[3]['width'] = 6;
blocks[3]['title'] = 'Spotjes Eettafel'
blocks[3]['hide_data'] = true;
blocks[3]['hide_lastupdate'] = true;

blocks[1] = {}
blocks[1]['width'] = 6;
blocks[1]['title'] = 'Woonkamer lampen'
blocks[1]['hide_data'] = true;
blocks[1]['hide_lastupdate'] = true;

blocks[4] = {}
blocks[4]['width'] = 6;
blocks[4]['title'] = 'Vijververlichting'
blocks[4]['hide_data'] = true;
blocks[4]['hide_lastupdate'] = true;

blocks[2] = {}
blocks[2]['width'] = 6;
blocks[2]['title'] = 'Buitenlampe Achterdeur'
blocks[2]['hide_data'] = true;
blocks[2]['hide_lastupdate'] = true;

// DOORBELL
blocks[89] = {}
blocks[89]['width'] = 1;
blocks[89]['title'] = ''
blocks[89]['hide_data'] = true;
blocks[89]['hide_lastupdate'] = true;
blocks[89]['playsound'] = 'sounds/doorbell.mp3';
blocks[89]['protected'] = true;
blocks[89]['icon'] = 'fa-bell-o';

//change temp blocks size
blocks[5] = {}
blocks[5]['width'] = 3;

blocks[52] = {}
blocks[52]['width'] = 3;

blocks[54] = {}
blocks[54]['width'] = 3;

blocks[81] = {}
blocks[81]['width'] = 3;
blocks[81]['title'] = 'Change temp.'

//Device status - ping results
blocks[18] = {}
blocks[18]['width'] = 12;
blocks[18]['title'] = 'Internet'
blocks[18]['hide_data'] = true;
blocks[18]['hide_lastupdate'] = true;
blocks[18]['icon'] = 'fa-circle';
blocks[18]['protected'] = true;

blocks[19] = {}
blocks[19]['width'] = 12;
blocks[19]['title'] = 'QNAP'
blocks[19]['hide_data'] = true;
blocks[19]['hide_lastupdate'] = true;
blocks[19]['icon'] = 'fa-circle';
blocks[19]['protected'] = true;

blocks[22] = {}
blocks[22]['width'] = 12;
blocks[22]['title'] = 'QNAP'
blocks[22]['hide_data'] = true;
blocks[22]['hide_lastupdate'] = true;
blocks[22]['icon'] = 'fa-circle';
blocks[22]['protected'] = true;

blocks[21] = {}
blocks[21]['width'] = 12;
blocks[21]['title'] = 'PC Mike'
blocks[21]['hide_data'] = true;
blocks[21]['hide_lastupdate'] = true;
blocks[21]['icon'] = 'fa-circle';
blocks[21]['protected'] = true;


//blocks['sunrise'] = {}
//blocks['sunrise']['width'] = 1;

//blocks['miniclock'] = {}
//blocks['miniclock']['width'] = 7;


// My IDX list
// 00 = omschrijving


////////////////////// COLUMNS /////////////////////////
var columns = {}
columns['bar'] = {}
columns['bar']['blocks'] = ['sunrise','miniclock','settings']

columns[1] = {}
columns[1]['blocks'] = ['blocktitle_switches',4,3,2,1]
columns[1]['width'] = 5;

columns[2] = {}
columns[2]['blocks'] = [frames.weather,'blocktitle_temp',5,82,'54_1','52_1','blocktitle_vijver',104,'news','trafficmap','garbage']
columns[2]['width'] = 5;

columns[3] = {}
columns[3]['blocks'] = ['blocktitle_netwerk',18,19,21,22,buttons.buienradar,'garbage','traffic','blocktitle_spotify','spotify']
columns[3]['width'] = 2;

////////////////////// STANDBY /////////////////////////
var columns_standby = {}
columns_standby[1] = {}
columns_standby[1]['blocks'] = ['clock','weather']
columns_standby[1]['width'] = 12;
Domoticz 3.8153 on linux laptop ubuntu 17.10 | Toon Thermostat | RFlink usb gateway

User avatar
DewGew
Posts: 259
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi
Domoticz version: V4.9741
Location: Sweden
Contact:

Re: Dashticz - General Discussions

Post by DewGew » Monday 12 February 2018 18:34

michaelm86 wrote:
Monday 12 February 2018 18:20
Sorry here is everything.

Code: Select all

config['domoticz_ip'] = 'http://192.168.116.98:8080';
config['user_name'] = 'XXXXXXXXXXXXXXX';
config['pass_word'] = 'XXXXXXXXXXXXXXX';
config['app_title'] = 'Dashticz';
config['room_plan'] = '0';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['default_news_url'] = 'http://www.nu.nl/rss/algemeen';
config['news_scroll_after'] = '7';
config['theme'] = 'default';
config['background_image'] = 'img/bg13.jpg';
config['standby_after'] = '0';
config['auto_swipe_back_to'] = 1;
config['auto_swipe_back_after'] = '10';
config['auto_slide_pages'] = '';
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'] = '';
config['boss_stationclock'] = 'RedBoss';
config['gm_api'] = '';
config['gm_zoomlevel'] = '';
config['gm_latitude'] = '';
config['gm_longitude'] = '';
config['speak_lang'] = 'en-US';
config['wu_api'] = 'XXXXXXXXXXXXXXX';
config['wu_city'] = 'XXXXXXXXXXXXXXX';
config['wu_name'] = 'XXXXXXXXXXXXXXX';
config['wu_country'] = 'NL';
config['idx_moonpicture'] = '';
config['switch_horizon'] = '';
config['host_nzbget'] = '';
config['spot_clientid'] = '';
config['sonarr_url'] = '';
config['sonarr_apikey'] = '';
config['sonarr_maxitems'] = '';
config['garbage_company'] = 'rova';
config['garbage_icalurl'] = '';
config['google_api_key'] = '';
config['garbage_calendar_id'] = '';
config['garbage_zipcode'] = 'XXXXXXXXXXXXXXX XXXXXXXXXXXXXXX';
config['garbage_street'] = 'XXXXXXXXXXXXXXX';
config['garbage_housenumber'] = 'XXXXXXXXXXXXXXX';
config['garbage_housenumberadd'] = '';
config['garbage_maxitems'] = '7';
config['garbage_width'] = '';
config['loginEnabled'] = 1;
config['no_rgb'] = '0';
config['auto_positioning'] = '0';
config['use_favorites'] = '0';
config['disable_googleanalytics'] = '0';
config['last_update'] = 1;
config['hide_topbar'] = '0';
config['edit_mode'] = '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';
config['garbage_icon_use_colors'] = 1;
config['garbage_use_colors'] = '0';
config['garbage_use_names'] = '0';
config['garbage_use_cors_prefix'] = 1;




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


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

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":"BBC Radio 1","file":"http://radiofeeds.co.uk/bbcradio1.pls"},  ]; 



////////////////////// FRAMES ///////////////////////////
var frames = {}
frames.weather = {refreshiframe:10000,height:230,frameurl:"//forecast.io/embed/#lat=52.1924&lon=5.3901&name=Amersfoort&color=#00aaff&font=Helvetica&fontcolor=#ffffff&units=si&text-color=#fff",width:12}



////////////////////// BUTTONS /////////////////////////
var buttons = {}
buttons.buienradar = {width:12, isimage:true, refreshimage:60000, image:'http://api.buienradar.nl/image/1.0/RadarMapNL?w=285&h=256', url:'https://gadgets.buienradar.nl/gadget/zoommap/?lat=52.19215&lng=5.38919&overname=2&zoom=13&naam=3824hv&size=3&voor=1'}



////////////////////// BLOCK TITLES /////////////////////////
var blocks = {}
blocks['blocktitle_tv'] = {}
blocks['blocktitle_tv']['key'] = 'blocktitle_tv';
blocks['blocktitle_tv']['type'] = 'blocktitle';
blocks['blocktitle_tv']['title'] = 'TV and Nieuws';

blocks['blocktitle_switches'] = {}
blocks['blocktitle_switches']['key'] = 'blocktitle_switches';
blocks['blocktitle_switches']['type'] = 'blocktitle';
blocks['blocktitle_switches']['title'] = 'Schakelaars';

blocks['blocktitle_temp'] = {}
blocks['blocktitle_temp']['key'] = 'blocktitle_temp';
blocks['blocktitle_temp']['type'] = 'blocktitle';
blocks['blocktitle_temp']['title'] = 'Verwarming en Temperatuur';

blocks['blocktitle_vijver'] = {}
blocks['blocktitle_vijver']['key'] = 'blocktitle_vijver';
blocks['blocktitle_vijver']['type'] = 'blocktitle';
blocks['blocktitle_vijver']['title'] = 'Koi Vijver';

blocks['blocktitle_netwerk'] = {}
blocks['blocktitle_netwerk']['key'] = 'blocktitle_netwerk';
blocks['blocktitle_netwerk']['type'] = 'blocktitle';
blocks['blocktitle_netwerk']['title'] = 'Netwerk';

blocks['blocktitle_spotify'] = {}
blocks['blocktitle_spotify']['key'] = 'blocktitle_spotify';
blocks['blocktitle_spotify']['type'] = 'blocktitle';
blocks['blocktitle_spotify']['title'] = 'Spotify';



// custom block width for switches

blocks['news_2'] = {}
blocks['news_2']['feed'] = 'http://feeds.bbci.co.uk/news/world/europe/rss.xml';

blocks['s1'] = {} //Scene Front room all off
blocks['s1']['hide_data'] = true;
blocks['s1']['hide_lastupdate'] = true;
blocks['s1']['icon'] = 'fa-times-circle';

blocks['s2'] = {} //Movie scene
blocks['s2']['hide_data'] = true;
blocks['s2']['hide_lastupdate'] = true;
blocks['s2']['icon'] = 'fa-video-camera';

blocks['s3'] = {} //Evening scene
blocks['s3']['hide_data'] = true;
blocks['s3']['hide_lastupdate'] = true;
blocks['s3']['icon'] = 'fa-image';





blocks[3] = {}
blocks[3]['width'] = 6;
blocks[3]['title'] = 'Spotjes Eettafel'
blocks[3]['hide_data'] = true;
blocks[3]['hide_lastupdate'] = true;

blocks[1] = {}
blocks[1]['width'] = 6;
blocks[1]['title'] = 'Woonkamer lampen'
blocks[1]['hide_data'] = true;
blocks[1]['hide_lastupdate'] = true;

blocks[4] = {}
blocks[4]['width'] = 6;
blocks[4]['title'] = 'Vijververlichting'
blocks[4]['hide_data'] = true;
blocks[4]['hide_lastupdate'] = true;

blocks[2] = {}
blocks[2]['width'] = 6;
blocks[2]['title'] = 'Buitenlampe Achterdeur'
blocks[2]['hide_data'] = true;
blocks[2]['hide_lastupdate'] = true;

// DOORBELL
blocks[89] = {}
blocks[89]['width'] = 1;
blocks[89]['title'] = ''
blocks[89]['hide_data'] = true;
blocks[89]['hide_lastupdate'] = true;
blocks[89]['playsound'] = 'sounds/doorbell.mp3';
blocks[89]['protected'] = true;
blocks[89]['icon'] = 'fa-bell-o';

//change temp blocks size
blocks[5] = {}
blocks[5]['width'] = 3;

blocks[52] = {}
blocks[52]['width'] = 3;

blocks[54] = {}
blocks[54]['width'] = 3;

blocks[81] = {}
blocks[81]['width'] = 3;
blocks[81]['title'] = 'Change temp.'

//Device status - ping results
blocks[18] = {}
blocks[18]['width'] = 12;
blocks[18]['title'] = 'Internet'
blocks[18]['hide_data'] = true;
blocks[18]['hide_lastupdate'] = true;
blocks[18]['icon'] = 'fa-circle';
blocks[18]['protected'] = true;

blocks[19] = {}
blocks[19]['width'] = 12;
blocks[19]['title'] = 'QNAP'
blocks[19]['hide_data'] = true;
blocks[19]['hide_lastupdate'] = true;
blocks[19]['icon'] = 'fa-circle';
blocks[19]['protected'] = true;

blocks[22] = {}
blocks[22]['width'] = 12;
blocks[22]['title'] = 'QNAP'
blocks[22]['hide_data'] = true;
blocks[22]['hide_lastupdate'] = true;
blocks[22]['icon'] = 'fa-circle';
blocks[22]['protected'] = true;

blocks[21] = {}
blocks[21]['width'] = 12;
blocks[21]['title'] = 'PC Mike'
blocks[21]['hide_data'] = true;
blocks[21]['hide_lastupdate'] = true;
blocks[21]['icon'] = 'fa-circle';
blocks[21]['protected'] = true;


//blocks['sunrise'] = {}
//blocks['sunrise']['width'] = 1;

//blocks['miniclock'] = {}
//blocks['miniclock']['width'] = 7;


// My IDX list
// 00 = omschrijving


////////////////////// COLUMNS /////////////////////////
var columns = {}
columns['bar'] = {}
columns['bar']['blocks'] = ['sunrise','miniclock','settings']

columns[1] = {}
columns[1]['blocks'] = ['blocktitle_switches',4,3,2,1]
columns[1]['width'] = 5;

columns[2] = {}
columns[2]['blocks'] = [frames.weather,'blocktitle_temp',5,82,'54_1','52_1','blocktitle_vijver',104,'news','trafficmap','garbage']
columns[2]['width'] = 5;

columns[3] = {}
columns[3]['blocks'] = ['blocktitle_netwerk',18,19,21,22,buttons.buienradar,'garbage','traffic','blocktitle_spotify','spotify']
columns[3]['width'] = 2;

////////////////////// STANDBY /////////////////////////
var columns_standby = {}
columns_standby[1] = {}
columns_standby[1]['blocks'] = ['clock','weather']
columns_standby[1]['width'] = 12;
Try to clear cache. Do you have a login to Domoticz? Sometimes when I have several users it connects whith wrong user. Logout from Domoticz and Rhen try to connect dashticz
Raspberry Pi 2B - domoticz - Aeon Labs Z-Stick GEN5 - RFlink gateway
NanoPi NEO-air - domoticz - REGO6XX interface
Dashticz V2 - Homebridge

michaelm86
Posts: 28
Joined: Friday 02 February 2018 12:36
Target OS: Linux
Domoticz version: 3.8153
Location: Netherlands
Contact:

Re: Dashticz - General Discussions

Post by michaelm86 » Monday 12 February 2018 18:38

DewGew wrote:
Monday 12 February 2018 18:34
michaelm86 wrote:
Monday 12 February 2018 18:20
Sorry here is everything.

Code: Select all

config['domoticz_ip'] = 'http://192.168.116.98:8080';
config['user_name'] = 'XXXXXXXXXXXXXXX';
config['pass_word'] = 'XXXXXXXXXXXXXXX';
config['app_title'] = 'Dashticz';
config['room_plan'] = '0';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['default_news_url'] = 'http://www.nu.nl/rss/algemeen';
config['news_scroll_after'] = '7';
config['theme'] = 'default';
config['background_image'] = 'img/bg13.jpg';
config['standby_after'] = '0';
config['auto_swipe_back_to'] = 1;
config['auto_swipe_back_after'] = '10';
config['auto_slide_pages'] = '';
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'] = '';
config['boss_stationclock'] = 'RedBoss';
config['gm_api'] = '';
config['gm_zoomlevel'] = '';
config['gm_latitude'] = '';
config['gm_longitude'] = '';
config['speak_lang'] = 'en-US';
config['wu_api'] = 'XXXXXXXXXXXXXXX';
config['wu_city'] = 'XXXXXXXXXXXXXXX';
config['wu_name'] = 'XXXXXXXXXXXXXXX';
config['wu_country'] = 'NL';
config['idx_moonpicture'] = '';
config['switch_horizon'] = '';
config['host_nzbget'] = '';
config['spot_clientid'] = '';
config['sonarr_url'] = '';
config['sonarr_apikey'] = '';
config['sonarr_maxitems'] = '';
config['garbage_company'] = 'rova';
config['garbage_icalurl'] = '';
config['google_api_key'] = '';
config['garbage_calendar_id'] = '';
config['garbage_zipcode'] = 'XXXXXXXXXXXXXXX XXXXXXXXXXXXXXX';
config['garbage_street'] = 'XXXXXXXXXXXXXXX';
config['garbage_housenumber'] = 'XXXXXXXXXXXXXXX';
config['garbage_housenumberadd'] = '';
config['garbage_maxitems'] = '7';
config['garbage_width'] = '';
config['loginEnabled'] = 1;
config['no_rgb'] = '0';
config['auto_positioning'] = '0';
config['use_favorites'] = '0';
config['disable_googleanalytics'] = '0';
config['last_update'] = 1;
config['hide_topbar'] = '0';
config['edit_mode'] = '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';
config['garbage_icon_use_colors'] = 1;
config['garbage_use_colors'] = '0';
config['garbage_use_names'] = '0';
config['garbage_use_cors_prefix'] = 1;




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


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

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":"BBC Radio 1","file":"http://radiofeeds.co.uk/bbcradio1.pls"},  ]; 



////////////////////// FRAMES ///////////////////////////
var frames = {}
frames.weather = {refreshiframe:10000,height:230,frameurl:"//forecast.io/embed/#lat=52.1924&lon=5.3901&name=Amersfoort&color=#00aaff&font=Helvetica&fontcolor=#ffffff&units=si&text-color=#fff",width:12}



////////////////////// BUTTONS /////////////////////////
var buttons = {}
buttons.buienradar = {width:12, isimage:true, refreshimage:60000, image:'http://api.buienradar.nl/image/1.0/RadarMapNL?w=285&h=256', url:'https://gadgets.buienradar.nl/gadget/zoommap/?lat=52.19215&lng=5.38919&overname=2&zoom=13&naam=3824hv&size=3&voor=1'}



////////////////////// BLOCK TITLES /////////////////////////
var blocks = {}
blocks['blocktitle_tv'] = {}
blocks['blocktitle_tv']['key'] = 'blocktitle_tv';
blocks['blocktitle_tv']['type'] = 'blocktitle';
blocks['blocktitle_tv']['title'] = 'TV and Nieuws';

blocks['blocktitle_switches'] = {}
blocks['blocktitle_switches']['key'] = 'blocktitle_switches';
blocks['blocktitle_switches']['type'] = 'blocktitle';
blocks['blocktitle_switches']['title'] = 'Schakelaars';

blocks['blocktitle_temp'] = {}
blocks['blocktitle_temp']['key'] = 'blocktitle_temp';
blocks['blocktitle_temp']['type'] = 'blocktitle';
blocks['blocktitle_temp']['title'] = 'Verwarming en Temperatuur';

blocks['blocktitle_vijver'] = {}
blocks['blocktitle_vijver']['key'] = 'blocktitle_vijver';
blocks['blocktitle_vijver']['type'] = 'blocktitle';
blocks['blocktitle_vijver']['title'] = 'Koi Vijver';

blocks['blocktitle_netwerk'] = {}
blocks['blocktitle_netwerk']['key'] = 'blocktitle_netwerk';
blocks['blocktitle_netwerk']['type'] = 'blocktitle';
blocks['blocktitle_netwerk']['title'] = 'Netwerk';

blocks['blocktitle_spotify'] = {}
blocks['blocktitle_spotify']['key'] = 'blocktitle_spotify';
blocks['blocktitle_spotify']['type'] = 'blocktitle';
blocks['blocktitle_spotify']['title'] = 'Spotify';



// custom block width for switches

blocks['news_2'] = {}
blocks['news_2']['feed'] = 'http://feeds.bbci.co.uk/news/world/europe/rss.xml';

blocks['s1'] = {} //Scene Front room all off
blocks['s1']['hide_data'] = true;
blocks['s1']['hide_lastupdate'] = true;
blocks['s1']['icon'] = 'fa-times-circle';

blocks['s2'] = {} //Movie scene
blocks['s2']['hide_data'] = true;
blocks['s2']['hide_lastupdate'] = true;
blocks['s2']['icon'] = 'fa-video-camera';

blocks['s3'] = {} //Evening scene
blocks['s3']['hide_data'] = true;
blocks['s3']['hide_lastupdate'] = true;
blocks['s3']['icon'] = 'fa-image';





blocks[3] = {}
blocks[3]['width'] = 6;
blocks[3]['title'] = 'Spotjes Eettafel'
blocks[3]['hide_data'] = true;
blocks[3]['hide_lastupdate'] = true;

blocks[1] = {}
blocks[1]['width'] = 6;
blocks[1]['title'] = 'Woonkamer lampen'
blocks[1]['hide_data'] = true;
blocks[1]['hide_lastupdate'] = true;

blocks[4] = {}
blocks[4]['width'] = 6;
blocks[4]['title'] = 'Vijververlichting'
blocks[4]['hide_data'] = true;
blocks[4]['hide_lastupdate'] = true;

blocks[2] = {}
blocks[2]['width'] = 6;
blocks[2]['title'] = 'Buitenlampe Achterdeur'
blocks[2]['hide_data'] = true;
blocks[2]['hide_lastupdate'] = true;

// DOORBELL
blocks[89] = {}
blocks[89]['width'] = 1;
blocks[89]['title'] = ''
blocks[89]['hide_data'] = true;
blocks[89]['hide_lastupdate'] = true;
blocks[89]['playsound'] = 'sounds/doorbell.mp3';
blocks[89]['protected'] = true;
blocks[89]['icon'] = 'fa-bell-o';

//change temp blocks size
blocks[5] = {}
blocks[5]['width'] = 3;

blocks[52] = {}
blocks[52]['width'] = 3;

blocks[54] = {}
blocks[54]['width'] = 3;

blocks[81] = {}
blocks[81]['width'] = 3;
blocks[81]['title'] = 'Change temp.'

//Device status - ping results
blocks[18] = {}
blocks[18]['width'] = 12;
blocks[18]['title'] = 'Internet'
blocks[18]['hide_data'] = true;
blocks[18]['hide_lastupdate'] = true;
blocks[18]['icon'] = 'fa-circle';
blocks[18]['protected'] = true;

blocks[19] = {}
blocks[19]['width'] = 12;
blocks[19]['title'] = 'QNAP'
blocks[19]['hide_data'] = true;
blocks[19]['hide_lastupdate'] = true;
blocks[19]['icon'] = 'fa-circle';
blocks[19]['protected'] = true;

blocks[22] = {}
blocks[22]['width'] = 12;
blocks[22]['title'] = 'QNAP'
blocks[22]['hide_data'] = true;
blocks[22]['hide_lastupdate'] = true;
blocks[22]['icon'] = 'fa-circle';
blocks[22]['protected'] = true;

blocks[21] = {}
blocks[21]['width'] = 12;
blocks[21]['title'] = 'PC Mike'
blocks[21]['hide_data'] = true;
blocks[21]['hide_lastupdate'] = true;
blocks[21]['icon'] = 'fa-circle';
blocks[21]['protected'] = true;


//blocks['sunrise'] = {}
//blocks['sunrise']['width'] = 1;

//blocks['miniclock'] = {}
//blocks['miniclock']['width'] = 7;


// My IDX list
// 00 = omschrijving


////////////////////// COLUMNS /////////////////////////
var columns = {}
columns['bar'] = {}
columns['bar']['blocks'] = ['sunrise','miniclock','settings']

columns[1] = {}
columns[1]['blocks'] = ['blocktitle_switches',4,3,2,1]
columns[1]['width'] = 5;

columns[2] = {}
columns[2]['blocks'] = [frames.weather,'blocktitle_temp',5,82,'54_1','52_1','blocktitle_vijver',104,'news','trafficmap','garbage']
columns[2]['width'] = 5;

columns[3] = {}
columns[3]['blocks'] = ['blocktitle_netwerk',18,19,21,22,buttons.buienradar,'garbage','traffic','blocktitle_spotify','spotify']
columns[3]['width'] = 2;

////////////////////// STANDBY /////////////////////////
var columns_standby = {}
columns_standby[1] = {}
columns_standby[1]['blocks'] = ['clock','weather']
columns_standby[1]['width'] = 12;
Try to clear cache. Do you have a login to Domoticz? Sometimes when I have several users it connects whith wrong user. Logout from Domoticz and Rhen try to connect dashticz
Thanks, i already tried this. even in an in-private browser an after rebooting the server.
Domoticz 3.8153 on linux laptop ubuntu 17.10 | Toon Thermostat | RFlink usb gateway

User avatar
DewGew
Posts: 259
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi
Domoticz version: V4.9741
Location: Sweden
Contact:

Re: Dashticz - General Discussions

Post by DewGew » Monday 12 February 2018 19:45

michaelm86 wrote:
Monday 12 February 2018 18:38
DewGew wrote:
Monday 12 February 2018 18:34
michaelm86 wrote:
Monday 12 February 2018 18:20
Sorry here is everything.

Code: Select all

config['domoticz_ip'] = 'http://192.168.116.98:8080';
config['user_name'] = 'XXXXXXXXXXXXXXX';
config['pass_word'] = 'XXXXXXXXXXXXXXX';
config['app_title'] = 'Dashticz';
config['room_plan'] = '0';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['default_news_url'] = 'http://www.nu.nl/rss/algemeen';
config['news_scroll_after'] = '7';
config['theme'] = 'default';
config['background_image'] = 'img/bg13.jpg';
config['standby_after'] = '0';
config['auto_swipe_back_to'] = 1;
config['auto_swipe_back_after'] = '10';
config['auto_slide_pages'] = '';
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'] = '';
config['boss_stationclock'] = 'RedBoss';
config['gm_api'] = '';
config['gm_zoomlevel'] = '';
config['gm_latitude'] = '';
config['gm_longitude'] = '';
config['speak_lang'] = 'en-US';
config['wu_api'] = 'XXXXXXXXXXXXXXX';
config['wu_city'] = 'XXXXXXXXXXXXXXX';
config['wu_name'] = 'XXXXXXXXXXXXXXX';
config['wu_country'] = 'NL';
config['idx_moonpicture'] = '';
config['switch_horizon'] = '';
config['host_nzbget'] = '';
config['spot_clientid'] = '';
config['sonarr_url'] = '';
config['sonarr_apikey'] = '';
config['sonarr_maxitems'] = '';
config['garbage_company'] = 'rova';
config['garbage_icalurl'] = '';
config['google_api_key'] = '';
config['garbage_calendar_id'] = '';
config['garbage_zipcode'] = 'XXXXXXXXXXXXXXX XXXXXXXXXXXXXXX';
config['garbage_street'] = 'XXXXXXXXXXXXXXX';
config['garbage_housenumber'] = 'XXXXXXXXXXXXXXX';
config['garbage_housenumberadd'] = '';
config['garbage_maxitems'] = '7';
config['garbage_width'] = '';
config['loginEnabled'] = 1;
config['no_rgb'] = '0';
config['auto_positioning'] = '0';
config['use_favorites'] = '0';
config['disable_googleanalytics'] = '0';
config['last_update'] = 1;
config['hide_topbar'] = '0';
config['edit_mode'] = '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';
config['garbage_icon_use_colors'] = 1;
config['garbage_use_colors'] = '0';
config['garbage_use_names'] = '0';
config['garbage_use_cors_prefix'] = 1;




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


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

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":"BBC Radio 1","file":"http://radiofeeds.co.uk/bbcradio1.pls"},  ]; 



////////////////////// FRAMES ///////////////////////////
var frames = {}
frames.weather = {refreshiframe:10000,height:230,frameurl:"//forecast.io/embed/#lat=52.1924&lon=5.3901&name=Amersfoort&color=#00aaff&font=Helvetica&fontcolor=#ffffff&units=si&text-color=#fff",width:12}



////////////////////// BUTTONS /////////////////////////
var buttons = {}
buttons.buienradar = {width:12, isimage:true, refreshimage:60000, image:'http://api.buienradar.nl/image/1.0/RadarMapNL?w=285&h=256', url:'https://gadgets.buienradar.nl/gadget/zoommap/?lat=52.19215&lng=5.38919&overname=2&zoom=13&naam=3824hv&size=3&voor=1'}



////////////////////// BLOCK TITLES /////////////////////////
var blocks = {}
blocks['blocktitle_tv'] = {}
blocks['blocktitle_tv']['key'] = 'blocktitle_tv';
blocks['blocktitle_tv']['type'] = 'blocktitle';
blocks['blocktitle_tv']['title'] = 'TV and Nieuws';

blocks['blocktitle_switches'] = {}
blocks['blocktitle_switches']['key'] = 'blocktitle_switches';
blocks['blocktitle_switches']['type'] = 'blocktitle';
blocks['blocktitle_switches']['title'] = 'Schakelaars';

blocks['blocktitle_temp'] = {}
blocks['blocktitle_temp']['key'] = 'blocktitle_temp';
blocks['blocktitle_temp']['type'] = 'blocktitle';
blocks['blocktitle_temp']['title'] = 'Verwarming en Temperatuur';

blocks['blocktitle_vijver'] = {}
blocks['blocktitle_vijver']['key'] = 'blocktitle_vijver';
blocks['blocktitle_vijver']['type'] = 'blocktitle';
blocks['blocktitle_vijver']['title'] = 'Koi Vijver';

blocks['blocktitle_netwerk'] = {}
blocks['blocktitle_netwerk']['key'] = 'blocktitle_netwerk';
blocks['blocktitle_netwerk']['type'] = 'blocktitle';
blocks['blocktitle_netwerk']['title'] = 'Netwerk';

blocks['blocktitle_spotify'] = {}
blocks['blocktitle_spotify']['key'] = 'blocktitle_spotify';
blocks['blocktitle_spotify']['type'] = 'blocktitle';
blocks['blocktitle_spotify']['title'] = 'Spotify';



// custom block width for switches

blocks['news_2'] = {}
blocks['news_2']['feed'] = 'http://feeds.bbci.co.uk/news/world/europe/rss.xml';

blocks['s1'] = {} //Scene Front room all off
blocks['s1']['hide_data'] = true;
blocks['s1']['hide_lastupdate'] = true;
blocks['s1']['icon'] = 'fa-times-circle';

blocks['s2'] = {} //Movie scene
blocks['s2']['hide_data'] = true;
blocks['s2']['hide_lastupdate'] = true;
blocks['s2']['icon'] = 'fa-video-camera';

blocks['s3'] = {} //Evening scene
blocks['s3']['hide_data'] = true;
blocks['s3']['hide_lastupdate'] = true;
blocks['s3']['icon'] = 'fa-image';





blocks[3] = {}
blocks[3]['width'] = 6;
blocks[3]['title'] = 'Spotjes Eettafel'
blocks[3]['hide_data'] = true;
blocks[3]['hide_lastupdate'] = true;

blocks[1] = {}
blocks[1]['width'] = 6;
blocks[1]['title'] = 'Woonkamer lampen'
blocks[1]['hide_data'] = true;
blocks[1]['hide_lastupdate'] = true;

blocks[4] = {}
blocks[4]['width'] = 6;
blocks[4]['title'] = 'Vijververlichting'
blocks[4]['hide_data'] = true;
blocks[4]['hide_lastupdate'] = true;

blocks[2] = {}
blocks[2]['width'] = 6;
blocks[2]['title'] = 'Buitenlampe Achterdeur'
blocks[2]['hide_data'] = true;
blocks[2]['hide_lastupdate'] = true;

// DOORBELL
blocks[89] = {}
blocks[89]['width'] = 1;
blocks[89]['title'] = ''
blocks[89]['hide_data'] = true;
blocks[89]['hide_lastupdate'] = true;
blocks[89]['playsound'] = 'sounds/doorbell.mp3';
blocks[89]['protected'] = true;
blocks[89]['icon'] = 'fa-bell-o';

//change temp blocks size
blocks[5] = {}
blocks[5]['width'] = 3;

blocks[52] = {}
blocks[52]['width'] = 3;

blocks[54] = {}
blocks[54]['width'] = 3;

blocks[81] = {}
blocks[81]['width'] = 3;
blocks[81]['title'] = 'Change temp.'

//Device status - ping results
blocks[18] = {}
blocks[18]['width'] = 12;
blocks[18]['title'] = 'Internet'
blocks[18]['hide_data'] = true;
blocks[18]['hide_lastupdate'] = true;
blocks[18]['icon'] = 'fa-circle';
blocks[18]['protected'] = true;

blocks[19] = {}
blocks[19]['width'] = 12;
blocks[19]['title'] = 'QNAP'
blocks[19]['hide_data'] = true;
blocks[19]['hide_lastupdate'] = true;
blocks[19]['icon'] = 'fa-circle';
blocks[19]['protected'] = true;

blocks[22] = {}
blocks[22]['width'] = 12;
blocks[22]['title'] = 'QNAP'
blocks[22]['hide_data'] = true;
blocks[22]['hide_lastupdate'] = true;
blocks[22]['icon'] = 'fa-circle';
blocks[22]['protected'] = true;

blocks[21] = {}
blocks[21]['width'] = 12;
blocks[21]['title'] = 'PC Mike'
blocks[21]['hide_data'] = true;
blocks[21]['hide_lastupdate'] = true;
blocks[21]['icon'] = 'fa-circle';
blocks[21]['protected'] = true;


//blocks['sunrise'] = {}
//blocks['sunrise']['width'] = 1;

//blocks['miniclock'] = {}
//blocks['miniclock']['width'] = 7;


// My IDX list
// 00 = omschrijving


////////////////////// COLUMNS /////////////////////////
var columns = {}
columns['bar'] = {}
columns['bar']['blocks'] = ['sunrise','miniclock','settings']

columns[1] = {}
columns[1]['blocks'] = ['blocktitle_switches',4,3,2,1]
columns[1]['width'] = 5;

columns[2] = {}
columns[2]['blocks'] = [frames.weather,'blocktitle_temp',5,82,'54_1','52_1','blocktitle_vijver',104,'news','trafficmap','garbage']
columns[2]['width'] = 5;

columns[3] = {}
columns[3]['blocks'] = ['blocktitle_netwerk',18,19,21,22,buttons.buienradar,'garbage','traffic','blocktitle_spotify','spotify']
columns[3]['width'] = 2;

////////////////////// STANDBY /////////////////////////
var columns_standby = {}
columns_standby[1] = {}
columns_standby[1]['blocks'] = ['clock','weather']
columns_standby[1]['width'] = 12;
Try to clear cache. Do you have a login to Domoticz? Sometimes when I have several users it connects whith wrong user. Logout from Domoticz and Rhen try to connect dashticz
Thanks, i already tried this. even in an in-private browser an after rebooting the server.
Change:

Code: Select all

columns[3]['blocks'] = ['blocktitle_netwerk',18,19,21,22,buttons.buienradar,'garbage','traffic','blocktitle_spotify','spotify']
to:

Code: Select all

columns[3]['blocks'] = ['blocktitle_netwerk',18,19,21,22,buttons.buienradar,'garbage','traffic']
Maybe there is a bug with spotify plugin?
Raspberry Pi 2B - domoticz - Aeon Labs Z-Stick GEN5 - RFlink gateway
NanoPi NEO-air - domoticz - REGO6XX interface
Dashticz V2 - Homebridge

michaelm86
Posts: 28
Joined: Friday 02 February 2018 12:36
Target OS: Linux
Domoticz version: 3.8153
Location: Netherlands
Contact:

Re: Dashticz - General Discussions

Post by michaelm86 » Monday 12 February 2018 20:19

Hi DewGew,

thanks for your reply. I removed the spotify block but this did not work.

Can this issue maybe relate to the ubuntu 17.10 installation?

(to make things clear. i have installed dashticz in apache not in the domoticz/www folder)
Domoticz 3.8153 on linux laptop ubuntu 17.10 | Toon Thermostat | RFlink usb gateway

User avatar
DewGew
Posts: 259
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi
Domoticz version: V4.9741
Location: Sweden
Contact:

Re: Dashticz - General Discussions

Post by DewGew » Monday 12 February 2018 20:42

michaelm86 wrote:
Monday 12 February 2018 20:19
Hi DewGew,

thanks for your reply. I removed the spotify block but this did not work.

Can this issue maybe relate to the ubuntu 17.10 installation?

(to make things clear. i have installed dashticz in apache not in the domoticz/www folder)
Strange.. I got connection with your config when I removed Spotify. But I use raspberry pi. You can install dashticz in any webserver dont have to be on local machine. Just need a connection to Domoticz. Do you have Any errors in the browser console?
Raspberry Pi 2B - domoticz - Aeon Labs Z-Stick GEN5 - RFlink gateway
NanoPi NEO-air - domoticz - REGO6XX interface
Dashticz V2 - Homebridge

michaelm86
Posts: 28
Joined: Friday 02 February 2018 12:36
Target OS: Linux
Domoticz version: 3.8153
Location: Netherlands
Contact:

Re: Dashticz - General Discussions

Post by michaelm86 » Monday 12 February 2018 22:07

DewGew wrote:
Monday 12 February 2018 20:42
michaelm86 wrote:
Monday 12 February 2018 20:19
Hi DewGew,

thanks for your reply. I removed the spotify block but this did not work.

Can this issue maybe relate to the ubuntu 17.10 installation?

(to make things clear. i have installed dashticz in apache not in the domoticz/www folder)
Strange.. I got connection with your config when I removed Spotify. But I use raspberry pi. You can install dashticz in any webserver dont have to be on local machine. Just need a connection to Domoticz. Do you have Any errors in the browser console?
It strange indeed. also when i install dashticz in de www folder under domoticz i have the same issue.
when i do a telnet on port 8080 on the linux machine it self, i can see that the port is responding.

maybe if have to reinstall everything again...
Domoticz 3.8153 on linux laptop ubuntu 17.10 | Toon Thermostat | RFlink usb gateway

BCrippsy38
Posts: 12
Joined: Friday 11 August 2017 17:15
Target OS: Raspberry Pi
Domoticz version: 3.8833
Contact:

Re: Mixture of commas and stops when presenting decimal numbers.

Post by BCrippsy38 » Tuesday 13 February 2018 0:18

garethhowell wrote:
Wednesday 11 October 2017 22:01
I've just noticed that there is a mixture of commas and decimal points when presenting decimal data. Temperature blocks use commas ( as in 23,4) whereas thermostats use decimal point (15.5).

Can this be configured somewhere. I'd like usage to be consistent.
Did anyone ever figure this issue out? I'm finding my motion sensors that have temp and humidity are doing this, as well as the whole house energy meter. its when the IDX has multiple values. I also can't configure these sub blocks other than changing the name. resizing the widths and icons dont work with the blocks['Idx_1']['width'] = 6; and blocks['Idx_2']['width'] = 6; etc..

any help is greatly appreciated

michaelm86
Posts: 28
Joined: Friday 02 February 2018 12:36
Target OS: Linux
Domoticz version: 3.8153
Location: Netherlands
Contact:

Re: Dashticz - General Discussions

Post by michaelm86 » Tuesday 13 February 2018 10:52

michaelm86 wrote:
Monday 12 February 2018 22:07
DewGew wrote:
Monday 12 February 2018 20:42
michaelm86 wrote:
Monday 12 February 2018 20:19
Hi DewGew,

thanks for your reply. I removed the spotify block but this did not work.

Can this issue maybe relate to the ubuntu 17.10 installation?

(to make things clear. i have installed dashticz in apache not in the domoticz/www folder)
Strange.. I got connection with your config when I removed Spotify. But I use raspberry pi. You can install dashticz in any webserver dont have to be on local machine. Just need a connection to Domoticz. Do you have Any errors in the browser console?
It strange indeed. also when i install dashticz in de www folder under domoticz i have the same issue.
when i do a telnet on port 8080 on the linux machine it self, i can see that the port is responding.

maybe if have to reinstall everything again...
it works now! thanks for al the support.

i think i found the issue.

when i login to the dashticz dashboard then i cannot see the switches and temp sensors etc etc. but when i open an extra tab in the browser and login to the normal domoticz portal and then refresh the dasticz page everything is visible... but when the normal portal logs out after login expiration then dashticz losses the connectivity with domoticz.

is there a solution to not auto logout the dashbord (disable login expiration?) or to give dashticz te right settings to login on it own?

or maybe any other ideas?
Last edited by michaelm86 on Tuesday 13 February 2018 12:18, edited 1 time in total.
Domoticz 3.8153 on linux laptop ubuntu 17.10 | Toon Thermostat | RFlink usb gateway

User avatar
DewGew
Posts: 259
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi
Domoticz version: V4.9741
Location: Sweden
Contact:

Re: Dashticz - General Discussions

Post by DewGew » Tuesday 13 February 2018 19:09

michaelm86 wrote:
Tuesday 13 February 2018 10:52
michaelm86 wrote:
Monday 12 February 2018 22:07
DewGew wrote:
Monday 12 February 2018 20:42

Strange.. I got connection with your config when I removed Spotify. But I use raspberry pi. You can install dashticz in any webserver dont have to be on local machine. Just need a connection to Domoticz. Do you have Any errors in the browser console?
It strange indeed. also when i install dashticz in de www folder under domoticz i have the same issue.
when i do a telnet on port 8080 on the linux machine it self, i can see that the port is responding.

maybe if have to reinstall everything again...
it works now! thanks for al the support.

i think i found the issue.

when i login to the dashticz dashboard then i cannot see the switches and temp sensors etc etc. but when i open an extra tab in the browser and login to the normal domoticz portal and then refresh the dasticz page everything is visible... but when the normal portal logs out after login expiration then dashticz losses the connectivity with domoticz.

is there a solution to not auto logout the dashbord (disable login expiration?) or to give dashticz te right settings to login on it own?

or maybe any other ideas?
Do you login with same user or do you have a diffrent for dashticz?
Raspberry Pi 2B - domoticz - Aeon Labs Z-Stick GEN5 - RFlink gateway
NanoPi NEO-air - domoticz - REGO6XX interface
Dashticz V2 - Homebridge

michaelm86
Posts: 28
Joined: Friday 02 February 2018 12:36
Target OS: Linux
Domoticz version: 3.8153
Location: Netherlands
Contact:

Re: Dashticz - General Discussions

Post by michaelm86 » Wednesday 14 February 2018 0:24

DewGew wrote:
Tuesday 13 February 2018 19:09
michaelm86 wrote:
Tuesday 13 February 2018 10:52
michaelm86 wrote:
Monday 12 February 2018 22:07


It strange indeed. also when i install dashticz in de www folder under domoticz i have the same issue.
when i do a telnet on port 8080 on the linux machine it self, i can see that the port is responding.

maybe if have to reinstall everything again...

it works now! thanks for al the support.

i think i found the issue.

when i login to the dashticz dashboard then i cannot see the switches and temp sensors etc etc. but when i open an extra tab in the browser and login to the normal domoticz portal and then refresh the dasticz page everything is visible... but when the normal portal logs out after login expiration then dashticz losses the connectivity with domoticz.

is there a solution to not auto logout the dashbord (disable login expiration?) or to give dashticz te right settings to login on it own?

or maybe any other ideas?
Do you login with same user or do you have a diffrent for dashticz?
I configured the same user and password in te portal settings of dashticz.
Domoticz 3.8153 on linux laptop ubuntu 17.10 | Toon Thermostat | RFlink usb gateway

Wob76
Posts: 129
Joined: Wednesday 19 April 2017 6:31
Target OS: Linux
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by Wob76 » Friday 16 February 2018 4:22

mrjulien wrote:
Thursday 08 February 2018 1:17
hello,
i made a basic improvement to have temp + humidity on 1 block
2018-02-08_00h02_19.png

i think it should be interesting to have a parameterer like this
config['multiblock'] = '0/1';
Is this possible yet?

webmagic
Posts: 2
Joined: Monday 19 February 2018 21:47
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by webmagic » Monday 19 February 2018 21:57

I am a newbie. Is it possible to install Dashticz theme on the Version 3.8153 (July 30h 2017) of Domoticz?

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest