Dashticz - General Discussions

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

PieterS
Posts: 195
Joined: Wednesday 31 May 2017 16:06
Target OS: NAS (Synology & others)
Domoticz version: 2024.7
Location: NL
Contact:

Screensaver

Post by PieterS »

Try to configure a screensaver in Dashticz on my tablet at the wall.
syntax in the wiki:

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

This syntax gives results! After a while there is a screensaver. I don't understand the other syntax in my config.js:

config['standby_after'] = 3;
config['auto_swipe_back_to'] = 1;
config['auto_swipe_back_after'] = '15';
config['auto_slide_pages'] = 0;

Can you explain these commands to me? Thnx in advance.
Synology with Domoticz build (V2024.7) in Docker
lukbe
Posts: 16
Joined: Saturday 06 May 2017 22:46
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Contact:

Re: Dashticz - General Discussions

Post by lukbe »

Hello, is possible change a position in the buienradar to Czech Republic?

Odesláno z mého MI 4W pomocí Tapatalk


User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz - General Discussions

Post by EdwinK »

I don't think so. Buienradar is aimed at the Netherlands.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
User avatar
Phantom
Posts: 87
Joined: Saturday 31 December 2016 14:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.11652
Location: The Netherlands
Contact:

Re: Dashticz - General Discussions

Post by Phantom »

lukbe wrote: Sunday 03 September 2017 8:54 Hello, is possible change a position in the buienradar to Czech Republic?

Odesláno z mého MI 4W pomocí Tapatalk
The website is in dutch but maybe this link will help you a bit: https://www.buienradar.nl/wereldwijd/eu ... d/tsjechie
At the bottom you can insert a city.
User avatar
htilburgs
Posts: 464
Joined: Tuesday 03 November 2015 11:01
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Screensaver

Post by htilburgs »

Al these syntaxes are explained in the Wiki: http://www.domoticz.com/wiki/Dashticz_V ... figuration ;)

Standby option:
config['standby_after'] - [MINUTES] - Enter the amount of minutes before entering stand-by mode
These are not standby options. You can let Dashticz automatic swipe between your screens, if you've multiple screens
config['auto_swipe_back_to'] - [SCREEN NR]- When no activity, swipe back to the selected screen
config['auto_swipe_back_after'] - [SECONDS] - Define the seconds after swiping back to the selected screen
config['auto_slide_pages'] - false / [SECONDS] - Loop all pages and change page every x (min. 5) seconds, set config['auto_swipe_back_after'] = 0
Hardware:
RPi3 - Aeon Labs Z-Stick GEN5 - Fibaro Dimmer 2 - Fibaro Roller Shutter 2 - Fibaro Smoke Sensor - Yeelight RGBW Led bulb - Yeelight Smart LED Light Strip - Neo Coolcam PIR Motion Sensor - Neo Coolcam PowerPlug - Nest Thermostat v3
User avatar
htilburgs
Posts: 464
Joined: Tuesday 03 November 2015 11:01
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Screensaver

Post by htilburgs »

PieterS wrote: Saturday 02 September 2017 21:40 Try to configure a screensaver in Dashticz on my tablet at the wall.
syntax in the wiki:

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

This syntax gives results! After a while there is a screensaver. I don't understand the other syntax in my config.js:

config['standby_after'] = 3;
config['auto_swipe_back_to'] = 1;
config['auto_swipe_back_after'] = '15';
config['auto_slide_pages'] = 0;

Can you explain these commands to me? Thnx in advance.
Al these syntaxes are explained in the Wiki: http://www.domoticz.com/wiki/Dashticz_V ... figuration ;)

Standby option:
config['standby_after'] - [MINUTES] - Enter the amount of minutes before entering stand-by mode
These are not standby options. You can let Dashticz automatic swipe between your screens, if you've multiple screens
config['auto_swipe_back_to'] - [SCREEN NR]- When no activity, swipe back to the selected screen
config['auto_swipe_back_after'] - [SECONDS] - Define the seconds after swiping back to the selected screen
config['auto_slide_pages'] - false / [SECONDS] - Loop all pages and change page every x (min. 5) seconds, set config['auto_swipe_back_after'] = 0
Hardware:
RPi3 - Aeon Labs Z-Stick GEN5 - Fibaro Dimmer 2 - Fibaro Roller Shutter 2 - Fibaro Smoke Sensor - Yeelight RGBW Led bulb - Yeelight Smart LED Light Strip - Neo Coolcam PIR Motion Sensor - Neo Coolcam PowerPlug - Nest Thermostat v3
PieterS
Posts: 195
Joined: Wednesday 31 May 2017 16:06
Target OS: NAS (Synology & others)
Domoticz version: 2024.7
Location: NL
Contact:

Re: Dashticz - General Discussions

Post by PieterS »

Al these syntaxes are explained in the Wiki: http://www.domoticz.com/wiki/Dashticz_V ... figuration ;)
Sorry for my omission! I missed that paragraph. :?
Thanks a lot for your hint.
Synology with Domoticz build (V2024.7) in Docker
User avatar
htilburgs
Posts: 464
Joined: Tuesday 03 November 2015 11:01
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Dashticz - General Discussions

Post by htilburgs »

PieterS wrote: Monday 04 September 2017 21:59
Al these syntaxes are explained in the Wiki: http://www.domoticz.com/wiki/Dashticz_V ... figuration ;)
Sorry for my omission! I missed that paragraph. :?
Thanks a lot for your hint.
I hope you succeed! Otherwise we see you back soon and we will try to help you :D
Hardware:
RPi3 - Aeon Labs Z-Stick GEN5 - Fibaro Dimmer 2 - Fibaro Roller Shutter 2 - Fibaro Smoke Sensor - Yeelight RGBW Led bulb - Yeelight Smart LED Light Strip - Neo Coolcam PIR Motion Sensor - Neo Coolcam PowerPlug - Nest Thermostat v3
godomogo
Posts: 13
Joined: Saturday 02 September 2017 2:46
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: Dashticz - General Discussions

Post by godomogo »

I just got Dashticz beta up and running and changed some settings via the "gear" configuration button in the upper right corner. I hid the title bar and now it and the the configuration button are gone.

I've tried this in CONFIG.js, but the top bar and config button are still missing.
config['hide_topbar'] = '0';

How can I get these back?

Thanks
Douwe63
Posts: 1
Joined: Thursday 19 May 2016 13:00
Target OS: -
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by Douwe63 »

godomogo wrote: Tuesday 05 September 2017 15:34 I just got Dashticz beta up and running and changed some settings via the "gear" configuration button in the upper right corner. I hid the title bar and now it and the the configuration button are gone.

I've tried this in CONFIG.js, but the top bar and config button are still missing.
config['hide_topbar'] = '0';

How can I get these back?

Thanks
I just started with Dashticz and noticed that, by default, all settings in the CONFIG.js are 'commented out' by the /* and */ character codes. If these appear at the top and bottom of your CONFIG.js file then remove these and try again...
godomogo
Posts: 13
Joined: Saturday 02 September 2017 2:46
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: Dashticz - General Discussions

Post by godomogo »

robgeerts wrote: Thursday 24 August 2017 23:03 Ok, do you mean you just want to see the floorplan like you see in domoticz?
Yeah, I think this would be awesome to be able to put existing floorplans in screens[x]. Another option people might like is a button.floorpan setup to pop up a window/frame.
Last edited by godomogo on Friday 08 September 2017 4:13, edited 1 time in total.
godomogo
Posts: 13
Joined: Saturday 02 September 2017 2:46
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: Dashticz - General Discussions

Post by godomogo »

Douwe63 wrote: Tuesday 05 September 2017 20:56
godomogo wrote: Tuesday 05 September 2017 15:34 I just got Dashticz beta up and running and changed some settings via the "gear" configuration button in the upper right corner. I hid the title bar and now it and the the configuration button are gone.

I've tried this in CONFIG.js, but the top bar and config button are still missing.
config['hide_topbar'] = '0';

How can I get these back?

Thanks
I just started with Dashticz and noticed that, by default, all settings in the CONFIG.js are 'commented out' by the /* and */ character codes. If these appear at the top and bottom of your CONFIG.js file then remove these and try again...
Turns out I had some syntax errors elsewhere in CONFIG.js. That's all fixed and this is looking GREAT!
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - General Discussions

Post by robgeerts »

Added the floorplan to github...
Unfortunately, I'm on vacation until 23th of september so wont be working on this before this date.
(And I have first some other things to fix)
User avatar
Phantom
Posts: 87
Joined: Saturday 31 December 2016 14:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.11652
Location: The Netherlands
Contact:

Re: Dashticz - General Discussions

Post by Phantom »

robgeerts wrote: Wednesday 06 September 2017 21:23 Added the floorplan to github...
Unfortunately, I'm on vacation until 23th of september so wont be working on this before this date.
(And I have first some other things to fix)
Enjoy your holiday :D
Cletus
Posts: 54
Joined: Wednesday 17 August 2016 9:32
Target OS: Raspberry Pi / ODroid
Domoticz version: Latest
Location: Purmerend, Netherlands
Contact:

Dashticz - Two Questions

Post by Cletus »

Hi,

Got two questions for Dashticz.

First, i can't seem to figure out how to add scene's to Dashticz. It just don't sees them. Checked the IDXes and everything. This is the block i use:

Am i doing something wrong?

Code: Select all

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

blocks['s1'] = {}
blocks['s1']['width'] = 2; //1 to 12, remove this line if you want to use the default (4)
blocks['s1']['title'] = 'Living room' //if you want change the name of switch different then domoticz

blocks['s6'] = {}
blocks['s6']['width'] = 2;

blocks['s4'] = {}
blocks['s4']['width'] = 2;

blocks['s3'] = {}
blocks['s3']['width'] = 2;

blocks['s2'] = {}
blocks['s2']['width'] = 2;

var columns = {}
					
columns[1] = {}
columns[1]['blocks'] = ['blocktitle_1','s1','s2','s3','s4'] 
columns[1]['width'] = 2;
Second, i want to add two push-on buttons, the normal IDX buttons are added but as soon as i add these two it won't work. Do you have any idea why?

For example this is the JSON data:

Code: Select all

{
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CustomImage" : 0,
         "Data" : "On",
         "Description" : "",
         "Favorite" : 0,
         "HardwareID" : 8,
         "HardwareName" : "Dummy Switches",
         "HardwareType" : "Dummy (Does nothing, use for virtual switches only)",
         "HardwareTypeVal" : 15,
         "HaveDimmer" : true,
         "HaveGroupCmd" : true,
         "HaveTimeout" : false,
         "ID" : "0001408B",
         "Image" : "Light",
         "IsSubDevice" : false,
         "LastUpdate" : "2017-07-01 21:56:25",
         "Level" : 0,
         "LevelInt" : 0,
         "MaxDimLevel" : 100,
         "Name" : "Thuis",
         "Notifications" : "false",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "Status" : "On",
         "StrParam1" : "",
         "StrParam2" : "",
         "SubType" : "Switch",
         "SwitchType" : "On/Off",
         "SwitchTypeVal" : 0,
         "Timers" : "false",
         "Type" : "Light/Switch",
         "TypeImg" : "lightbulb",
         "Unit" : 1,
         "Used" : 1,
         "UsedByCamera" : false,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "59"
      },
      {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CustomImage" : 0,
         "Data" : "Off",
         "Description" : "",
         "Favorite" : 0,
         "HardwareID" : 8,
         "HardwareName" : "Dummy Switches",
         "HardwareType" : "Dummy (Does nothing, use for virtual switches only)",
         "HardwareTypeVal" : 15,
         "HaveDimmer" : true,
         "HaveGroupCmd" : true,
         "HaveTimeout" : false,
         "ID" : "0001408C",
         "Image" : "Light",
         "IsSubDevice" : false,
         "LastUpdate" : "2017-05-20 16:45:49",
         "Level" : 0,
         "LevelInt" : 0,
         "MaxDimLevel" : 100,
         "Name" : "Weg",
         "Notifications" : "false",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "Status" : "Off",
         "StrParam1" : "",
         "StrParam2" : "",
         "SubType" : "Switch",
         "SwitchType" : "On/Off",
         "SwitchTypeVal" : 0,
         "Timers" : "false",
         "Type" : "Light/Switch",
         "TypeImg" : "lightbulb",
         "Unit" : 1,
         "Used" : 1,
         "UsedByCamera" : false,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "60"
      },
      {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CustomImage" : 0,
         "Data" : "Off",
         "Description" : "",
         "Favorite" : 0,
         "HardwareID" : 8,
         "HardwareName" : "Dummy Switches",
         "HardwareType" : "Dummy (Does nothing, use for virtual switches only)",
         "HardwareTypeVal" : 15,
         "HaveDimmer" : true,
         "HaveGroupCmd" : true,
         "HaveTimeout" : false,
         "ID" : "0001408D",
         "Image" : "Light",
         "IsSubDevice" : false,
         "LastUpdate" : "2017-05-16 14:10:59",
         "Level" : 100,
         "LevelInt" : 100,
         "MaxDimLevel" : 100,
         "Name" : "Nacht",
         "Notifications" : "false",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "Status" : "Off",
         "StrParam1" : "",
         "StrParam2" : "",
         "SubType" : "Switch",
         "SwitchType" : "On/Off",
         "SwitchTypeVal" : 0,
         "Timers" : "false",
         "Type" : "Light/Switch",
         "TypeImg" : "lightbulb",
         "Unit" : 1,
         "Used" : 1,
         "UsedByCamera" : false,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "61"
      },
      {
         "AddjMulti" : 1.0,
         "AddjMulti2" : 1.0,
         "AddjValue" : 0.0,
         "AddjValue2" : 0.0,
         "BatteryLevel" : 255,
         "CustomImage" : 0,
         "Data" : "On",
         "Description" : "",
         "Favorite" : 0,
         "HardwareID" : 8,
         "HardwareName" : "Dummy Switches",
         "HardwareType" : "Dummy (Does nothing, use for virtual switches only)",
         "HardwareTypeVal" : 15,
         "HaveDimmer" : true,
         "HaveGroupCmd" : true,
         "HaveTimeout" : false,
         "ID" : "0001408E",
         "Image" : "Light",
         "IsSubDevice" : false,
         "LastUpdate" : "2017-06-27 22:01:54",
         "Level" : 0,
         "LevelInt" : 0,
         "MaxDimLevel" : 100,
         "Name" : "Manual",
         "Notifications" : "false",
         "PlanID" : "0",
         "PlanIDs" : [ 0 ],
         "Protected" : false,
         "ShowNotifications" : true,
         "SignalLevel" : "-",
         "Status" : "On",
         "StrParam1" : "",
         "StrParam2" : "",
         "SubType" : "Switch",
         "SwitchType" : "On/Off",
         "SwitchTypeVal" : 0,
         "Timers" : "false",
         "Type" : "Light/Switch",
         "TypeImg" : "lightbulb",
         "Unit" : 1,
         "Used" : 1,
         "UsedByCamera" : false,
         "XOffset" : "0",
         "YOffset" : "0",
         "idx" : "62"
      },
Thanks!

Regards, Paul
This is our world now... the world of the electron and the switch, the beauty of the baud.
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Two Questions

Post by HansieNL »

Do you have var blocks = {} ?
Blah blah blah
Cletus
Posts: 54
Joined: Wednesday 17 August 2016 9:32
Target OS: Raspberry Pi / ODroid
Domoticz version: Latest
Location: Purmerend, Netherlands
Contact:

Re: Dashticz - Two Questions

Post by Cletus »

As far as i can see yes.
This is our world now... the world of the electron and the switch, the beauty of the baud.
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Two Questions

Post by HansieNL »

Maybe you can post your config.js? Are you using stable or beta version of Dashticz?
Blah blah blah
Cletus
Posts: 54
Joined: Wednesday 17 August 2016 9:32
Target OS: Raspberry Pi / ODroid
Domoticz version: Latest
Location: Purmerend, Netherlands
Contact:

Re: Dashticz - Two Questions

Post by Cletus »

Surething! Using the one from GIT Hub, downloaded it this week.

Code: Select all

var _EDIT_MODE = false;

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

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

var calendars = {}
calendars.private = { key:'private', width:6, maxitems: 4, icalurl: '---masked---' }

var publictransport = {}
publictransport.ovinfobus = { show_via: false, station: 'purmerend/bushalte-bovenlandsestraat', 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 maps = {}
maps.purmerend = { key:'purmerend', height: 300, link:'http://www.ovzoeker.nl', width:12, latitude: 52.497911, longitude: 4.959753, zoom:9 }

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

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

//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']['type'] = 'blocktitle';
blocks['blocktitle_1']['title'] = 'Scenes';

blocks['s1'] = {}
blocks['s1']['width'] = 2; //1 to 12, remove this line if you want to use the default (4)
blocks['s1']['title'] = 'Living room' //if you want change the name of switch different then domoticz

blocks['s6'] = {}
blocks['s6']['width'] = 2;

blocks['s4'] = {}
blocks['s4']['width'] = 2;

blocks['s3'] = {}
blocks['s3']['width'] = 2;

blocks['s2'] = {}
blocks['s2']['width'] = 2;

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

blocks['news_2'] = {}
blocks['news_2']['feed'] = 'https://cors-anywhere.herokuapp.com/http://feeds.feedburner.com/tweakers/nieuws';
blocks['news_2']['maxheight'] = 113;

var columns = {}
columns['bar'] = {}
columns['bar']['blocks'] = ['logo','miniclock','settings']
					
columns[1] = {}
columns[1]['blocks'] = ['blocktitle_1','s1','s2','s3','s4'] 
columns[1]['width'] = 2;

columns[2] = {}
columns[2]['blocks'] = ['currentweather_big','weather',publictransport.ovinfobus,calendars.private]
columns[2]['width'] = 5; 

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

columns[8] = {}
columns[8]['blocks'] = [buttons.domoticz,'sunrise']
columns[8]['width'] = 2; 

buttons.moon = {width:6, isimage:true, refreshimage:60000, image: 'moon'}
 
columns[5] = {}
columns[5]['blocks'] = [buttons.buienradar, buttons.nunl, buttons.radio, buttons.moon]
columns[5]['width'] = 4;

columns[6] = {}
columns[6]['blocks'] = ['traffic','train',maps.purmerend]
columns[6]['width'] = 5; 

columns[7] = {}
columns[7]['blocks'] = ['log','news_1','news_2']
columns[7]['width'] = 5; 

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

var screens = {}
screens[1] = {}
screens[1]['background'] = 'bg9.jpg';
//screens[1]['background_morning'] = 'bg_morning.jpg';
//screens[1]['background_noon'] = 'bg_noon.jpg';
//screens[1]['background_afternoon'] = 'bg_afternoon.jpg';
//screens[1]['background_night'] = 'bg_night.jpg';
screens[1]['columns'] = [1,2,3]

screens[2] = {}
screens[2]['background'] = 'bg9.jpg';
screens[2]['columns'] = [5,6,7]
This is our world now... the world of the electron and the switch, the beauty of the baud.
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Two Questions

Post by HansieNL »

I'm not sure, but Maybe you can change both to 0 and see if that solves your problem
config['auto_positioning'] = 0;
config['use_favorites'] = 0;
If you don't see your other switches you have to create these as blocks. You can find how to do that in the wiki.
Blah blah blah
Locked

Who is online

Users browsing this forum: No registered users and 1 guest