Dashticz - Bug report

Moderator: leecollings

Bram81
Posts: 22
Joined: Saturday 02 May 2015 11:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Utrecht, NL
Contact:

Re: Dashticz - Bug report

Post by Bram81 »

cheers!
Bram81
Posts: 22
Joined: Saturday 02 May 2015 11:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Utrecht, NL
Contact:

Re: Dashticz - Bug report

Post by Bram81 »

Lokonli wrote: Monday 21 January 2019 19:14
Bram81 wrote: Monday 21 January 2019 9:39
Lokonli wrote: Saturday 19 January 2019 17:43 [
I expect it will start playing after 1,5 hrs. I think you should make the time bigger than the dashticz refresh time. You can set this last one via the config['dashticz_refresh'] setting in your CONFIG.js (in minutes, not msec)

Does the stream also autoplay at the first start of Dashticz?
And when Dashticz refreshes?

Currently the frames are being refreshed in the background. To be honest, I don't see a good reason for that. An alternative solution could be to load the frame after the button is pressed. The only disadvantage is that it then will take a bit more time before the frame gets displayed, because the data has to be downloaded first. But I think that is acceptable.

What do you prefer?
Hi, it does start to play after 1,5 hrs even though the dashticz refresh time is set to 5 seconds. The autoplay does also start after the first start of dashticz of after a refresh. You're right it would be more than acceptable to need some more time to load but being able to only start a the stream after a button press. Do you know how to do that? Thanks for your help!!
I've created an issue for this on Github. I'll create a fix probably coming weekend.
Hi, any news on this already?
Lokonli
Posts: 2260
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Bug report

Post by Lokonli »

Bram81 wrote: Friday 01 February 2019 10:27
Lokonli wrote: Monday 21 January 2019 19:14
Bram81 wrote: Monday 21 January 2019 9:39

Hi, it does start to play after 1,5 hrs even though the dashticz refresh time is set to 5 seconds. The autoplay does also start after the first start of dashticz of after a refresh. You're right it would be more than acceptable to need some more time to load but being able to only start a the stream after a button press. Do you know how to do that? Thanks for your help!!
I've created an issue for this on Github. I'll create a fix probably coming weekend.
Hi, any news on this already?
The change was a bit more complex than anticipated. I've a first version working. Are you willing to test? I can send you a link tomorrow.
Bram81
Posts: 22
Joined: Saturday 02 May 2015 11:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Utrecht, NL
Contact:

Re: Dashticz - Bug report

Post by Bram81 »

Lokonli wrote: Friday 01 February 2019 13:19
Bram81 wrote: Friday 01 February 2019 10:27
Lokonli wrote: Monday 21 January 2019 19:14
I've created an issue for this on Github. I'll create a fix probably coming weekend.
Hi, any news on this already?
The change was a bit more complex than anticipated. I've a first version working. Are you willing to test? I can send you a link tomorrow.
Yes of course I’m willing to test! Again thanks for
your help so far!
ZaGaPonG
Posts: 10
Joined: Monday 04 March 2019 22:40
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Dashticz - Bug report

Post by ZaGaPonG »

Hi guys,

I have found a strange "bug".

First, I can't use: idx_X (eg: 436_1 or 436_2) for my device with multiple data even if my device is well detected as multiple data because "blocks[idx]['single_block'] = 1" works on...
Nevermind, I have made a lot of testing and discovering a really strange things: the multiple datas are well displayed (separated) in one column and not in one other :shock: !!!

Block concern: 436
Displayed only temp in column 20 and temp and humidity in column 70
column-20-70.PNG
column-20-70.PNG (104.43 KiB) Viewed 6221 times
Block

Code: Select all

	blocks[436] = {} // Température Chambre raphael
	blocks[436]['width'] = 4;
	//blocks[436]['single_block'] = 1;
	blocks[436]['title'] = 'Chambre Raph';
Columns

Code: Select all

/* CHAMBRE */	
columns[20] = {}
columns[20]['blocks'] = ['blocktitle_2',254,436]
columns[20]['width'] = 5; 


/* TEMPERATURE INTERIEUR */	
columns[70] = {}
columns[70]['blocks'] = ['blocktitle_60',254,436]
columns[70]['width'] = 5;
Screen

Code: Select all

screens['default'][2] = {}
screens['default'][2]['background'] = 'bg2.jpg';
screens['default'][2]['columns'] = [20,70,99]
Device in Domoticz

Code: Select all

{
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : -1.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 100,
         "CustomImage" : 0,
         "Data" : "20.7 C, 30 %",
         "Description" : "",
         "DewPoint" : "2.50",
         "Favorite" : 1,
         "HardwareID" : 3,
         "HardwareName" : "RFXtrx433 Ext Transceiver",
         "HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver",
         "HardwareTypeVal" : 1,
         "HaveTimeout" : false,
         "Humidity" : 30,
         "HumidityStatus" : "Dry",
         "ID" : "3203",
         "LastUpdate" : "2019-03-06 17:21:06",
         "Name" : "Chambre Raphael",
         "Notifications" : "false",
         "PlanID" : "2",
         "PlanIDs" : [ 2 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : 7,
         "SubType" : "Alecto WS1700",
         "Temp" : 20.699999999999999,
         "Timers" : "false",
         "Type" : "Temp + Humidity",
         "TypeImg" : "temperature",
         "Unit" : 3,
         "Used" : 1,
         "XOffset" : "126",
         "YOffset" : "479",
         "idx" : "436"
      }
Again, if y try to use: 436_X the app doesn't works.

EDIT: Same problem with another device which display 3 informations: displayed into 3 columns with only first data end with the three data (3 blocks) in the forth column :o
EDIT 2: Same device in same column displaying into differents screens --> not the same result... resolutely bugged :lol:

Thanks in advance guys ;)
Lokonli
Posts: 2260
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Bug report

Post by Lokonli »

ZaGaPonG wrote: Friday 08 March 2019 12:49 Hi guys,

I have found a strange "bug".

First, I can't use: idx_X (eg: 436_1 or 436_2) for my device with multiple data even if my device is well detected as multiple data because "blocks[idx]['single_block'] = 1" works on...
Nevermind, I have made a lot of testing and discovering a really strange things: the multiple datas are well displayed (separated) in one column and not in one other :shock: !!!

Block concern: 436
Displayed only temp in column 20 and temp and humidity in column 70
column-20-70.PNG

Block

Code: Select all

	blocks[436] = {} // Température Chambre raphael
	blocks[436]['width'] = 4;
	//blocks[436]['single_block'] = 1;
	blocks[436]['title'] = 'Chambre Raph';
Columns

Code: Select all

/* CHAMBRE */	
columns[20] = {}
columns[20]['blocks'] = ['blocktitle_2',254,436]
columns[20]['width'] = 5; 


/* TEMPERATURE INTERIEUR */	
columns[70] = {}
columns[70]['blocks'] = ['blocktitle_60',254,436]
columns[70]['width'] = 5;
Screen

Code: Select all

screens['default'][2] = {}
screens['default'][2]['background'] = 'bg2.jpg';
screens['default'][2]['columns'] = [20,70,99]
Device in Domoticz

Code: Select all

{
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : -1.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 100,
         "CustomImage" : 0,
         "Data" : "20.7 C, 30 %",
         "Description" : "",
         "DewPoint" : "2.50",
         "Favorite" : 1,
         "HardwareID" : 3,
         "HardwareName" : "RFXtrx433 Ext Transceiver",
         "HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver",
         "HardwareTypeVal" : 1,
         "HaveTimeout" : false,
         "Humidity" : 30,
         "HumidityStatus" : "Dry",
         "ID" : "3203",
         "LastUpdate" : "2019-03-06 17:21:06",
         "Name" : "Chambre Raphael",
         "Notifications" : "false",
         "PlanID" : "2",
         "PlanIDs" : [ 2 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : 7,
         "SubType" : "Alecto WS1700",
         "Temp" : 20.699999999999999,
         "Timers" : "false",
         "Type" : "Temp + Humidity",
         "TypeImg" : "temperature",
         "Unit" : 3,
         "Used" : 1,
         "XOffset" : "126",
         "YOffset" : "479",
         "idx" : "436"
      }
Again, if y try to use: 436_X the app doesn't works.

EDIT: Same problem with another device which display 3 informations: displayed into 3 columns with only first data end with the three data (3 blocks) in the forth column :o
EDIT 2: Same device in same column displaying into differents screens --> not the same result... resolutely bugged :lol:

Thanks in advance guys ;)
Which exact Dashticz version are you using?
ZaGaPonG
Posts: 10
Joined: Monday 04 March 2019 22:40
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Dashticz - Bug report

Post by ZaGaPonG »

Lokonli wrote: Friday 08 March 2019 18:47
ZaGaPonG wrote: Friday 08 March 2019 12:49 Hi guys,

I have found a strange "bug".

First, I can't use: idx_X (eg: 436_1 or 436_2) for my device with multiple data even if my device is well detected as multiple data because "blocks[idx]['single_block'] = 1" works on...
Nevermind, I have made a lot of testing and discovering a really strange things: the multiple datas are well displayed (separated) in one column and not in one other :shock: !!!

Block concern: 436
Displayed only temp in column 20 and temp and humidity in column 70
column-20-70.PNG

Block

Code: Select all

	blocks[436] = {} // Température Chambre raphael
	blocks[436]['width'] = 4;
	//blocks[436]['single_block'] = 1;
	blocks[436]['title'] = 'Chambre Raph';
Columns

Code: Select all

/* CHAMBRE */	
columns[20] = {}
columns[20]['blocks'] = ['blocktitle_2',254,436]
columns[20]['width'] = 5; 


/* TEMPERATURE INTERIEUR */	
columns[70] = {}
columns[70]['blocks'] = ['blocktitle_60',254,436]
columns[70]['width'] = 5;
Screen

Code: Select all

screens['default'][2] = {}
screens['default'][2]['background'] = 'bg2.jpg';
screens['default'][2]['columns'] = [20,70,99]
Device in Domoticz

Code: Select all

{
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : -1.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 100,
         "CustomImage" : 0,
         "Data" : "20.7 C, 30 %",
         "Description" : "",
         "DewPoint" : "2.50",
         "Favorite" : 1,
         "HardwareID" : 3,
         "HardwareName" : "RFXtrx433 Ext Transceiver",
         "HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver",
         "HardwareTypeVal" : 1,
         "HaveTimeout" : false,
         "Humidity" : 30,
         "HumidityStatus" : "Dry",
         "ID" : "3203",
         "LastUpdate" : "2019-03-06 17:21:06",
         "Name" : "Chambre Raphael",
         "Notifications" : "false",
         "PlanID" : "2",
         "PlanIDs" : [ 2 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : 7,
         "SubType" : "Alecto WS1700",
         "Temp" : 20.699999999999999,
         "Timers" : "false",
         "Type" : "Temp + Humidity",
         "TypeImg" : "temperature",
         "Unit" : 3,
         "Used" : 1,
         "XOffset" : "126",
         "YOffset" : "479",
         "idx" : "436"
      }
Again, if y try to use: 436_X the app doesn't works.

EDIT: Same problem with another device which display 3 informations: displayed into 3 columns with only first data end with the three data (3 blocks) in the forth column :o
EDIT 2: Same device in same column displaying into differents screens --> not the same result... resolutely bugged :lol:

Thanks in advance guys ;)
Which exact Dashticz version are you using?
Hi,

Using:"version": "2.5.6" on "branch": "beta".

Thanks for your support.
Lokonli
Posts: 2260
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Bug report

Post by Lokonli »

ZaGaPonG wrote: Friday 08 March 2019 18:55
Lokonli wrote: Friday 08 March 2019 18:47
ZaGaPonG wrote: Friday 08 March 2019 12:49 Hi guys,

I have found a strange "bug".

First, I can't use: idx_X (eg: 436_1 or 436_2) for my device with multiple data even if my device is well detected as multiple data because "blocks[idx]['single_block'] = 1" works on...
Nevermind, I have made a lot of testing and discovering a really strange things: the multiple datas are well displayed (separated) in one column and not in one other :shock: !!!

Block concern: 436
Displayed only temp in column 20 and temp and humidity in column 70
column-20-70.PNG

Block

Code: Select all

	blocks[436] = {} // Température Chambre raphael
	blocks[436]['width'] = 4;
	//blocks[436]['single_block'] = 1;
	blocks[436]['title'] = 'Chambre Raph';
Columns

Code: Select all

/* CHAMBRE */	
columns[20] = {}
columns[20]['blocks'] = ['blocktitle_2',254,436]
columns[20]['width'] = 5; 


/* TEMPERATURE INTERIEUR */	
columns[70] = {}
columns[70]['blocks'] = ['blocktitle_60',254,436]
columns[70]['width'] = 5;
Screen

Code: Select all

screens['default'][2] = {}
screens['default'][2]['background'] = 'bg2.jpg';
screens['default'][2]['columns'] = [20,70,99]
Device in Domoticz

Code: Select all

{
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : -1.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 100,
         "CustomImage" : 0,
         "Data" : "20.7 C, 30 %",
         "Description" : "",
         "DewPoint" : "2.50",
         "Favorite" : 1,
         "HardwareID" : 3,
         "HardwareName" : "RFXtrx433 Ext Transceiver",
         "HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver",
         "HardwareTypeVal" : 1,
         "HaveTimeout" : false,
         "Humidity" : 30,
         "HumidityStatus" : "Dry",
         "ID" : "3203",
         "LastUpdate" : "2019-03-06 17:21:06",
         "Name" : "Chambre Raphael",
         "Notifications" : "false",
         "PlanID" : "2",
         "PlanIDs" : [ 2 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : 7,
         "SubType" : "Alecto WS1700",
         "Temp" : 20.699999999999999,
         "Timers" : "false",
         "Type" : "Temp + Humidity",
         "TypeImg" : "temperature",
         "Unit" : 3,
         "Used" : 1,
         "XOffset" : "126",
         "YOffset" : "479",
         "idx" : "436"
      }
Again, if y try to use: 436_X the app doesn't works.

EDIT: Same problem with another device which display 3 informations: displayed into 3 columns with only first data end with the three data (3 blocks) in the forth column :o
EDIT 2: Same device in same column displaying into differents screens --> not the same result... resolutely bugged :lol:

Thanks in advance guys ;)
Which exact Dashticz version are you using?
Hi,

Using:"version": "2.5.6" on "branch": "beta".

Thanks for your support.
There are some limitations:
* You can add a multi-sensor device (like temp+humidity) only once.
* If you want to use '436_1' in a column you must have defined block[436]
(for instance: block[436] = {})
* if you have defined blocks[436] = { single_block: 1} then you cannot add '436_1' to a column.

Within these limitations it should work as expected ...
Can you test?
ZaGaPonG
Posts: 10
Joined: Monday 04 March 2019 22:40
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Dashticz - Bug report

Post by ZaGaPonG »

Lokonli wrote: Friday 08 March 2019 22:37
ZaGaPonG wrote: Friday 08 March 2019 18:55
Lokonli wrote: Friday 08 March 2019 18:47
Which exact Dashticz version are you using?
Hi,

Using:"version": "2.5.6" on "branch": "beta".

Thanks for your support.
There are some limitations:
* You can add a multi-sensor device (like temp+humidity) only once.
* If you want to use '436_1' in a column you must have defined block[436]
(for instance: block[436] = {})
* if you have defined blocks[436] = { single_block: 1} then you cannot add '436_1' to a column.

Within these limitations it should work as expected ...
Can you test?
Thanks, that's work !!

Since the beginning, I writte 436_1 and not '436_1' into the column devices listing.
Let the point: Why it's well displayed sometimes but nevermind.
I will check to add this to the wiki because I spent much times on and nothing is specified concerning this, an example should be usefull.

Thanks again Lokonli :mrgreen:
pvklink
Posts: 822
Joined: Wednesday 12 November 2014 15:01
Target OS: Raspberry Pi / ODroid
Domoticz version: latest b
Contact:

Re: Dashticz - Bug report

Post by pvklink »

Hi,

I tried my wonderful dashboard from the WAN with a tablet so i can use it tomorrow on holiday.
a made a seperate version of my dashtics for my tablet (samsung) .
I copied the config.js and custom.css from custom to custom_2 , reordered my devices over 4 pages and voila..

Everything seems ok when i start http://ip/dashticz_v2/index2.html every switch is there only a lot of icons on the switches are gone !
i use version 2.5.10

files from folder custom_2

config.js

Code: Select all

var config = {}
config['domoticz_ip'] = 'http://xxxxxx';
config['user_name'] = xxx';
config['pass_word'] = 'xxxx;
config['app_title'] = 'Domotica familie xxxxx';
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'] = '30';
config['default_cors_url'] = '';
config['dashticz_php_path'] = './vendor/dashticz/';
config['standby_call_url'] = '';
config['standby_call_url_on_end'] = '';
config['theme'] = 'default';
config['background_image'] = 'img/bg2.jpg';
config['standby_after'] = '0';
config['auto_swipe_back_to'] = '';
config['auto_swipe_back_after'] = '';
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'] = 'nl-NL';
config['wu_api'] = '';
config['wu_city'] = 'Amsterdam';
config['wu_name'] = '';
config['wu_country'] = 'NL';
config['owm_api'] = '';
config['owm_city'] = 'Mainaschaff';
config['owm_name'] = '';
config['owm_country'] = 'de';
config['owm_lang'] = '';
config['owm_cnt'] = '4';
config['idx_moonpicture'] = '';
config['longfonds_zipcode'] = '';
config['longfonds_housenumber'] = '';
config['switch_horizon'] = '';
config['host_nzbget'] = '';
config['spot_clientid'] = '';
config['sonarr_url'] = '';
config['sonarr_apikey'] = '';
config['sonarr_maxitems'] = '';
config['garbage_company'] = '';
config['garbage_icalurl'] = '';
config['google_api_key'] = '';
config['garbage_calendar_id'] = '';
config['garbage_zipcode'] = '';
config['garbage_street'] = '';
config['garbage_housenumber'] = '';
config['garbage_housenumberadd'] = '';
config['garbage_maxitems'] = '';
config['garbage_width'] = '';
config['loginEnabled'] = 1;
config['disable_update_check'] = 0;
config['no_rgb'] = 0;
config['auto_positioning'] = 0;
config['use_favorites'] = 0;
config['disable_googleanalytics'] = 0;
config['last_update'] = 0;
config['hide_topbar'] = 0;
config['security_button_icons'] = 0;
config['edit_mode'] = 0;
config['hide_seconds'] = 0;
config['hide_seconds_stationclock'] = 0;
config['owm_days'] = 0;
config['owm_min'] = 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 _STREAMPLAYER_TRACKS = [
{"track":1,"name":"3fm","file":"http://icecast.omroep.nl/3fm-bb-mp3"},
{"track":2,"name":"538","file":"http://18973.live.streamtheworld.com/RADIO538.mp3"},
{"track":3,"name":"Q-Music","file":"http://icecast-qmusic.cdp.triple-it.nl/Qmusic_nl_live_96.mp33"},
{"track":4,"name":"Radio10","file":"http://stream.radio10.nl/radio10"},
{"track":5,"name":"Veronica","file":"http://playerservices.streamtheworld.com/api/livestream-redirect/VERONICA.mp3"},
{"track":6,"name":"Skyradio","file":"http://playerservices.streamtheworld.com/api/livestream-redirect/SKYRADIO.mp3"},
]

var frames = {}
<deleted>

var calendars = {}
<deleted>

var publictransport = {}
publictransport.ovinfotrain = { show_via: true, station: 'station-den-haag-centraal', title:'NS-DH centraal', provider: '9292-train', show_lastupdate:true, icon: 'train', width: 6, results: 8 };
publictransport.ovinfotram = { show_via: false, station: 'rijswijk-zh/tramhalte-aletta-jacobsstraat', title:'HTM',provider: '9292-tram-bus', show_lastupdate:true, icon: '9292-bus', width:6, results: 8 };

var tvguide = {}
tvguide.dutch = { key:'dutch', icon: 'fas fa-tv', width:12, channels: [1,2,3,4,31,36,37,34,466,420], maxitems: 10 }

var buttons = {}
<deleted>

var blocks = {}
//
// TITELBLOKKEN 
//
blocks['0'] = {}
blocks['0']['type'] = 'blocktitle';
blocks['0']['title'] = 'Observatie'; 

blocks['1'] = {}
blocks['1']['type'] = 'blocktitle';
blocks['1']['title'] = 'Scenes'; 

blocks['1a'] = {}
blocks['1a']['type'] = 'blocktitle';
blocks['1a']['title'] = 'Schakelaars';

blocks['1b'] = {}
blocks['1b']['type'] = 'blocktitle';
blocks['1b']['title'] = 'Tuin';

blocks['2a'] = {}
blocks['2a']['type'] = 'blocktitle';
blocks['2a']['title'] = 'Amusement'; 

blocks['2b'] = {}
blocks['2b']['type'] = 'blocktitle';
blocks['2b']['title'] = 'Netwerk'; 

blocks['3'] = {}
blocks['3']['type'] = 'blocktitle';
blocks['3']['title'] = 'Klimaat'; 

blocks['3b'] = {}
blocks['3b']['type'] = 'blocktitle';
blocks['3b']['title'] = 'Security'; 

blocks['4'] = {}
blocks['4']['type'] = 'blocktitle';
blocks['4']['title'] = 'Thuis'; 

blocks['4a'] = {}
blocks['4a']['type'] = 'blocktitle';
blocks['4a']['title'] = 'Tv'; 

blocks['4b'] = {}
blocks['4b']['type'] = 'blocktitle';
blocks['4b']['title'] = 'Pc en tablet'; 
//
// WEER
//
blocks[1163] = {}
blocks[1163]['title'] = 'Vorst alarm 4c';
blocks[1163]['icon'] = 'fas fa-snowflake';
blocks[1163]['hide_data'] = true;
blocks[1163]['speak'] = 'Vorstalarm aangepast';
blocks[1163]['width'] = 3;

blocks[457] = {}
blocks[457]['title'] = 'Temp. tuin';
blocks[457]['hide_data'] = true;
blocks[457]['last_update'] = false;
blocks[457]['switch'] =true;
blocks[457]['width'] = 3;

blocks[948] = {}
blocks[948]['title'] = 'Zuiderpark';
blocks[948]['hide_data'] = true;
blocks[948]['last_update'] = false;
blocks[948]['switch'] =true;
blocks[948]['width'] = 3;

blocks[455] = {}
blocks[455]['title'] = 'Zolder';
blocks[455]['hide_data'] = true;
blocks[455]['last_update'] = false;
blocks[455]['switch'] =true;
blocks[455]['width'] = 3;

blocks[1025] = {}
blocks[1025]['title'] = 'Zolder radiator';
blocks[1025]['hide_data'] = true;
blocks[1025]['switch'] =true;
blocks[1025]['width'] = 3;

blocks[1248] = {}
blocks[1248]['title'] = 'Strijp';
blocks[1248]['hide_data'] = true;
blocks[1248]['switch'] =true;
blocks[1248]['width'] = 3;

blocks[1303] = {}
blocks[1303]['title'] = 'Het regent';
blocks[1303]['hide_data'] = true;
blocks[1303]['icon'] = 'fas fa-cloud-showers-heavy';
blocks[1303]['width'] = 3;
blocks[1303]['speakOn'] = 'Het regent';

blocks[1049] = {}
blocks[1049]['title'] = 'Zolder default heating';
blocks[1049]['hide_data'] = true;
blocks[1049]['icon'] = 'fas fa-fire';
blocks[1049]['width'] = 6;
blocks[1049]['speak'] = 'Zolder verwarming aangepast';

blocks[1285] = {}
blocks[1285]['title'] = 'Weersituatie';
blocks[1285]['icon'] = 'fas fa-bell';
blocks[1285]['hide_data'] = true;
blocks[1285]['width'] = 6;
blocks[1285]['switch'] =true;
//veranderd te vaak
//blocks[1285]['speak'] = 'Weer situatie aangepast';

blocks[1305] = {}
blocks[1305]['title'] = 'Weerverwachting';
blocks[1305]['icon'] = 'fas fa-bell';
blocks[1305]['hide_data'] = true;
blocks[1305]['width'] = 6;
blocks[1305]['switch'] =true;

blocks[1250] = {}
blocks[1250]['title'] = 'Weeralarm';
blocks[1250]['icon'] = 'fas fa-bell';
blocks[1250]['hide_data'] = true;
blocks[1250]['width'] = 6;
blocks[1250]['speak'] = 'Weer alarm aangepast';
blocks[1250]['switch'] =true;
//
// NEWS FEED https://crossorigin.me/ niet meer gebruiken
//
blocks['news_nualg'] = {} 
blocks['news_nualg']['feed'] = 'http://www.nu.nl/rss/algemeen';

blocks['news_nusp'] = {} 
blocks['news_nusp']['feed'] = 'http://www.nu.nl/rss/sport';

blocks['news_twk'] = {}
blocks['news_twk']['feed'] = 'http://feeds.feedburner.com/tweakers/nieuws';
//
//SCENES
//
blocks['s13'] = {}
blocks['s13']['title'] = 'Sfeer verlichting binnen';
blocks['s13']['hide_data'] = true;
blocks['s13']['icon'] = 'fas fa-tasks';
blocks['s13']['width'] = 3;

blocks['s14'] = {}
blocks['s14']['title'] = 'Nacht verlichting';
blocks['s14']['hide_data'] = true;
blocks['s14']['icon'] = 'fas fa-tasks';
blocks['s14']['width'] = 3;

blocks['s15'] = {}
blocks['s15']['title'] = 'Sfeer verlichting buiten';
blocks['s15']['hide_data'] = true;
blocks['s15']['icon'] = 'fas fa-tasks';
blocks['s15']['width'] = 3;

blocks['s16'] = {}
blocks['s16']['title'] = 'Opstaan';
blocks['s16']['hide_data'] = true;
blocks['s16']['icon'] = 'fas fa-tasks';
blocks['s16']['width'] = 3;

blocks['s18'] = {}
blocks['s18']['title'] = 'Beneden weg';
blocks['s18']['hide_data'] = true;
blocks['s18']['icon'] = 'fas fa-tasks';
blocks['s18']['width'] = 3;

blocks['s19'] = {}
blocks['s19']['title'] = 'Aanwezig heid';
blocks['s19']['hide_data'] = true;
blocks['s19']['icon'] = 'fas fa-tasks';
blocks['s19']['width'] = 3;

blocks[985] = {}
blocks[985]['title'] = 'Visite';
blocks[985]['hide_data'] = true;
blocks[985]['icon'] = 'fas fa-users';
blocks[985]['width'] = 3;
blocks[985]['speak'] = 'Visitemodus wordt aangepast';

blocks[1286] = {}
blocks[1286]['title'] = 'Irrigatie timers';
blocks[1286]['hide_data'] = true;
blocks[1286]['icon'] = 'fas fa-users';
blocks[1286]['width'] = 3;
blocks[1286]['speakOn'] = 'Irrigatietimers aan';
blocks[1286]['speakOff'] = 'Irrigatietimers uit';

blocks[969] = {}
blocks[969]['title'] = 'Sproei border links';
blocks[969]['hide_data'] = true;
blocks[969]['icon'] = 'fas fa-shower';
blocks[969]['width'] = 4;
blocks[969]['speakOn'] = 'Irrigatie border links aan';
blocks[969]['speakOff'] = 'Irrigatie border links uit';

blocks[1190] = {}
blocks[1190]['title'] = 'Duur in min';
blocks[1190]['icon'] = '';
blocks[1190]['width'] = 8;

blocks[1189] = {}
blocks[1189]['title'] = 'Sproei gazon';
blocks[1189]['hide_data'] = true
blocks[1189]['speak'] = 'Irrigatie gazon aangepast';
;
blocks[1189]['icon'] = 'fas fa-shower';
blocks[1189]['width'] = 4;

blocks[1191] = {}
blocks[1191]['title'] = 'Duur in min';
blocks[1191]['icon'] = '';
blocks[1191]['width'] = 8;

blocks[973] = {}
blocks[973]['title'] = 'Sproei border rechts';
blocks[973]['hide_data'] = true;
blocks[973]['icon'] = 'fas fa-shower';
blocks[973]['width'] = 4;
blocks[973]['speakOn'] = 'Irrigatie border rechts aan';
blocks[973]['speakOff'] = 'Irrigatie border rechts uit';

blocks[1192] = {}
blocks[1192]['title'] = 'Duur in min';
blocks[1192]['icon'] = '';
blocks[1192]['width'] = 8;

blocks[1267] = {}
blocks[1267]['title'] = 'Sproei planten';
blocks[1267]['hide_data'] = true;
blocks[1267]['icon'] = 'fas fa-shower';
blocks[1267]['width'] = 4;
blocks[1267]['speak'] = 'Irrigatie planten aangepast';

blocks[1268] = {}
blocks[1268]['title'] = 'Duur in min';
blocks[1268]['icon'] = '';
blocks[1268]['width'] = 8;
//
// SCHAKELAARS
//
blocks[1012] = {}
blocks[1012]['title'] = 'Maak een foto';
blocks[1012]['icon'] = 'fas fa-camera';
blocks[1012]['hide_data'] = true;
blocks[1012]['width'] = 6;
blocks[1012]['speakOn'] = 'Er wordt een foto gemaakt';

blocks[86] = {}
blocks[86]['title'] = 'Rolluik';
blocks[86]['hide_data'] = true;
blocks[86]['width'] = 6;
blocks[86]['speak'] = 'Rolluik is gewijzigd';

blocks[1002] = {}
blocks[1002]['title'] = 'Lantaarn';
blocks[1002]['hide_data'] = true;
blocks[1002]['width'] = 3;
blocks[1002]['speakOn'] = 'Lantaarn is aan';
blocks[1002]['speakOff'] = 'Lantaarn is uit';

blocks[991] = {}
blocks[991]['title'] = 'Border';
blocks[991]['hide_data'] = true;
blocks[991]['width'] = 3;

blocks[145] = {}
blocks[145]['title'] = 'Printer';
blocks[145]['icon'] = 'fas fa-print';
blocks[145]['hide_data'] = true;
blocks[145]['width'] = 3;

blocks[262] = {}
blocks[262]['title'] = 'Boiler';
blocks[262]['icon'] = 'fas fa-tint';
blocks[262]['hide_data'] = true;
blocks[262]['width'] = 3;

blocks[260] = {}
blocks[260]['title'] = 'Edge router';
blocks[260]['icon'] = 'fas fa-hdd';
blocks[260]['hide_data'] = true;
blocks[260]['width'] = 3;

blocks[263] = {}
blocks[263]['title'] = 'Accu';
blocks[263]['icon'] = 'fas fa-battery-full';
blocks[263]['hide_data'] = true;
blocks[263]['width'] = 3;
blocks[263]['speakOn'] = 'Accu is aan';
blocks[263]['speakOn'] = 'Accu is uit';

blocks[1005] = {}
blocks[1005]['title'] = 'Wii en Tv';
blocks[1005]['icon'] = 'fas fa-gamepad';
blocks[1005]['hide_data'] = true;
blocks[1005]['width'] = 3;

blocks[1247] = {}
blocks[1247]['title'] = 'Tv huiskamer';
blocks[1247]['icon'] = 'fas fa-power-off';
blocks[1247]['hide_data'] = true;
blocks[1247]['width'] = 3;
blocks[1247]['speak'] = 'Tv Huiskamer is veranderd';
//
// ENTERTAINMENT
//
blocks[354] = {}
blocks[354]['title'] = 'Denon volume';
blocks[354]['icon'] = 'fas fa-music';
blocks[354]['width'] = 6;

blocks[353] = {}
blocks[353]['title'] = 'Denon source';
blocks[353]['icon'] = 'fas fa-music';
blocks[353]['width'] = 6;

blocks[134] = {}
blocks[134]['title'] = 'Denon zenders';
blocks[134]['icon'] = 'fas fa-music';
blocks[134]['width'] = 9;

blocks[139] = {}
blocks[139]['title'] = 'Denon mixer';
blocks[139]['icon'] = 'fas fa-music';
blocks[139]['width'] = 3;

blocks[1271] = {}
blocks[1271]['title'] = 'Chrome huiskamer';
blocks[1271]['icon'] = 'fas fa-music';
blocks[1271]['hide_data'] = true;
blocks[1271]['width'] = 9;

blocks[1273] = {}
blocks[1273]['title'] = 'Titel';
blocks[1273]['icon'] = 'fas fa-music';
blocks[1273]['hide_data'] = true;
blocks[1273]['width'] = 3;

blocks[1275] = {}
blocks[1275]['title'] = 'Chrome sonia';
blocks[1275]['icon'] = 'fas fa-music';
blocks[1275]['hide_data'] = true;
blocks[1275]['width'] = 9;

blocks[1277] = {}
blocks[1277]['title'] = 'Titel';
blocks[1277]['icon'] = 'fas fa-music';
blocks[1277]['hide_data'] = true;
blocks[1277]['width'] = 3;

blocks[277] = {}
blocks[277]['title'] = 'TV Woon kamer';
blocks[277]['icon'] = 'fas fa-tv';
blocks[277]['hide_data'] = true;
blocks[277]['width'] = 3;

blocks[827] = {}
blocks[827]['title'] = 'TV Werk kamer';
blocks[827]['icon'] = 'fas fa-tv';
blocks[827]['hide_data'] = true;
blocks[827]['width'] = 3;

blocks[805] = {}
blocks[805]['title'] = 'TV Niels';
blocks[805]['icon'] = 'fas fa-tv';
blocks[805]['hide_data'] = true;
blocks[805]['width'] = 3;
blocks[805]['speak'] = 'TV niels is veranderd';

blocks[675] = {}
blocks[675]['title'] = 'TV Sonia';
blocks[675]['icon'] = 'fas fa-tv';
blocks[675]['hide_data'] = true;
blocks[675]['width'] = 3;
blocks[675]['speakOn'] = 'TV sonia is aan';
blocks[675]['speakOff'] = 'TV sonia is uit';
//
// NETWORK 
//
blocks[287] = {}
blocks[287]['title'] = 'Zyxel';
blocks[287]['width'] = 4;
blocks[287]['icon'] = 'fas fa-hdd';
blocks[287]['hide_data'] = true;

blocks[286] = {}
blocks[286]['title'] = 'Unify';
blocks[286]['width'] = 4;
blocks[286]['icon'] = 'fas fa-hdd';
blocks[286]['hide_data'] = true;

blocks[289] = {}
blocks[289]['title'] = 'Qnap';
blocks[289]['width'] = 4;
blocks[289]['icon'] = 'fas fa-hdd';
blocks[289]['hide_data'] = true;

blocks[283] = {}
blocks[283]['title'] = 'Edge router';
blocks[283]['width'] = 4;
blocks[283]['icon'] = 'fas fa-hdd';
blocks[283]['hide_data'] = true;

blocks[284] = {}
blocks[284]['title'] = 'Ziggo lan';
blocks[284]['width'] = 4;
blocks[284]['icon'] = 'fas fa-hdd';
blocks[284]['hide_data'] = true;

blocks[1314] = {}
blocks[1314]['title'] = 'Google DNS';
blocks[1314]['width'] = 4;
blocks[1314]['icon'] = 'fas fa-hdd';
blocks[1314]['hide_data'] = true;
blocks[1314]['speakOn'] = 'Internet van binnen naar buiten werkt';
blocks[1314]['speakOff'] = 'Internet van binnen naar buiten werkt niet meer';

//
// SECURITY
//
blocks[274] = {}
blocks[274]['title'] = 'Peter 06';
blocks[274]['icon'] = 'fas fa-phone-volume';
blocks[274]['hide_data'] = true;
blocks[274]['width'] = 3;

blocks[273] = {}
blocks[273]['title'] = 'Monique 06';
blocks[273]['icon'] = 'fas fa-phone-volume';
blocks[273]['hide_data'] = true;
blocks[273]['width'] = 3;

blocks[276] = {}
blocks[276]['title'] = 'Niels 06';
blocks[276]['icon'] = 'fas fa-phone-volume';
blocks[276]['hide_data'] = true;
blocks[276]['width'] = 3;

blocks[275] = {}
blocks[275]['title'] = 'Sonia 06';
blocks[275]['icon'] = 'fas fa-phone-volume';
blocks[275]['hide_data'] = true;
blocks[275]['width'] = 3;
//
// ALARMEN
//
blocks[207] = {}
blocks[207]['title'] = 'Alarm';
blocks[207]['hide_data'] = true;
blocks[207]['icon'] = 'fas fa-exclamation-triangle';
blocks[207]['width'] = 3;

blocks[210] = {}
blocks[210]['title'] = 'Huisdeur';
blocks[210]['icon'] = 'fas fa-door-open';
blocks[210]['hide_data'] = true;
blocks[210]['width'] = 3;

blocks[968] = {}
blocks[968]['title'] = 'Rook hal';
blocks[968]['icon'] = 'fas fa-smoking';
blocks[968]['hide_data'] = true;
blocks[968]['speak'] = 'Er is rook in de hal';
blocks[968]['width'] = 3;

blocks[966] = {}
blocks[966]['title'] = 'Rook trap';
blocks[966]['icon'] = 'fas fa-smoking';
blocks[966]['hide_data'] = true;
blocks[966]['speak'] = 'Er is rook op de trap';
blocks[966]['width'] = 3;

blocks[272] = {}
blocks[272]['title'] = 'Alarm knop';
blocks[272]['icon'] = 'fas fa-exclamation-triangle';
blocks[272]['width'] = 3;

blocks[1180] = {}
blocks[1180]['title'] = 'Bel tuin';
blocks[1180]['icon'] = 'fas fa-bell';
blocks[1180]['hide_data'] = true;
blocks[1180]['width'] = 3;

blocks[1182] = {}
blocks[1182]['title'] = 'Bel voordeur';
blocks[1182]['icon'] = 'fas fa-bell';
blocks[1182]['hide_data'] = true;
blocks[1182]['width'] = 3;

blocks[1149] = {}
blocks[1149]['title'] = 'Was machine';
blocks[1149]['icon'] = 'fas fa-bell';
blocks[1149]['hide_data'] = true;
blocks[1149]['width'] = 3;

blocks[153] = {}
blocks[153]['title'] = 'Bew. Service';
blocks[153]['icon'] = 'fas fa-bell';
blocks[153]['hide_data'] = true;
blocks[153]['width'] = 6;

blocks[15] = {}
blocks[15]['title'] = 'Bew. Alarm';
blocks[15]['icon'] = 'fas fa-bell';
blocks[15]['hide_data'] = true;
blocks[15]['width'] = 6;
//
// pc en tablet
//
blocks[282] = {}
blocks[282]['title'] = 'Peter pc vlan';
blocks[282]['hide_data'] = true;
blocks[282]['icon'] = 'fas fa-desktop';
blocks[282]['width'] = 3;

blocks[281] = {}
blocks[281]['title'] = 'Peter ptb';
blocks[281]['hide_data'] = true;
blocks[281]['icon'] = 'fas fa-laptop';
blocks[281]['width'] = 3;

blocks[678] = {}
blocks[678]['title'] = 'Peter tablet';
blocks[678]['hide_data'] = true;
blocks[678]['icon'] = 'fas fa-tablet-alt';
blocks[678]['width'] = 3;

blocks[291] = {}
blocks[291]['title'] = 'Monique tablet';
blocks[291]['hide_data'] = true;
blocks[291]['icon'] = 'fas fa-tablet-alt';
blocks[291]['width'] = 3;

blocks[786] = {}
blocks[786]['title'] = 'Niels pc ziggo';
blocks[786]['hide_data'] = true;
blocks[786]['icon'] = 'fas fa-desktop';
blocks[786]['speakOn'] = 'Pc niels is aan';
blocks[786]['speakOff'] = 'Pc niels is uit';
blocks[786]['width'] = 3;

blocks[278] = {}
blocks[278]['title'] = 'Niels pc vlan';
blocks[278]['hide_data'] = true;
blocks[278]['icon'] = 'fas fa-desktop';
blocks[278]['speak'] = 'Pc niels is veranderd';
blocks[278]['width'] = 3;

blocks[279] = {}
blocks[279]['title'] = 'Niels ptb';
blocks[279]['hide_data'] = true;
blocks[279]['icon'] = 'fas fa-laptop';
blocks[279]['speakOn'] = 'Portable niels is aan';
blocks[279]['speakOff'] = 'Portable niels is uit';
blocks[279]['width'] = 3;

blocks[676] = {}
blocks[676]['title'] = 'Niels pc vlan wifi';
blocks[676]['hide_data'] = true;
blocks[676]['icon'] = 'fas fa-desktop';
blocks[676]['speakOn'] = 'Pc niels wifi is aan';
blocks[676]['speakOff'] = 'Pc niels wifi is uit';
blocks[676]['width'] = 3;

blocks[280] = {}
blocks[280]['title'] = 'Sonia ptb';
blocks[280]['hide_data'] = true;
blocks[280]['icon'] = 'fas fa-laptop';
blocks[280]['width'] = 3;

blocks[677] = {}
blocks[677]['title'] = 'Sonia tablet';
blocks[677]['hide_data'] = true;
blocks[677]['icon'] = 'fas fa-tablet-alt';
blocks[677]['speakOn'] = 'Tablet sonia is aan';
blocks[677]['speakOff'] = 'Tablet sonia is uit';
blocks[677]['width'] = 3;

blocks[498] = {}
blocks[498]['title'] = 'PS4';
blocks[498]['hide_data'] = true;
blocks[498]['icon'] = 'fas fa-gamepad';
blocks[498]['width'] = 3;
//
// KOLOMMEN
// clock
var columns = {}
columns[1] = {}
columns[1]['blocks'] = [3,buttons.buienradar,1163,457,455,1025,1248,1303]
columns[1]['width'] = 6; 

columns[3] = {}
columns[3]['blocks'] = ['1a',262,145,260,1247,1002,991,1005,263,1012,86,1049,1285,1305,1250]
columns[3]['width'] = 6; 

columns[2] = {}
columns[2]['blocks'] = ['1','s19','s16','s18','s13','s15','s14',985,1286,969,1190,1189,1191,973,1192,1267,1268]
columns[2]['width'] = 6; 

columns[4] = {}
columns[4]['blocks'] = ['2a',354,353,134,139,1271,1273,1275,1277,277,675,805,827,'2b',287,286,289,283,1314,284]
columns[4]['width'] = 6; 

columns[5] = {}
columns[5]['blocks'] = [0,buttons.webcam1,buttons.webcam2,274,282,281,678,273,291,276,786,278,676,279,498,275,677,280,'3b',210,207,272,968,966,1180,1182,1149,153,15]
columns[5]['width'] = 6; 

columns[6] = {}
columns[6]['blocks'] = ['clock','sunrise',calendars.fam,calendars.peter]
columns[6]['width'] = 6; 

columns[7] = {}
columns[7]['blocks'] = [calendars.f1,calendars.ado]
columns[7]['width'] = 6; 

columns[8] = {}
columns[8]['blocks'] = [publictransport.ovinfotrain,publictransport.ovinfotram,tvguide.dutch,'log','chromecast','streamplayer']
columns[8]['width'] = 6; 

//
// SCHERMEN
//
var screens = {}
screens[1] = {}
screens[1]['background'] = 'bg1.jpg';
screens[1]['columns'] = [1,3];

screens[2] = {}
screens[2]['background'] = 'bg1.jpg';
screens[2]['columns'] = [2,4];

screens[3] = {}
screens[3]['background'] = 'bg1.jpg';
screens[3]['columns'] = [5,6];

screens[4] = {}
screens[4]['background'] = 'bg1.jpg';
screens[4]['columns'] = [7];


custom.css

Code: Select all

/* 
  https://fontawesome.com/icons?d=gallery&m=free
  https://htmlcolorcodes.com/

  wat doet :before achter on ?
  waarom moet de lightbulb met fas ervoor?
  wat doet important
  kan // niet ? dan werkt css niet

afwijking per block je mag de icon ook weglaten
.fa-snowflake.on {color: blue;}
.fa-snowflake.off {color: white;}

.block_1163 .on {color: red !important;}
.block_1163 .off {color: red  !important;}

on off weglaten veranderd de kleur van de tekst
important overuled 
laatste instelling qua volgorde is geldig, dus uitzondering later of important maken en de andere niet

  .mh .btn  {font-size: 100% !important;}
*/

div.mh.titlegroups {
	border-radius: 15px;				/* Rounded corners */
}


/* Make the background of the titleblocks less high */
.transbg.titlegroups {
	height: 50px;
    padding: 0px;
}

.fa-snowflake.on {color: blue;}
.fa-snowflake.off {color: white;}

.fa-chromecast.on {color:#F1C300;}
.fa-chromecast.off {color:#fff;}

.fa-cloud-showers-heavy.on {color: blue !important;}
.fa-cloud-showers-heavy.off {color: white !important;}

.fa-lightbulb.on {color:#F1C300;}
.fa-lightbulb.off {color:#fff;}

.fa-shower.on {color: blue !important;}
.fa-shower.off {color: white !important;}

.fa-tv.on {color:#F1C300;}
.fa-tv.off {color:#fff;}


.fa-power-off.on {color: #bfbfbf;}
.fa-power-off.off {color:#F1C300;}

.fa-phone-volume.on {color:#F1C300;}
.fa-phone-volume.off {color:#fff;}

.fa-desktop.on {color:#F1C300;}  
.fa-desktop.off {color:#fff;}

.fa-laptop.on {color:#F1C300;}
.fa-laptop.off {color:#fff;}

.fa-tablet-alt.on {color:#F1C300;} 
.fa-tablet-alt.off {color:#fff;}

.fa-tasks.on {color:#F1C300;} 
.fa-tasks.off {color:#fff;}

.fa-tree.on {color:#F1C300;} 
.fa-tree.off {color:#fff;}

.fa-fire.on {color:#fff;} 
.fa-fire.off {color:#fff;}

.fa-users.on {color: blue !important;} 
.fa-users.off {color: white !important;}

.fa-hdd.on {color:#F1C300;} 
.fa-hdd.off {color:#fff;}

.fa-music.on {color:#F1C300;} 
.fa-music.off {color:#fff;}

.fa-bell.on {color: red !important;} 
.fa-bell.off {color: green !important;}

.fa-battery-full.on {color:#F1C300;}
.fa-battery-full.off {color:#fff;}

.fa-gamepad.on {color:#F1C300;} 
.fa-gamepad.off {color:#fff;}

.fa-camera.on {color:#fff;} 
.fa-camera.off {color:#F1C300;}

.fa-print.on {color:#F1C300;} 
.fa-print.off {color:#fff;}

.fa-tint.on {color:#F1C300;} 
.fa-tint.off {color:#fff;}

.fa-smoking.on {color: red !important;} 
.fa-smoking.off {color: green !important;}

.fa-exclamation-triangle.on {color: red !important;} 
.fa-exclamation-triangle.off {color: green !important;}

.fa-temperature-low.on {color:#F1C300;}
.fa-temperature-low.off {color:#fff;}

.fa-door-open.on {color: green !important;}
.fa-door-open.off {color: red !important;}

/* Selector buttons active*/
.btn.btn-default.active {
background-color: rgba(200,200,200,0.95) !important;
border-color: rgba(200,200,200,0.95) !important;
}

/* Selector buttons in-active*/
.btn.btn-default {
background-color: rgba(250,250,250,0.95) !important;
border-color: rgba(250,250,250,0.95) !important;
}

.swiper-pagination-bullet {width: 0px;height: 0px;}
.swiper-pagination-bullet {width: 35px !important;height: 35px !important;}
.swiper-pagination {text-align: left !important;}


Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
Lokonli
Posts: 2260
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Bug report

Post by Lokonli »

pvklink wrote: Friday 19 April 2019 19:11 Hi,

I tried my wonderful dashboard from the WAN with a tablet so i can use it tomorrow on holiday.
a made a seperate version of my dashtics for my tablet (samsung) .
I copied the config.js and custom.css from custom to custom_2 , reordered my devices over 4 pages and voila..

Everything seems ok when i start http://ip/dashticz_v2/index2.html every switch is there only a lot of icons on the switches are gone !
i use version 2.5.10

files from folder custom_2

config.js

Code: Select all

var config = {}
config['domoticz_ip'] = 'http://xxxxxx';
config['user_name'] = xxx';
config['pass_word'] = 'xxxx;
config['app_title'] = 'Domotica familie xxxxx';
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'] = '30';
config['default_cors_url'] = '';
config['dashticz_php_path'] = './vendor/dashticz/';
config['standby_call_url'] = '';
config['standby_call_url_on_end'] = '';
config['theme'] = 'default';
config['background_image'] = 'img/bg2.jpg';
config['standby_after'] = '0';
config['auto_swipe_back_to'] = '';
config['auto_swipe_back_after'] = '';
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'] = 'nl-NL';
config['wu_api'] = '';
config['wu_city'] = 'Amsterdam';
config['wu_name'] = '';
config['wu_country'] = 'NL';
config['owm_api'] = '';
config['owm_city'] = 'Mainaschaff';
config['owm_name'] = '';
config['owm_country'] = 'de';
config['owm_lang'] = '';
config['owm_cnt'] = '4';
config['idx_moonpicture'] = '';
config['longfonds_zipcode'] = '';
config['longfonds_housenumber'] = '';
config['switch_horizon'] = '';
config['host_nzbget'] = '';
config['spot_clientid'] = '';
config['sonarr_url'] = '';
config['sonarr_apikey'] = '';
config['sonarr_maxitems'] = '';
config['garbage_company'] = '';
config['garbage_icalurl'] = '';
config['google_api_key'] = '';
config['garbage_calendar_id'] = '';
config['garbage_zipcode'] = '';
config['garbage_street'] = '';
config['garbage_housenumber'] = '';
config['garbage_housenumberadd'] = '';
config['garbage_maxitems'] = '';
config['garbage_width'] = '';
config['loginEnabled'] = 1;
config['disable_update_check'] = 0;
config['no_rgb'] = 0;
config['auto_positioning'] = 0;
config['use_favorites'] = 0;
config['disable_googleanalytics'] = 0;
config['last_update'] = 0;
config['hide_topbar'] = 0;
config['security_button_icons'] = 0;
config['edit_mode'] = 0;
config['hide_seconds'] = 0;
config['hide_seconds_stationclock'] = 0;
config['owm_days'] = 0;
config['owm_min'] = 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 _STREAMPLAYER_TRACKS = [
{"track":1,"name":"3fm","file":"http://icecast.omroep.nl/3fm-bb-mp3"},
{"track":2,"name":"538","file":"http://18973.live.streamtheworld.com/RADIO538.mp3"},
{"track":3,"name":"Q-Music","file":"http://icecast-qmusic.cdp.triple-it.nl/Qmusic_nl_live_96.mp33"},
{"track":4,"name":"Radio10","file":"http://stream.radio10.nl/radio10"},
{"track":5,"name":"Veronica","file":"http://playerservices.streamtheworld.com/api/livestream-redirect/VERONICA.mp3"},
{"track":6,"name":"Skyradio","file":"http://playerservices.streamtheworld.com/api/livestream-redirect/SKYRADIO.mp3"},
]

var frames = {}
<deleted>

var calendars = {}
<deleted>

var publictransport = {}
publictransport.ovinfotrain = { show_via: true, station: 'station-den-haag-centraal', title:'NS-DH centraal', provider: '9292-train', show_lastupdate:true, icon: 'train', width: 6, results: 8 };
publictransport.ovinfotram = { show_via: false, station: 'rijswijk-zh/tramhalte-aletta-jacobsstraat', title:'HTM',provider: '9292-tram-bus', show_lastupdate:true, icon: '9292-bus', width:6, results: 8 };

var tvguide = {}
tvguide.dutch = { key:'dutch', icon: 'fas fa-tv', width:12, channels: [1,2,3,4,31,36,37,34,466,420], maxitems: 10 }

var buttons = {}
<deleted>

var blocks = {}
//
// TITELBLOKKEN 
//
blocks['0'] = {}
blocks['0']['type'] = 'blocktitle';
blocks['0']['title'] = 'Observatie'; 

blocks['1'] = {}
blocks['1']['type'] = 'blocktitle';
blocks['1']['title'] = 'Scenes'; 

blocks['1a'] = {}
blocks['1a']['type'] = 'blocktitle';
blocks['1a']['title'] = 'Schakelaars';

blocks['1b'] = {}
blocks['1b']['type'] = 'blocktitle';
blocks['1b']['title'] = 'Tuin';

blocks['2a'] = {}
blocks['2a']['type'] = 'blocktitle';
blocks['2a']['title'] = 'Amusement'; 

blocks['2b'] = {}
blocks['2b']['type'] = 'blocktitle';
blocks['2b']['title'] = 'Netwerk'; 

blocks['3'] = {}
blocks['3']['type'] = 'blocktitle';
blocks['3']['title'] = 'Klimaat'; 

blocks['3b'] = {}
blocks['3b']['type'] = 'blocktitle';
blocks['3b']['title'] = 'Security'; 

blocks['4'] = {}
blocks['4']['type'] = 'blocktitle';
blocks['4']['title'] = 'Thuis'; 

blocks['4a'] = {}
blocks['4a']['type'] = 'blocktitle';
blocks['4a']['title'] = 'Tv'; 

blocks['4b'] = {}
blocks['4b']['type'] = 'blocktitle';
blocks['4b']['title'] = 'Pc en tablet'; 
//
// WEER
//
blocks[1163] = {}
blocks[1163]['title'] = 'Vorst alarm 4c';
blocks[1163]['icon'] = 'fas fa-snowflake';
blocks[1163]['hide_data'] = true;
blocks[1163]['speak'] = 'Vorstalarm aangepast';
blocks[1163]['width'] = 3;

blocks[457] = {}
blocks[457]['title'] = 'Temp. tuin';
blocks[457]['hide_data'] = true;
blocks[457]['last_update'] = false;
blocks[457]['switch'] =true;
blocks[457]['width'] = 3;

blocks[948] = {}
blocks[948]['title'] = 'Zuiderpark';
blocks[948]['hide_data'] = true;
blocks[948]['last_update'] = false;
blocks[948]['switch'] =true;
blocks[948]['width'] = 3;

blocks[455] = {}
blocks[455]['title'] = 'Zolder';
blocks[455]['hide_data'] = true;
blocks[455]['last_update'] = false;
blocks[455]['switch'] =true;
blocks[455]['width'] = 3;

blocks[1025] = {}
blocks[1025]['title'] = 'Zolder radiator';
blocks[1025]['hide_data'] = true;
blocks[1025]['switch'] =true;
blocks[1025]['width'] = 3;

blocks[1248] = {}
blocks[1248]['title'] = 'Strijp';
blocks[1248]['hide_data'] = true;
blocks[1248]['switch'] =true;
blocks[1248]['width'] = 3;

blocks[1303] = {}
blocks[1303]['title'] = 'Het regent';
blocks[1303]['hide_data'] = true;
blocks[1303]['icon'] = 'fas fa-cloud-showers-heavy';
blocks[1303]['width'] = 3;
blocks[1303]['speakOn'] = 'Het regent';

blocks[1049] = {}
blocks[1049]['title'] = 'Zolder default heating';
blocks[1049]['hide_data'] = true;
blocks[1049]['icon'] = 'fas fa-fire';
blocks[1049]['width'] = 6;
blocks[1049]['speak'] = 'Zolder verwarming aangepast';

blocks[1285] = {}
blocks[1285]['title'] = 'Weersituatie';
blocks[1285]['icon'] = 'fas fa-bell';
blocks[1285]['hide_data'] = true;
blocks[1285]['width'] = 6;
blocks[1285]['switch'] =true;
//veranderd te vaak
//blocks[1285]['speak'] = 'Weer situatie aangepast';

blocks[1305] = {}
blocks[1305]['title'] = 'Weerverwachting';
blocks[1305]['icon'] = 'fas fa-bell';
blocks[1305]['hide_data'] = true;
blocks[1305]['width'] = 6;
blocks[1305]['switch'] =true;

blocks[1250] = {}
blocks[1250]['title'] = 'Weeralarm';
blocks[1250]['icon'] = 'fas fa-bell';
blocks[1250]['hide_data'] = true;
blocks[1250]['width'] = 6;
blocks[1250]['speak'] = 'Weer alarm aangepast';
blocks[1250]['switch'] =true;
//
// NEWS FEED https://crossorigin.me/ niet meer gebruiken
//
blocks['news_nualg'] = {} 
blocks['news_nualg']['feed'] = 'http://www.nu.nl/rss/algemeen';

blocks['news_nusp'] = {} 
blocks['news_nusp']['feed'] = 'http://www.nu.nl/rss/sport';

blocks['news_twk'] = {}
blocks['news_twk']['feed'] = 'http://feeds.feedburner.com/tweakers/nieuws';
//
//SCENES
//
blocks['s13'] = {}
blocks['s13']['title'] = 'Sfeer verlichting binnen';
blocks['s13']['hide_data'] = true;
blocks['s13']['icon'] = 'fas fa-tasks';
blocks['s13']['width'] = 3;

blocks['s14'] = {}
blocks['s14']['title'] = 'Nacht verlichting';
blocks['s14']['hide_data'] = true;
blocks['s14']['icon'] = 'fas fa-tasks';
blocks['s14']['width'] = 3;

blocks['s15'] = {}
blocks['s15']['title'] = 'Sfeer verlichting buiten';
blocks['s15']['hide_data'] = true;
blocks['s15']['icon'] = 'fas fa-tasks';
blocks['s15']['width'] = 3;

blocks['s16'] = {}
blocks['s16']['title'] = 'Opstaan';
blocks['s16']['hide_data'] = true;
blocks['s16']['icon'] = 'fas fa-tasks';
blocks['s16']['width'] = 3;

blocks['s18'] = {}
blocks['s18']['title'] = 'Beneden weg';
blocks['s18']['hide_data'] = true;
blocks['s18']['icon'] = 'fas fa-tasks';
blocks['s18']['width'] = 3;

blocks['s19'] = {}
blocks['s19']['title'] = 'Aanwezig heid';
blocks['s19']['hide_data'] = true;
blocks['s19']['icon'] = 'fas fa-tasks';
blocks['s19']['width'] = 3;

blocks[985] = {}
blocks[985]['title'] = 'Visite';
blocks[985]['hide_data'] = true;
blocks[985]['icon'] = 'fas fa-users';
blocks[985]['width'] = 3;
blocks[985]['speak'] = 'Visitemodus wordt aangepast';

blocks[1286] = {}
blocks[1286]['title'] = 'Irrigatie timers';
blocks[1286]['hide_data'] = true;
blocks[1286]['icon'] = 'fas fa-users';
blocks[1286]['width'] = 3;
blocks[1286]['speakOn'] = 'Irrigatietimers aan';
blocks[1286]['speakOff'] = 'Irrigatietimers uit';

blocks[969] = {}
blocks[969]['title'] = 'Sproei border links';
blocks[969]['hide_data'] = true;
blocks[969]['icon'] = 'fas fa-shower';
blocks[969]['width'] = 4;
blocks[969]['speakOn'] = 'Irrigatie border links aan';
blocks[969]['speakOff'] = 'Irrigatie border links uit';

blocks[1190] = {}
blocks[1190]['title'] = 'Duur in min';
blocks[1190]['icon'] = '';
blocks[1190]['width'] = 8;

blocks[1189] = {}
blocks[1189]['title'] = 'Sproei gazon';
blocks[1189]['hide_data'] = true
blocks[1189]['speak'] = 'Irrigatie gazon aangepast';
;
blocks[1189]['icon'] = 'fas fa-shower';
blocks[1189]['width'] = 4;

blocks[1191] = {}
blocks[1191]['title'] = 'Duur in min';
blocks[1191]['icon'] = '';
blocks[1191]['width'] = 8;

blocks[973] = {}
blocks[973]['title'] = 'Sproei border rechts';
blocks[973]['hide_data'] = true;
blocks[973]['icon'] = 'fas fa-shower';
blocks[973]['width'] = 4;
blocks[973]['speakOn'] = 'Irrigatie border rechts aan';
blocks[973]['speakOff'] = 'Irrigatie border rechts uit';

blocks[1192] = {}
blocks[1192]['title'] = 'Duur in min';
blocks[1192]['icon'] = '';
blocks[1192]['width'] = 8;

blocks[1267] = {}
blocks[1267]['title'] = 'Sproei planten';
blocks[1267]['hide_data'] = true;
blocks[1267]['icon'] = 'fas fa-shower';
blocks[1267]['width'] = 4;
blocks[1267]['speak'] = 'Irrigatie planten aangepast';

blocks[1268] = {}
blocks[1268]['title'] = 'Duur in min';
blocks[1268]['icon'] = '';
blocks[1268]['width'] = 8;
//
// SCHAKELAARS
//
blocks[1012] = {}
blocks[1012]['title'] = 'Maak een foto';
blocks[1012]['icon'] = 'fas fa-camera';
blocks[1012]['hide_data'] = true;
blocks[1012]['width'] = 6;
blocks[1012]['speakOn'] = 'Er wordt een foto gemaakt';

blocks[86] = {}
blocks[86]['title'] = 'Rolluik';
blocks[86]['hide_data'] = true;
blocks[86]['width'] = 6;
blocks[86]['speak'] = 'Rolluik is gewijzigd';

blocks[1002] = {}
blocks[1002]['title'] = 'Lantaarn';
blocks[1002]['hide_data'] = true;
blocks[1002]['width'] = 3;
blocks[1002]['speakOn'] = 'Lantaarn is aan';
blocks[1002]['speakOff'] = 'Lantaarn is uit';

blocks[991] = {}
blocks[991]['title'] = 'Border';
blocks[991]['hide_data'] = true;
blocks[991]['width'] = 3;

blocks[145] = {}
blocks[145]['title'] = 'Printer';
blocks[145]['icon'] = 'fas fa-print';
blocks[145]['hide_data'] = true;
blocks[145]['width'] = 3;

blocks[262] = {}
blocks[262]['title'] = 'Boiler';
blocks[262]['icon'] = 'fas fa-tint';
blocks[262]['hide_data'] = true;
blocks[262]['width'] = 3;

blocks[260] = {}
blocks[260]['title'] = 'Edge router';
blocks[260]['icon'] = 'fas fa-hdd';
blocks[260]['hide_data'] = true;
blocks[260]['width'] = 3;

blocks[263] = {}
blocks[263]['title'] = 'Accu';
blocks[263]['icon'] = 'fas fa-battery-full';
blocks[263]['hide_data'] = true;
blocks[263]['width'] = 3;
blocks[263]['speakOn'] = 'Accu is aan';
blocks[263]['speakOn'] = 'Accu is uit';

blocks[1005] = {}
blocks[1005]['title'] = 'Wii en Tv';
blocks[1005]['icon'] = 'fas fa-gamepad';
blocks[1005]['hide_data'] = true;
blocks[1005]['width'] = 3;

blocks[1247] = {}
blocks[1247]['title'] = 'Tv huiskamer';
blocks[1247]['icon'] = 'fas fa-power-off';
blocks[1247]['hide_data'] = true;
blocks[1247]['width'] = 3;
blocks[1247]['speak'] = 'Tv Huiskamer is veranderd';
//
// ENTERTAINMENT
//
blocks[354] = {}
blocks[354]['title'] = 'Denon volume';
blocks[354]['icon'] = 'fas fa-music';
blocks[354]['width'] = 6;

blocks[353] = {}
blocks[353]['title'] = 'Denon source';
blocks[353]['icon'] = 'fas fa-music';
blocks[353]['width'] = 6;

blocks[134] = {}
blocks[134]['title'] = 'Denon zenders';
blocks[134]['icon'] = 'fas fa-music';
blocks[134]['width'] = 9;

blocks[139] = {}
blocks[139]['title'] = 'Denon mixer';
blocks[139]['icon'] = 'fas fa-music';
blocks[139]['width'] = 3;

blocks[1271] = {}
blocks[1271]['title'] = 'Chrome huiskamer';
blocks[1271]['icon'] = 'fas fa-music';
blocks[1271]['hide_data'] = true;
blocks[1271]['width'] = 9;

blocks[1273] = {}
blocks[1273]['title'] = 'Titel';
blocks[1273]['icon'] = 'fas fa-music';
blocks[1273]['hide_data'] = true;
blocks[1273]['width'] = 3;

blocks[1275] = {}
blocks[1275]['title'] = 'Chrome sonia';
blocks[1275]['icon'] = 'fas fa-music';
blocks[1275]['hide_data'] = true;
blocks[1275]['width'] = 9;

blocks[1277] = {}
blocks[1277]['title'] = 'Titel';
blocks[1277]['icon'] = 'fas fa-music';
blocks[1277]['hide_data'] = true;
blocks[1277]['width'] = 3;

blocks[277] = {}
blocks[277]['title'] = 'TV Woon kamer';
blocks[277]['icon'] = 'fas fa-tv';
blocks[277]['hide_data'] = true;
blocks[277]['width'] = 3;

blocks[827] = {}
blocks[827]['title'] = 'TV Werk kamer';
blocks[827]['icon'] = 'fas fa-tv';
blocks[827]['hide_data'] = true;
blocks[827]['width'] = 3;

blocks[805] = {}
blocks[805]['title'] = 'TV Niels';
blocks[805]['icon'] = 'fas fa-tv';
blocks[805]['hide_data'] = true;
blocks[805]['width'] = 3;
blocks[805]['speak'] = 'TV niels is veranderd';

blocks[675] = {}
blocks[675]['title'] = 'TV Sonia';
blocks[675]['icon'] = 'fas fa-tv';
blocks[675]['hide_data'] = true;
blocks[675]['width'] = 3;
blocks[675]['speakOn'] = 'TV sonia is aan';
blocks[675]['speakOff'] = 'TV sonia is uit';
//
// NETWORK 
//
blocks[287] = {}
blocks[287]['title'] = 'Zyxel';
blocks[287]['width'] = 4;
blocks[287]['icon'] = 'fas fa-hdd';
blocks[287]['hide_data'] = true;

blocks[286] = {}
blocks[286]['title'] = 'Unify';
blocks[286]['width'] = 4;
blocks[286]['icon'] = 'fas fa-hdd';
blocks[286]['hide_data'] = true;

blocks[289] = {}
blocks[289]['title'] = 'Qnap';
blocks[289]['width'] = 4;
blocks[289]['icon'] = 'fas fa-hdd';
blocks[289]['hide_data'] = true;

blocks[283] = {}
blocks[283]['title'] = 'Edge router';
blocks[283]['width'] = 4;
blocks[283]['icon'] = 'fas fa-hdd';
blocks[283]['hide_data'] = true;

blocks[284] = {}
blocks[284]['title'] = 'Ziggo lan';
blocks[284]['width'] = 4;
blocks[284]['icon'] = 'fas fa-hdd';
blocks[284]['hide_data'] = true;

blocks[1314] = {}
blocks[1314]['title'] = 'Google DNS';
blocks[1314]['width'] = 4;
blocks[1314]['icon'] = 'fas fa-hdd';
blocks[1314]['hide_data'] = true;
blocks[1314]['speakOn'] = 'Internet van binnen naar buiten werkt';
blocks[1314]['speakOff'] = 'Internet van binnen naar buiten werkt niet meer';

//
// SECURITY
//
blocks[274] = {}
blocks[274]['title'] = 'Peter 06';
blocks[274]['icon'] = 'fas fa-phone-volume';
blocks[274]['hide_data'] = true;
blocks[274]['width'] = 3;

blocks[273] = {}
blocks[273]['title'] = 'Monique 06';
blocks[273]['icon'] = 'fas fa-phone-volume';
blocks[273]['hide_data'] = true;
blocks[273]['width'] = 3;

blocks[276] = {}
blocks[276]['title'] = 'Niels 06';
blocks[276]['icon'] = 'fas fa-phone-volume';
blocks[276]['hide_data'] = true;
blocks[276]['width'] = 3;

blocks[275] = {}
blocks[275]['title'] = 'Sonia 06';
blocks[275]['icon'] = 'fas fa-phone-volume';
blocks[275]['hide_data'] = true;
blocks[275]['width'] = 3;
//
// ALARMEN
//
blocks[207] = {}
blocks[207]['title'] = 'Alarm';
blocks[207]['hide_data'] = true;
blocks[207]['icon'] = 'fas fa-exclamation-triangle';
blocks[207]['width'] = 3;

blocks[210] = {}
blocks[210]['title'] = 'Huisdeur';
blocks[210]['icon'] = 'fas fa-door-open';
blocks[210]['hide_data'] = true;
blocks[210]['width'] = 3;

blocks[968] = {}
blocks[968]['title'] = 'Rook hal';
blocks[968]['icon'] = 'fas fa-smoking';
blocks[968]['hide_data'] = true;
blocks[968]['speak'] = 'Er is rook in de hal';
blocks[968]['width'] = 3;

blocks[966] = {}
blocks[966]['title'] = 'Rook trap';
blocks[966]['icon'] = 'fas fa-smoking';
blocks[966]['hide_data'] = true;
blocks[966]['speak'] = 'Er is rook op de trap';
blocks[966]['width'] = 3;

blocks[272] = {}
blocks[272]['title'] = 'Alarm knop';
blocks[272]['icon'] = 'fas fa-exclamation-triangle';
blocks[272]['width'] = 3;

blocks[1180] = {}
blocks[1180]['title'] = 'Bel tuin';
blocks[1180]['icon'] = 'fas fa-bell';
blocks[1180]['hide_data'] = true;
blocks[1180]['width'] = 3;

blocks[1182] = {}
blocks[1182]['title'] = 'Bel voordeur';
blocks[1182]['icon'] = 'fas fa-bell';
blocks[1182]['hide_data'] = true;
blocks[1182]['width'] = 3;

blocks[1149] = {}
blocks[1149]['title'] = 'Was machine';
blocks[1149]['icon'] = 'fas fa-bell';
blocks[1149]['hide_data'] = true;
blocks[1149]['width'] = 3;

blocks[153] = {}
blocks[153]['title'] = 'Bew. Service';
blocks[153]['icon'] = 'fas fa-bell';
blocks[153]['hide_data'] = true;
blocks[153]['width'] = 6;

blocks[15] = {}
blocks[15]['title'] = 'Bew. Alarm';
blocks[15]['icon'] = 'fas fa-bell';
blocks[15]['hide_data'] = true;
blocks[15]['width'] = 6;
//
// pc en tablet
//
blocks[282] = {}
blocks[282]['title'] = 'Peter pc vlan';
blocks[282]['hide_data'] = true;
blocks[282]['icon'] = 'fas fa-desktop';
blocks[282]['width'] = 3;

blocks[281] = {}
blocks[281]['title'] = 'Peter ptb';
blocks[281]['hide_data'] = true;
blocks[281]['icon'] = 'fas fa-laptop';
blocks[281]['width'] = 3;

blocks[678] = {}
blocks[678]['title'] = 'Peter tablet';
blocks[678]['hide_data'] = true;
blocks[678]['icon'] = 'fas fa-tablet-alt';
blocks[678]['width'] = 3;

blocks[291] = {}
blocks[291]['title'] = 'Monique tablet';
blocks[291]['hide_data'] = true;
blocks[291]['icon'] = 'fas fa-tablet-alt';
blocks[291]['width'] = 3;

blocks[786] = {}
blocks[786]['title'] = 'Niels pc ziggo';
blocks[786]['hide_data'] = true;
blocks[786]['icon'] = 'fas fa-desktop';
blocks[786]['speakOn'] = 'Pc niels is aan';
blocks[786]['speakOff'] = 'Pc niels is uit';
blocks[786]['width'] = 3;

blocks[278] = {}
blocks[278]['title'] = 'Niels pc vlan';
blocks[278]['hide_data'] = true;
blocks[278]['icon'] = 'fas fa-desktop';
blocks[278]['speak'] = 'Pc niels is veranderd';
blocks[278]['width'] = 3;

blocks[279] = {}
blocks[279]['title'] = 'Niels ptb';
blocks[279]['hide_data'] = true;
blocks[279]['icon'] = 'fas fa-laptop';
blocks[279]['speakOn'] = 'Portable niels is aan';
blocks[279]['speakOff'] = 'Portable niels is uit';
blocks[279]['width'] = 3;

blocks[676] = {}
blocks[676]['title'] = 'Niels pc vlan wifi';
blocks[676]['hide_data'] = true;
blocks[676]['icon'] = 'fas fa-desktop';
blocks[676]['speakOn'] = 'Pc niels wifi is aan';
blocks[676]['speakOff'] = 'Pc niels wifi is uit';
blocks[676]['width'] = 3;

blocks[280] = {}
blocks[280]['title'] = 'Sonia ptb';
blocks[280]['hide_data'] = true;
blocks[280]['icon'] = 'fas fa-laptop';
blocks[280]['width'] = 3;

blocks[677] = {}
blocks[677]['title'] = 'Sonia tablet';
blocks[677]['hide_data'] = true;
blocks[677]['icon'] = 'fas fa-tablet-alt';
blocks[677]['speakOn'] = 'Tablet sonia is aan';
blocks[677]['speakOff'] = 'Tablet sonia is uit';
blocks[677]['width'] = 3;

blocks[498] = {}
blocks[498]['title'] = 'PS4';
blocks[498]['hide_data'] = true;
blocks[498]['icon'] = 'fas fa-gamepad';
blocks[498]['width'] = 3;
//
// KOLOMMEN
// clock
var columns = {}
columns[1] = {}
columns[1]['blocks'] = [3,buttons.buienradar,1163,457,455,1025,1248,1303]
columns[1]['width'] = 6; 

columns[3] = {}
columns[3]['blocks'] = ['1a',262,145,260,1247,1002,991,1005,263,1012,86,1049,1285,1305,1250]
columns[3]['width'] = 6; 

columns[2] = {}
columns[2]['blocks'] = ['1','s19','s16','s18','s13','s15','s14',985,1286,969,1190,1189,1191,973,1192,1267,1268]
columns[2]['width'] = 6; 

columns[4] = {}
columns[4]['blocks'] = ['2a',354,353,134,139,1271,1273,1275,1277,277,675,805,827,'2b',287,286,289,283,1314,284]
columns[4]['width'] = 6; 

columns[5] = {}
columns[5]['blocks'] = [0,buttons.webcam1,buttons.webcam2,274,282,281,678,273,291,276,786,278,676,279,498,275,677,280,'3b',210,207,272,968,966,1180,1182,1149,153,15]
columns[5]['width'] = 6; 

columns[6] = {}
columns[6]['blocks'] = ['clock','sunrise',calendars.fam,calendars.peter]
columns[6]['width'] = 6; 

columns[7] = {}
columns[7]['blocks'] = [calendars.f1,calendars.ado]
columns[7]['width'] = 6; 

columns[8] = {}
columns[8]['blocks'] = [publictransport.ovinfotrain,publictransport.ovinfotram,tvguide.dutch,'log','chromecast','streamplayer']
columns[8]['width'] = 6; 

//
// SCHERMEN
//
var screens = {}
screens[1] = {}
screens[1]['background'] = 'bg1.jpg';
screens[1]['columns'] = [1,3];

screens[2] = {}
screens[2]['background'] = 'bg1.jpg';
screens[2]['columns'] = [2,4];

screens[3] = {}
screens[3]['background'] = 'bg1.jpg';
screens[3]['columns'] = [5,6];

screens[4] = {}
screens[4]['background'] = 'bg1.jpg';
screens[4]['columns'] = [7];


custom.css

Code: Select all

/* 
  https://fontawesome.com/icons?d=gallery&m=free
  https://htmlcolorcodes.com/

  wat doet :before achter on ?
  waarom moet de lightbulb met fas ervoor?
  wat doet important
  kan // niet ? dan werkt css niet

afwijking per block je mag de icon ook weglaten
.fa-snowflake.on {color: blue;}
.fa-snowflake.off {color: white;}

.block_1163 .on {color: red !important;}
.block_1163 .off {color: red  !important;}

on off weglaten veranderd de kleur van de tekst
important overuled 
laatste instelling qua volgorde is geldig, dus uitzondering later of important maken en de andere niet

  .mh .btn  {font-size: 100% !important;}
*/

div.mh.titlegroups {
	border-radius: 15px;				/* Rounded corners */
}


/* Make the background of the titleblocks less high */
.transbg.titlegroups {
	height: 50px;
    padding: 0px;
}

.fa-snowflake.on {color: blue;}
.fa-snowflake.off {color: white;}

.fa-chromecast.on {color:#F1C300;}
.fa-chromecast.off {color:#fff;}

.fa-cloud-showers-heavy.on {color: blue !important;}
.fa-cloud-showers-heavy.off {color: white !important;}

.fa-lightbulb.on {color:#F1C300;}
.fa-lightbulb.off {color:#fff;}

.fa-shower.on {color: blue !important;}
.fa-shower.off {color: white !important;}

.fa-tv.on {color:#F1C300;}
.fa-tv.off {color:#fff;}


.fa-power-off.on {color: #bfbfbf;}
.fa-power-off.off {color:#F1C300;}

.fa-phone-volume.on {color:#F1C300;}
.fa-phone-volume.off {color:#fff;}

.fa-desktop.on {color:#F1C300;}  
.fa-desktop.off {color:#fff;}

.fa-laptop.on {color:#F1C300;}
.fa-laptop.off {color:#fff;}

.fa-tablet-alt.on {color:#F1C300;} 
.fa-tablet-alt.off {color:#fff;}

.fa-tasks.on {color:#F1C300;} 
.fa-tasks.off {color:#fff;}

.fa-tree.on {color:#F1C300;} 
.fa-tree.off {color:#fff;}

.fa-fire.on {color:#fff;} 
.fa-fire.off {color:#fff;}

.fa-users.on {color: blue !important;} 
.fa-users.off {color: white !important;}

.fa-hdd.on {color:#F1C300;} 
.fa-hdd.off {color:#fff;}

.fa-music.on {color:#F1C300;} 
.fa-music.off {color:#fff;}

.fa-bell.on {color: red !important;} 
.fa-bell.off {color: green !important;}

.fa-battery-full.on {color:#F1C300;}
.fa-battery-full.off {color:#fff;}

.fa-gamepad.on {color:#F1C300;} 
.fa-gamepad.off {color:#fff;}

.fa-camera.on {color:#fff;} 
.fa-camera.off {color:#F1C300;}

.fa-print.on {color:#F1C300;} 
.fa-print.off {color:#fff;}

.fa-tint.on {color:#F1C300;} 
.fa-tint.off {color:#fff;}

.fa-smoking.on {color: red !important;} 
.fa-smoking.off {color: green !important;}

.fa-exclamation-triangle.on {color: red !important;} 
.fa-exclamation-triangle.off {color: green !important;}

.fa-temperature-low.on {color:#F1C300;}
.fa-temperature-low.off {color:#fff;}

.fa-door-open.on {color: green !important;}
.fa-door-open.off {color: red !important;}

/* Selector buttons active*/
.btn.btn-default.active {
background-color: rgba(200,200,200,0.95) !important;
border-color: rgba(200,200,200,0.95) !important;
}

/* Selector buttons in-active*/
.btn.btn-default {
background-color: rgba(250,250,250,0.95) !important;
border-color: rgba(250,250,250,0.95) !important;
}

.swiper-pagination-bullet {width: 0px;height: 0px;}
.swiper-pagination-bullet {width: 35px !important;height: 35px !important;}
.swiper-pagination {text-align: left !important;}


There is indeed a bug in index2.html
It will be fixed in the next beta version.

The corrected file can be downloaded from:
https://raw.githubusercontent.com/Dasht ... ndex2.html
pvklink
Posts: 822
Joined: Wednesday 12 November 2014 15:01
Target OS: Raspberry Pi / ODroid
Domoticz version: latest b
Contact:

Re: Dashticz - Bug report

Post by pvklink »

ok!
thanks, works perfect now!
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
rldn
Posts: 16
Joined: Thursday 16 November 2017 20:02
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Bug report

Post by rldn »

Hi, i have a problem with my dashticz setup. After a while, most of the icons of the dashboard disappears. Since i have the dashticz run on a fullscreen in safari and ipad i have to fully close it. Restart safari and open it again im fullscreen to see the icons again.

Ps. I also get the check the domoticz path error. I ru the latest version...

Image
image upload

Normally it is like this:
Image
image upload
jelleeelco
Posts: 61
Joined: Wednesday 04 January 2017 15:25
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Bug report

Post by jelleeelco »

Hi,

Started to use Dashticz and this is really nice! Takes some time to figure out, but then it's quite logical. I can get all my devices in Dashticz, except Xiaomi.

I have two gateways, GW1 and Gateway Zolder. The only sensors showing up are the motion detectors: doorsensors or temperture sensors do not show up. Do I do something wrong? I wrote a new CONFIG.js file just to test this, and I can't get it to work... I went through the forum and there are more people with this issue, but I couldn't find a resolution.

NEVER MIND - SOLVED - I had the settings to 'only devices from favourites'...
dcc86
Posts: 11
Joined: Wednesday 10 July 2019 21:11
Target OS: -
Domoticz version:
Contact:

Re: Dashticz - Bug report

Post by dcc86 »

Hi All,

I have domoticz running on my synology and this works perfect.
I want to expand with Dashticz but i can't get it worked i tried different version (master, beta and v3) but it doesn't sort my problem.
i followed the following guide to install:

Steps
* Install/activate WebStation via Package Station
* Install/activate PHP via Package Station
* Via Main Menu -> Web station select your preferred HTTP backend server
(assumption: nginx)
* At the same page verify that an PHP version is activated.
* In "Web station" -> "PHP settings" verify that the curl extension is selected.
* Download the latest Dashticz beta branch and copy the complete branch to the web folder.
* Edit custom/CONFIG.js with the basic settings according the installation instructions on the Wiki
Now Dashticz should run on http://[IP of Synology-nas]/dashticz_v2


Well dashticz does run but i can't get connected with domoticz, the ip adress is absolutely right get the following information when debugged:

Synchrone XMLHttpRequest op de hoofdthread wordt niet meer ondersteund vanwege de nadelige effecten op de eindgebruikerservaring. Zie http://xhr.spec.whatwg.org/ voor meer informatie jquery.min.js:4:15143
Cross-Origin-aanvraag geblokkeerd: de Same Origin Policy staat het lezen van de externe bron op http://192.168.178.12:8084/json.htm?typ ... order=Name niet toe. (Reden: ontbrekend token ‘content-type’ in CORS-header ‘Access-Control-Allow-Headers’ van CORS-preflight-kanaal).

Cross-Origin-aanvraag geblokkeerd: de Same Origin Policy staat het lezen van de externe bron op http://192.168.178.12:8084/json.htm?typ ... order=Name niet toe. (Reden: CORS-aanvraag is niet gelukt).

Domoticz error!
Please, double check the path to Domoticz in Settings!


when i open http://192.168.178.12:8084/json.htm?typ ... order=Name in the browser i get all the information from domoticz right....

Can please someone help me with this?

Many thanks in advance,
dvwerkhoven
Posts: 3
Joined: Thursday 20 December 2018 22:57
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Bug report

Post by dvwerkhoven »

The up/down and STOP button for use my sunscreen (somfy) doesn't work anymore.
When i use the original domoticz webinterface it works fine, but when i use them in the dashticz interface it doesn't

Can someone tell me where the fault is ?
Lokonli
Posts: 2260
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Bug report

Post by Lokonli »

dcc86 wrote: Wednesday 10 July 2019 21:28 Hi All,

I have domoticz running on my synology and this works perfect.
I want to expand with Dashticz but i can't get it worked i tried different version (master, beta and v3) but it doesn't sort my problem.
i followed the following guide to install:

Steps
* Install/activate WebStation via Package Station
* Install/activate PHP via Package Station
* Via Main Menu -> Web station select your preferred HTTP backend server
(assumption: nginx)
* At the same page verify that an PHP version is activated.
* In "Web station" -> "PHP settings" verify that the curl extension is selected.
* Download the latest Dashticz beta branch and copy the complete branch to the web folder.
* Edit custom/CONFIG.js with the basic settings according the installation instructions on the Wiki
Now Dashticz should run on http://[IP of Synology-nas]/dashticz_v2


Well dashticz does run but i can't get connected with domoticz, the ip adress is absolutely right get the following information when debugged:

Synchrone XMLHttpRequest op de hoofdthread wordt niet meer ondersteund vanwege de nadelige effecten op de eindgebruikerservaring. Zie http://xhr.spec.whatwg.org/ voor meer informatie jquery.min.js:4:15143
Cross-Origin-aanvraag geblokkeerd: de Same Origin Policy staat het lezen van de externe bron op http://192.168.178.12:8084/json.htm?typ ... order=Name niet toe. (Reden: ontbrekend token ‘content-type’ in CORS-header ‘Access-Control-Allow-Headers’ van CORS-preflight-kanaal).

Cross-Origin-aanvraag geblokkeerd: de Same Origin Policy staat het lezen van de externe bron op http://192.168.178.12:8084/json.htm?typ ... order=Name niet toe. (Reden: CORS-aanvraag is niet gelukt).

Domoticz error!
Please, double check the path to Domoticz in Settings!


when i open http://192.168.178.12:8084/json.htm?typ ... order=Name in the browser i get all the information from domoticz right....

Can please someone help me with this?

Many thanks in advance,
Which domoticz version do you use?
dcc86
Posts: 11
Joined: Wednesday 10 July 2019 21:11
Target OS: -
Domoticz version:
Contact:

Re: Dashticz - Bug report

Post by dcc86 »

Lokonli wrote:
dcc86 wrote: Wednesday 10 July 2019 21:28 Hi All,

I have domoticz running on my synology and this works perfect.
I want to expand with Dashticz but i can't get it worked i tried different version (master, beta and v3) but it doesn't sort my problem.
i followed the following guide to install:

Steps
* Install/activate WebStation via Package Station
* Install/activate PHP via Package Station
* Via Main Menu -> Web station select your preferred HTTP backend server
(assumption: nginx)
* At the same page verify that an PHP version is activated.
* In "Web station" -> "PHP settings" verify that the curl extension is selected.
* Download the latest Dashticz beta branch and copy the complete branch to the web folder.
* Edit custom/CONFIG.js with the basic settings according the installation instructions on the Wiki
Now Dashticz should run on http://[IP of Synology-nas]/dashticz_v2


Well dashticz does run but i can't get connected with domoticz, the ip adress is absolutely right get the following information when debugged:

Synchrone XMLHttpRequest op de hoofdthread wordt niet meer ondersteund vanwege de nadelige effecten op de eindgebruikerservaring. Zie http://xhr.spec.whatwg.org/ voor meer informatie jquery.min.js:4:15143
Cross-Origin-aanvraag geblokkeerd: de Same Origin Policy staat het lezen van de externe bron op http://192.168.178.12:8084/json.htm?typ ... order=Name niet toe. (Reden: ontbrekend token ‘content-type’ in CORS-header ‘Access-Control-Allow-Headers’ van CORS-preflight-kanaal).

Cross-Origin-aanvraag geblokkeerd: de Same Origin Policy staat het lezen van de externe bron op http://192.168.178.12:8084/json.htm?typ ... order=Name niet toe. (Reden: CORS-aanvraag is niet gelukt).

Domoticz error!
Please, double check the path to Domoticz in Settings!


when i open http://192.168.178.12:8084/json.htm?typ ... order=Name in the browser i get all the information from domoticz right....

Can please someone help me with this?

Many thanks in advance,
Which domoticz version do you use?
Hi Lokonli. I got version 3.6500.
Do you think thats causing the problem?

Many thanks in advance for your help.

Verstuurd vanaf mijn SM-G960F met Tapatalk

Lokonli
Posts: 2260
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Bug report

Post by Lokonli »

dcc86 wrote: Thursday 18 July 2019 16:50
Lokonli wrote:
dcc86 wrote: Wednesday 10 July 2019 21:28 Hi All,

I have domoticz running on my synology and this works perfect.
I want to expand with Dashticz but i can't get it worked i tried different version (master, beta and v3) but it doesn't sort my problem.
i followed the following guide to install:

Steps
* Install/activate WebStation via Package Station
* Install/activate PHP via Package Station
* Via Main Menu -> Web station select your preferred HTTP backend server
(assumption: nginx)
* At the same page verify that an PHP version is activated.
* In "Web station" -> "PHP settings" verify that the curl extension is selected.
* Download the latest Dashticz beta branch and copy the complete branch to the web folder.
* Edit custom/CONFIG.js with the basic settings according the installation instructions on the Wiki
Now Dashticz should run on http://[IP of Synology-nas]/dashticz_v2


Well dashticz does run but i can't get connected with domoticz, the ip adress is absolutely right get the following information when debugged:

Synchrone XMLHttpRequest op de hoofdthread wordt niet meer ondersteund vanwege de nadelige effecten op de eindgebruikerservaring. Zie http://xhr.spec.whatwg.org/ voor meer informatie jquery.min.js:4:15143
Cross-Origin-aanvraag geblokkeerd: de Same Origin Policy staat het lezen van de externe bron op http://192.168.178.12:8084/json.htm?typ ... order=Name niet toe. (Reden: ontbrekend token ‘content-type’ in CORS-header ‘Access-Control-Allow-Headers’ van CORS-preflight-kanaal).

Cross-Origin-aanvraag geblokkeerd: de Same Origin Policy staat het lezen van de externe bron op http://192.168.178.12:8084/json.htm?typ ... order=Name niet toe. (Reden: CORS-aanvraag is niet gelukt).

Domoticz error!
Please, double check the path to Domoticz in Settings!


when i open http://192.168.178.12:8084/json.htm?typ ... order=Name in the browser i get all the information from domoticz right....

Can please someone help me with this?

Many thanks in advance,
Which domoticz version do you use?
Hi Lokonli. I got version 3.6500.
Do you think thats causing the problem?

Many thanks in advance for your help.

Verstuurd vanaf mijn SM-G960F met Tapatalk
yes, could be.
3.65 is pretty old, and I know some time ago Domoticz changed something with the CORS headers.

I would recommend to update to the latest stable Domoticz version. (make a Domoticz backup first ...)
dcc86
Posts: 11
Joined: Wednesday 10 July 2019 21:11
Target OS: -
Domoticz version:
Contact:

Re: Dashticz - Bug report

Post by dcc86 »

Lokonli wrote:
dcc86 wrote: Thursday 18 July 2019 16:50
Lokonli wrote: Which domoticz version do you use?
Hi Lokonli. I got version 3.6500.
Do you think thats causing the problem?

Many thanks in advance for your help.

Verstuurd vanaf mijn SM-G960F met Tapatalk
yes, could be.
3.65 is pretty old, and I know some time ago Domoticz changed something with the CORS headers.

I would recommend to update to the latest stable Domoticz version. (make a Domoticz backup first ...)
Oh i thought got the newest versionImage i give it a try. Thanks

Verstuurd vanaf mijn SM-G960F met Tapatalk

Locked

Who is online

Users browsing this forum: No registered users and 1 guest