Page 19 of 28

Re: Dashticz - Bug report

Posted: Friday 09 February 2018 13:24
by Moosjes
aiolos wrote: Wednesday 10 January 2018 18:50
Moosjes wrote: Wednesday 10 January 2018 16:11 I do have a few 'rolluiken' with a fibaro shutter unit. These blinds have a percentage bar in domoticz but in dashticz they show with an up/down/stop button. This does not seem to work (the stop does not stop it). Is there a way to give it a percentage bar in dashticz? Like dimmer lighting?
Thanks for your message. Can you tell me what the relevant part of http://{domoticzIP}:8080/json.htm?type=devices for the blinds looks like? There should be a percentage bar if the blinds have that option.

I also see that the stop action does not work, but in Domoticz itself the stop button also does not work (and only shows up for 'Venetian blinds')
I am sorry, it has been a while. With the beta I see the percentage bars now. However the up/down/stop button are also available but do not work. Down works. Up does not work. And stop does what up should do.
This is the content of json.html?type=devices:

Code: Select all

{
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CustomImage" : 0,
         "Data" : "Set Level: 30 %",
         "Description" : "",
         "Favorite" : 0,
         "HardwareID" : 2,
         "HardwareName" : "ZWave",
         "HardwareType" : "OpenZWave USB",
         "HardwareTypeVal" : 21,
         "HaveDimmer" : true,
         "HaveGroupCmd" : true,
         "HaveTimeout" : false,
         "ID" : "00000401",
         "Image" : "Light",
         "IsSubDevice" : false,
         "LastUpdate" : "2018-02-09 10:00:02",
         "Level" : 30,
         "LevelInt" : 30,
         "MaxDimLevel" : 100,
         "Name" : "Rolluik slaapkamer",
         "Notifications" : "false",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "Status" : "Set Level: 30 %",
         "StrParam1" : "",
         "StrParam2" : "",
         "SubType" : "Switch",
         "SwitchType" : "Blinds Percentage",
         "SwitchTypeVal" : 13,
         "Timers" : "false",
         "Type" : "Light/Switch",
         "TypeImg" : "blinds",
         "Unit" : 1,
         "Used" : 1,
         "UsedByCamera" : false,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "2"
      },

Re: Dashticz - Bug report

Posted: Saturday 10 February 2018 9:44
by htilburgs
Strange thing. I have Fibaro FGR222 Roller Shutter combined with Dashticz working fine.
Arrow up: Blinds go open
Arrow down: Blinds close
Percentage slider: Blinds go to %

Domoticz Hardware Setting for the Roller Shutter:

Code: Select all

10. Roller Shutter operating modes: 1. Roller Blink Mode, with positioning
Config.js settings for the Roller Shutter:

Code: Select all

blocks[217] = {} //Rolluik slaapkamer
blocks[217]['width'] = 12;
blocks[217]['hide_stop'] = true;
Output from: json.htm?type=devices&filter=all&used=true&order=Name

Code: Select all

      {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CustomImage" : 0,
         "Data" : "Set Level: 40 %",
         "Description" : "",
         "Favorite" : 1,
         "HardwareID" : 2,
         "HardwareName" : "Aeon Labs Z-Stick GEN5",
         "HardwareType" : "OpenZWave USB",
         "HardwareTypeVal" : 21,
         "HaveDimmer" : true,
         "HaveGroupCmd" : true,
         "HaveTimeout" : false,
         "ID" : "00000201",
         "Image" : "Light",
         "IsSubDevice" : true,
         "LastUpdate" : "2018-02-10 09:24:36",
         "Level" : 40,
         "LevelInt" : 40,
         "MaxDimLevel" : 100,
         "Name" : "Rolluik Woonkamer",
         "Notifications" : "false",
         "PlanID" : "6",
         "PlanIDs" : [ 6 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "Status" : "Set Level: 40 %",
         "StrParam1" : "",
         "StrParam2" : "",
         "SubType" : "Switch",
         "SwitchType" : "Blinds Percentage",
         "SwitchTypeVal" : 13,
         "Timers" : "false",
         "Type" : "Light/Switch",
         "TypeImg" : "blinds",
         "Unit" : 1,
         "Used" : 1,
         "UsedByCamera" : false,
         "XOffset" : "742",
         "YOffset" : "280",
         "idx" : "6"
      },
Schermafbeelding 2018-02-10 om 09.41.19.png
Schermafbeelding 2018-02-10 om 09.41.19.png (26.78 KiB) Viewed 4496 times

Re: Dashticz - Bug report

Posted: Saturday 10 February 2018 21:05
by HarryHase
nope

Re: Dashticz - Bug report

Posted: Friday 16 February 2018 14:06
by yfands
Hello,

It has been awhile since I used Dashticz, to be precise November 2017. I used the November beta version. The garbage collect widget was working fine.
Now February 2018, The November beta version of the garbage widget is not working anymore. No data is displayed.
The latest beta version, Latest commit 1bd9e4a (feb 8th) is also not working and responds with "no data available".
I use mijnafvalwijzer, you can use 9573PD 74 as test postal code and housenumber.

On first glance I would say that the mijnafvalwijzer website has changed,
because the November version was working and doesn't anymore.
But Domoticz with a Lua script is still working and retrieves the right data.

O, and is doesn't matter with or without corrs.

Anyone the same issue or solution?

Regards
Frank

Re: Dashticz - Bug report

Posted: Friday 16 February 2018 16:28
by htilburgs
See remark from @RobGeerts earlier this day in the Garbage Collector Forum item:
http://www.domoticz.com/forum/viewtopic ... 85#p171385

Re: Dashticz - Bug report

Posted: Saturday 17 February 2018 18:05
by Justin2501
Hi there,

First of all, i really love Dashticz.
I do have some issues.

1: Nest Thermostat and Spotify blocks cannot be used on the same page.

Everytime i add Spotify, all my Nest buttons/info are dissapearing.
Removing the Spotify block, and refreshing the page, fixes this.

2: Nest Thermostat blocks are not showing on Tablet

For some reason, my Nest Thermostat blocks are not showing up when i login on my Tablet.
Tested it on my mobile phone, which does show these blocks

3: Buienradar and Nu.nl "buttons" not working

I've added the buttons, and set them. The only thing i see are two transparent "spaces" which are not showing anything.
Inspecting the info shows me this (not sure if related to this issue)

Code: Select all

DevTools failed to parse SourceMap: http://192.168.0.5/dashboard/vendor/head.core.min.js.map
DevTools failed to parse SourceMap: http://192.168.0.5/dashboard/ical.min.js.map
DevTools failed to parse SourceMap: http://192.168.0.5/dashboard/maps/swiper.min.js.map
DevTools failed to parse SourceMap: http://192.168.0.5/dashboard/vendor/head.core.min.js.map
jquery.min.js:4 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
DevTools failed to parse SourceMap: http://192.168.0.5/dashboard/ical.min.js.map
DevTools failed to parse SourceMap: http://192.168.0.5/dashboard/maps/swiper.min.js.map
Uncaught (in promise) DOMException: The play() request was interrupted by a call to pause(). https://goo.gl/LdLk22
Checking the folders which are stated, do not contain any of the requested files above.

Any idea if these can be fixed?

My CONFIG.js
Spoiler: show

Code: Select all


var config = {}
config['domoticz_ip'] = 'http://192.168.0.5:8080';
config['user_name'] = 'xxx';
config['pass_word'] = 'xxx';
config['app_title'] = 'Dashticz';
config['room_plan'] = '0';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '20';
config['default_news_url'] = 'http://www.nu.nl/rss/algemeen';
config['news_scroll_after'] = '7';
config['theme'] = 'default';
config['background_image'] = 'img/bg12.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'] = 'en_US';
config['timeformat'] = 'DD-MM-YY HH:mm';
config['calendarformat'] = 'dd DD.MM HH:mm';
config['calendarlanguage'] = 'en_US';
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'] = '';
config['wu_city'] = 'Amsterdam';
config['wu_name'] = '';
config['wu_country'] = 'NL';
config['idx_moonpicture'] = '';
config['switch_horizon'] = '';
config['host_nzbget'] = '';
config['spot_clientid'] = 'xxx';
config['sonarr_url'] = '';
config['sonarr_apikey'] = '';
config['sonarr_maxitems'] = '';
config['garbage_company'] = 'hvc';
config['garbage_icalurl'] = '';
config['google_api_key'] = '';
config['garbage_calendar_id'] = '';
config['garbage_zipcode'] = 'xxx';
config['garbage_street'] = 'xxx';
config['garbage_housenumber'] = 'xxx';
config['garbage_housenumberadd'] = '';
config['garbage_maxitems'] = '2';
config['garbage_width'] = '12';
config['loginEnabled'] = 0;
config['no_rgb'] = '0';
config['auto_positioning'] = 0;
config['use_favorites'] = 1;
config['disable_googleanalytics'] = '1';
config['last_update'] = 0;
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'] = 1;
config['garbage_use_names'] = 1;
config['garbage_use_cors_prefix'] = 1;










// Garbage Extra
config['garbage'] = {
    gft: {kliko: 'green', code: '#FFFFFF', name: 'Groene bak', icon: 'img/garbage/kliko_green.png'},
    pmd: {kliko: 'orange', code: '#FFFFFF', name: 'Plastic', icon: 'img/garbage/kliko_orange.png'},
    rest: {kliko: 'grey', code: '#FFFFFF', name: 'Grijze bak', icon: 'img/garbage/kliko_grey.png'},
    papier: {kliko: 'blue', code: '#FFFFFF', name: 'Blauwe bak', icon: 'img/garbage/kliko_blue.png'},
    kca: {kliko: 'red', code: '#FFFFFF', name: 'Chemisch afval', icon: 'img/garbage/kliko_red.png'},
    brown: {kliko: 'brown', code: '#FFFFFF', name: 'Bruin', icon: 'img/garbage/kliko_brown.png'},
    black: {kliko: 'black', code: '#FFFFFF', name: 'Zwart', icon: 'img/garbage/kliko_black.png'},
    milieu: {kliko: 'yellow', code: '#FFFFFF', name: 'Geel', icon: 'img/garbage/kliko_yellow.png'},
    kerstboom: {kliko: 'green', code: '#FFFFFF', name: 'Kerstboom', icon: 'img/garbage/tree.png'},
};

// Online Radio

var _STREAMPLAYER_TRACKS     = [
   {"track":1,"name":"Slam! Live","file":"https://stream.slam.nl/slam_mp3"},
   {"track":2,"name":"Slam! NonStop","file":"http://stream.radiocorp.nl/web10_mp3"},
   {"track":3,"name":"Slam! Mix Marathon","file":"https://stream.slam.nl/web13_mp3"},
   {"track":3,"name":"Sublime FM","file":"http://stream.sublimefm.nl/SublimeFM_mp3"},
   {"track":5,"name":"538 Hitzone","file":"http://vip-icecast.538.lw.triple-it.nl/WEB11_MP3"},
   {"track":6,"name":"Q-music","file":"http://icecast-qmusic.cdp.triple-it.nl/Qmusic_nl_live_96.mp3"},
];

///////////////////////
// Blocks - Pagina 1 //
///////////////////////
var blocks = {}

// Nest Thermostaat
blocks['blocktitle_100'] = {}
blocks['blocktitle_100']['type'] = 'blocktitle';
blocks['blocktitle_100']['width'] = 12;
blocks['blocktitle_100']['title'] = 'Nest Thermostaat';

// Kliko
blocks['blocktitle_101'] = {}
blocks['blocktitle_101']['type'] = 'blocktitle';
blocks['blocktitle_101']['width'] = 12;
blocks['blocktitle_101']['title'] = 'Afvalkalender';

// Spotify
blocks['blocktitle_102'] = {}
blocks['blocktitle_102']['type'] = 'blocktitle';
blocks['blocktitle_102']['width'] = 12;
blocks['blocktitle_102']['title'] = 'Spotify';

// Nest Thermostaat
blocks['blocktitle_103'] = {}
blocks['blocktitle_103']['type'] = 'blocktitle';
blocks['blocktitle_103']['width'] = 12;
blocks['blocktitle_103']['title'] = 'Online Radio';

blocks[17] = {}

blocks[18] = {}

blocks[19] = {}

blocks[19] = {}

blocks[20] = {}

blocks[1235] = {}

// Deuren
blocks['blocktitle_105'] = {}
blocks['blocktitle_105']['type'] = 'blocktitle';
blocks['blocktitle_105']['width'] = 12;
blocks['blocktitle_105']['title'] = 'Deuren';

// Deuren - Voordeur
blocks[21] = {}

// Deuren - Achterdeur
blocks[1] = {}

///////////////////////
// Blocks - Pagina 2 //
///////////////////////

// Stroom - Grafiek
blocks['blocktitle_1'] = {}
blocks['blocktitle_1']['type'] = 'blocktitle';
blocks['blocktitle_1']['width'] = 12;
blocks['blocktitle_1']['title'] = 'Grafiek - Stroom';

// Gas - Grafiek
blocks['blocktitle_2'] = {}
blocks['blocktitle_2']['type'] = 'blocktitle';
blocks['blocktitle_2']['width'] = 12;
blocks['blocktitle_2']['title'] = 'Grafiek - Gas';

// Overig
blocks['blocktitle_3'] = {}
blocks['blocktitle_3']['type'] = 'blocktitle';
blocks['blocktitle_3']['width'] = 12;
blocks['blocktitle_3']['title'] = 'Stroom';

// Overig
blocks['blocktitle_4'] = {}
blocks['blocktitle_4']['type'] = 'blocktitle';
blocks['blocktitle_4']['width'] = 12;
blocks['blocktitle_4']['title'] = 'Gas';

blocks[1233] = {}
blocks[1233]['width'] = 4;

blocks[1234] = {}
blocks[1234]['width'] = 4;

////////////////////////
// Columns - Pagina 1 //
////////////////////////

var columns = {}

// Nest Thermostaat + Deuren
columns[100] = {}
columns[100]['width'] = 6;
columns[100]['blocks'] = ['blocktitle_100',17,18,19,20,1235,'blocktitle_105',21,1];

// Garbage
columns[101] = {}
columns[101]['width'] = 3;
columns[101]['blocks'] = ['blocktitle_101','garbage'];

// Muziek
columns[102] = {}
columns[102]['width'] = 3;
columns[102]['blocks'] = ['blocktitle_103','buttons.nunl','buttons.buienradar','streamplayer'];

////////////////////////
// Columns - Pagina 2 //
////////////////////////

// Stroom Verbruik
columns[200] = {}
columns[200]['width'] = 3;
columns[200]['blocks'] = ['blocktitle_1','graph_1233'];

// Stroom
columns[201] = {}
columns[201]['width'] = 6;
columns[201]['blocks'] = ['blocktitle_3',1233,'blocktitle_4',1234];

// Gas Verbruik
columns[202] = {}
columns[202]['width'] = 3;
columns[202]['blocks'] = ['blocktitle_2','graph_1234'];

/////////////////////////
//       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: 'http://www.weer.nl/verwachting/nederland/son/189656/'};
buttons.nunl = {width:12, icon: 'fa-newspaper-o', title: 'Nu.nl', url: 'http://www.nu.nl'}


/////////////////////////
//       Screens       //
/////////////////////////

var screens = {}

screens[1] = {}
screens[1]['columns'] = [101,100,102];

screens[2] = {}
screens[2]['columns'] = [200,201,202];
Kind regards,
Justin

Re: Dashticz - Bug report

Posted: Monday 19 February 2018 10:04
by yfands
htilburgs wrote: Friday 16 February 2018 16:28 See remark from @RobGeerts earlier this day in the Garbage Collector Forum item:
http://www.domoticz.com/forum/viewtopic ... 85#p171385
Something did change at the developers end but won't help us, click the link for the answer from the ADDCOM GROUP.

http://www.domoticz.com/forum/viewtopic ... &start=460

Re: Dashticz - Bug report

Posted: Tuesday 20 February 2018 13:43
by DewGew
Justin2501 wrote: Saturday 17 February 2018 18:05 Hi there,

First of all, i really love Dashticz.
I do have some issues.

1: Nest Thermostat and Spotify blocks cannot be used on the same page.

Everytime i add Spotify, all my Nest buttons/info are dissapearing.
Removing the Spotify block, and refreshing the page, fixes this.

2: Nest Thermostat blocks are not showing on Tablet

For some reason, my Nest Thermostat blocks are not showing up when i login on my Tablet.
Tested it on my mobile phone, which does show these blocks

3: Buienradar and Nu.nl "buttons" not working

I've added the buttons, and set them. The only thing i see are two transparent "spaces" which are not showing anything.
Inspecting the info shows me this (not sure if related to this issue)

Code: Select all

DevTools failed to parse SourceMap: http://192.168.0.5/dashboard/vendor/head.core.min.js.map
DevTools failed to parse SourceMap: http://192.168.0.5/dashboard/ical.min.js.map
DevTools failed to parse SourceMap: http://192.168.0.5/dashboard/maps/swiper.min.js.map
DevTools failed to parse SourceMap: http://192.168.0.5/dashboard/vendor/head.core.min.js.map
jquery.min.js:4 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
DevTools failed to parse SourceMap: http://192.168.0.5/dashboard/ical.min.js.map
DevTools failed to parse SourceMap: http://192.168.0.5/dashboard/maps/swiper.min.js.map
Uncaught (in promise) DOMException: The play() request was interrupted by a call to pause(). https://goo.gl/LdLk22
Checking the folders which are stated, do not contain any of the requested files above.

Any idea if these can be fixed?


Kind regards,
Justin
I think there is still some issus with spotify. I dont use it.
For your buttons you dont need the ' in the blocks change to this:

Code: Select all

columns[102]['blocks'] = ['blocktitle_103', buttons.nunl, buttons.buienradar, 'streamplayer'];

Re: Dashticz - Bug report

Posted: Tuesday 20 February 2018 15:33
by Justin2501
DewGew wrote: Tuesday 20 February 2018 13:43
I think there is still some issus with spotify. I dont use it.
For your buttons you dont need the ' in the blocks change to this:

Code: Select all

columns[102]['blocks'] = ['blocktitle_103', buttons.nunl, buttons.buienradar, 'streamplayer'];
Will skip Spotify for now then ;)

Sorry, forgot to mention.
I also tried without the ' like in your example.

Will make a screenshot once i'm home, to show you what is happening.

Re: Dashticz - Bug report

Posted: Tuesday 06 March 2018 15:20
by gielie
I have a bug in my thermostat setpoint. Once i set
blocks[288]['switch'] = true the text/number is switched but then when i push the +/- i can't adjust the temp and the upper value, the text is this case, changes to 0
Image
Image

So the lower is the normal situation whiteout switch and this works fine, the upper is with switch code and instead of the temp the text gets changed.
This worked fine a while ago i don't know when this changed

Re: Missing value at Energy Sensor

Posted: Friday 23 March 2018 19:39
by jake
I added 2 counters - incremental to the dashboard. The counters are both defined in Domoticz as 'Gas', displayed in 'm3'.

In Dashticz I can't split the block in a counter / counter today, but that is OK. It now displays todays value only, just what I needed.
What doesn't work is the 'units', today I consumed 0.07 'undefined', while it should be 0.07m3' (this is the first day of measuring with this device, therefore here below you'll see counter and counter today showing the same number)

This is the JSON output for this virtual device(part of it):

Code: Select all

"result" : [ { "AddjMulti" : 1.0, "AddjMulti2" : 1.0, "AddjValue" : 0.0, "AddjValue2" : 0.0, "BatteryLevel" : 255, "Counter" : "0.07m3", "CounterToday" : "0.07 m3", "CustomImage" : 0, "Data" : "0.07m3", "Description" : "", "Favorite" : 0, "HardwareID" : 3, "HardwareName" : "Virtual Devices", "HardwareType" : "Dummy (Does nothing, use for virtual switches only)", "HardwareTypeVal" : 15, "HaveTimeout" : false, "ID" : "82303", "LastUpdate" : "2018-03-23 00:06:59", "Name" : "DHW gas", "Notifications" : "false", "PlanID" : "2", "PlanIDs" : [ 2 ], "Protected" : false, "ShowNotifications" : true, "SignalLevel" : "-", "SubType" : "Counter Incremental", "SwitchTypeVal" : 1, "Timers" : "false", "Type" : "General", "TypeImg" : "counter", "Unit" : 1, "Used" : 1, "ValueQuantity" : "", "ValueUnits" : "", "XOffset" : "0", "YOffset" : "0", "idx" : "303"
Please check out how for this type of device, the units are displayed properly (it can be set in Domoticz as 'Energy', 'Gas', 'Water', 'Time'

Re: Dashticz - Bug report

Posted: Wednesday 28 March 2018 6:16
by Aussi
Hi guys, recently installed the new beta version. Where it seems that my switches and graphs do not work anymore.

If I install the stable version again everything seems to be working OK again.

Any one else had this with the latest beta?

Re: Dashticz - Bug report

Posted: Thursday 29 March 2018 18:28
by matzeb74
Hello,
I just installed Dashticz and i see all my stuff from domoticz. Now if i go to edit mode and do some changes, i see the red save button on the bottom right, but it does not save my changes.

How can i save the changes without editing the whole CONFIG.js?

Re: Dashticz - Bug report

Posted: Friday 30 March 2018 9:55
by JuanUil
Hi Folks,

I am trying to get this wonderful dashboard to work.
Followed the wiki to install, altered ip and port but I get no Favourite switches.
it keeps on saying Loading.
What do I do wrong?

Image


my config:

Code: Select all

var config = {}
config['language'] = 'nl_NL';
config['domoticz_ip'] = 'http://xx.xxx.xx:8080';
config['app_title'] = 'Dashticz';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['user_name'] = 'xxxxx';
config['pass_word'] = 'xxxxxxx';
config['loginEnabled'] = 1;



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

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

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

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


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


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


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

columns[2] = {}
columns[2]['blocks'] = ['blocktitle_1',tvguide.dutch,publictransport.ovinfobus]
columns[2]['width'] = 5; 

columns[3] = {}
columns[3]['blocks'] = ['sunrise','streamplayer',buttons.nunl,buttons.nos]
columns[3]['width'] = 2; 

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

var screens = {}
screens[1] = {}
screens[1]['background'] = 'bg2.jpg';
screens[1]['columns'] = [1,2,3]
any help is highly appreciated

Re: Dashticz - Bug report

Posted: Friday 30 March 2018 11:01
by EdwinK
Since doing last eta update (yesterday), I just keep getting time outs. Don't see anything strange to the config.js file

Re: Dashticz - Bug report

Posted: Friday 30 March 2018 11:18
by aiolos
What kind of time-outs? Any information in the browser dev-console?

Re: Dashticz - Bug report

Posted: Friday 30 March 2018 11:21
by EdwinK
Just the error about jquery.min.js:4

Code: Select all

[Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
send @ jquery.min.js:40

Re: Dashticz - Bug report

Posted: Friday 30 March 2018 11:49
by aiolos
Yeah, that one is not related.
Please try to disable blocks and see if the problem disappears, it could be caused be some external service that's not available

Re: Dashticz - Bug report

Posted: Friday 30 March 2018 13:38
by EdwinK
Still trying to work out things. My suspicion is towards the garbage part.

Re: Dashticz - Bug report

Posted: Friday 30 March 2018 21:32
by EdwinK
It was indeed something in the garbage part. By disabling this part:

Code: Select all

/*config['garbage_hideicon'] = '0';
config['garbage_icon_use_colors'] = 0;
config['garbage_use_colors'] = 0;
config['garbage_use_names'] = 0;
config['garbage_use_cors_prefix'] = '0';
and also this part:

Code: Select all

/*//Afval
    gft: 	{kliko: 'green', 	code: '#375b23', name: 'GFT'},
//  pmd: 	{kliko: 'orange', 	code: '#db5518', name: 'PMD'},
    rest: 	{kliko: 'grey', 	code: '#5e5d5c', name: 'Restafval'},
    papier: {kliko: 'blue', 	code: '#153477', name: 'Papier'},
//  kca: 	{kliko: 'red', 		code: '#b21807', name: 'Chemisch afval'},
    brown: 	{kliko: 'brown', 	code: '#7c3607', name: 'Grof Vuil'},
//  black: 	{kliko: 'black', 	code: '#000000', name: 'Zwart'},
};

*/
Dashticz is working again.