Dashticz - General Discussions

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: robgeerts, htilburgs

poudenes
Posts: 136
Joined: Wednesday 08 March 2017 10:42
Target OS: Linux
Domoticz version: 3.7392
Location: Amsterdam
Contact:

Re: Dashticz - General Discussions

Postby poudenes » Thursday 18 May 2017 8:40

Guys,

Maybe a idea to add a new topic like : Dashticz - CONFIG.js defaults
And this is only a full list of all options in this config. On different threats you see some codes to use, but maybe its a good thing to put them all together and refer people to his topic. @robgeerts Maybe you can add this new topic?

I tried to complete all the options and collect them:

Code: Select all

var _LANGUAGE                           = 'nl_NL'; //or: en_US, fr_FR, hu_HU
var _HOST_DOMOTICZ                      = 'http://192.168.100.3:8081';
var _DOMOTICZ_REFRESH           = 5; //in seconds
var _DASHTICZ_REFRESH           = 30; //in minutes
var _THEME                                      = 'default'; // default = dashticz default theme

/*
IF YOU HAVE A MEDIABOX FROM ZIGGO (HORIZON), COPY SWITCH_HORIZON.PHP ON A WEBSERVER INSIDE YOUR NETWORK AND CHANGE THE IP.
ENTER THE PATH TO THIS FILE BELOW.
*/

var _HOST_ZIGGO_HORIZON         = ''; //e.g. http://192.168.1.3/domoticz/switch_horizon.php';
var _APIKEY_WUNDERGROUND        = '';
var _WEATHER_CITY                       = 'Eindhoven';
var _WEATHER_CITYNAME           = ''; //show a different city name, leave empty if same as _WEATHER_CITY
var _WEATHER_COUNTRY            = 'NL';
var _USE_AUTO_POSITIONING       = true; //don't want to configure positions, use auto positioning
var _USE_FAVORITES                      = true; //only used when using auto positioning
var _HIDE_SECONDS_IN_CLOCK  = false; //do not show the seconds in the clock
var _HIDE_MEDIAPLAYER_WHEN_OFF = false; //when you have a mediaplayer connected, hide it if nothing is playing
var _NEWS_RSSFEED                       = 'http://www.nu.nl/rss/algemeen';
var _USE_FAHRENHEIT                     = false;
var _USE_BEAUFORT                       = true; //Bft instead of m/s
var _TRANSLATE_SPEED            = false; //windspeed, north northwest instead of NNW
var _STANDBY_AFTER_MINUTES  = false; //enter amount of minutes like: 5 (5 minutes)
var _SCROLL_NEWS_AFTER          = 7000; //milliseconds, so 7000 is 7 seconds
var _SHOW_LASTUPDATE            = true;
var _LASTUPDATE_FORMAT          = 'DD-MM-YY HH:mm';
var _SCREENSLIDER_EFFECT        = 'slide'; //'slide' or 'fade' or 'cube' or 'coverflow' or 'flip'

var _APIKEY_MAPS                        = '';
var _MAPS_LATITUDE                      = '';
var _MAPS_LONGITUDE                     = '';
var _MAPS_ZOOMLEVEL           = 15;

var _AUTO_SWIPEBACK_TO          = 1; //when no activity, swipe back to main screen after x seconds
var _AUTO_SWIPEBACK_TIME        = 10; //seconds

var calendars = {}
calendars.werk = { icalurl: 'https://<URL>’ }
calendars.feest = { icalurl: 'https://<URL>’ }
calendars.combined = [{ color:'red',calendar:calendars.werk}, {color:'#65FC32','calendar':calendars.feest}]

var frames = {}
frames.treinen                  = {refreshiframe:30000,height:719,frameurl:"http://<URL>”,width:12}

/*
// BUTTONS
*/

var buttons = {}
buttons.buienradar              = {width:12, isimage:true, refreshimage:60000, image: 'http://api.buienradar.nl/image/1.0/RadarMapNL?w=285&h=256', url: 'http://www.weeronline.nl/Europa/Nederland/Amsterdam/4058223'}
buttons.radio                   = {width:12, image: 'img/radio_on.png', title: 'Radio', url: 'http://nederland.fm'}
buttons.nunl                    = {width:12, icon: 'fa-newspaper-o', title: 'Nu.nl', url: 'http://www.nu.nl'}
buttons.moon                    = {width:12, isimage:true, refreshimage:60000, image: 'moon'}

/*
// STREAMPLAYER
*/

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","file":"http://vip-icecast.538.lw.triple-it.nl/RADIO538_MP3"},
   {"track":3,"name":"538 Dance Dep","file":"http://vip-icecast.538.lw.triple-it.nl/WEB01_MP3"},
   {"track":4,"name":"Slam! Juize","file":"http://stream.radiocorp.nl/web09_mp3"},
   {"track":5,"name":"Slam! Boom Room","file":"http://stream.radiocorp.nl/web12_mp3"},
   {"track":6,"name":"Slam! NonStop","file":"http://stream.radiocorp.nl/web10_mp3"},
   {"track":7,"name":"100%NL","file":"http://stream.100p.nl/100pctnl.mp3"},
];

/*
// SWITCH
*/

var blocks = {}

blocks[12] = {} // SLAAPKAMER
blocks[12][‘width'] = 6;
blocks[12][‘title'] = '';
blocks[12][‘icon'] = 'fa-cloud';
blocks[12][‘image'] = 'pi3.png';
blocks[12][‘playsound'] = 'sounds/ping.mp3';
blocks[12][‘switch'] = true; //if you want to switch the title and data
blocks[12][‘hide_data'] = true; //if you want to hide the data of this block
blocks[12][‘show_lastupdate'] = true; //if you want to show the last update specific for this block

/*
// NEWS FEED
*/

blocks['news_10'] = {} //
blocks['news_10']['width'] = 12;
blocks['news_10']['feed'] = 'https://crossorigin.me/http://www.nu.nl/rss';

/*
// TITLE
*/

blocks['blocktitle_0'] = {}
blocks['blocktitle_0']['type'] = 'blocktitle';
blocks['blocktitle_0']['title'] = 'Production';

/*
// COLUMNS
*/

var columns = {}

columns[10] = {} //
columns[10]['blocks'] = ['clock','sunrise','blocktitle_0',buttons.calendar,buttons.moon,219,233];
columns[10]['width'] = 2;

columns[20] = {} //
columns[20]['blocks'] = ['blocktitle_10',25,26,19,22,24,27,177,178,73,33];
columns[20]['width'] = 5;

//*
// SCREENS
*/

var screens = {}

screens[1] = {}
screens[1]['background'] = 'plaatje.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[10]['columns'] = [10,30,50,40,100,60,70,400];

Raspberry Pi3 - OSMC - Domoticz - Dashticz - MiPow PlayBulb - Nanolead Aurora - KaKu - Logitech Hamony - Nest - RFLink

robgeerts
Posts: 724
Joined: Saturday 24 January 2015 23:12
Target OS: NAS (Synology & others)
Domoticz version: 3.6796
Location: The Netherlands
Contact:

Re: Dashticz - General Discussions

Postby robgeerts » Thursday 18 May 2017 9:03

You could open a topic by yourself :)
I have a lot to handle already ;)

poudenes
Posts: 136
Joined: Wednesday 08 March 2017 10:42
Target OS: Linux
Domoticz version: 3.7392
Location: Amsterdam
Contact:

Re: Dashticz - General Discussions

Postby poudenes » Thursday 18 May 2017 9:06

robgeerts wrote:You could open a topic by yourself :)
I have a lot to handle already ;)


True, reason i asked is because new functions are created by you :)... But will start and try to update the topic. :P
Raspberry Pi3 - OSMC - Domoticz - Dashticz - MiPow PlayBulb - Nanolead Aurora - KaKu - Logitech Hamony - Nest - RFLink

User avatar
htilburgs
Posts: 246
Joined: Tuesday 03 November 2015 12:01
Target OS: Raspberry Pi
Domoticz version: v3.7404
Location: Netherland
Contact:

Re: Dashticz - General Discussions

Postby htilburgs » Thursday 18 May 2017 9:06

I think this belongs in the Wiki?
Searching in the forum topics is not very friendly.
The wiki should be up-to-date (I trie to), but if something is missing, the nice thing about the wiki is that you can add items...;-)

Wiki: http://www.domoticz.com/wiki/Dashticz_V2
Hardware:
Raspberry Pi 2B - Aeon Labs Z-Stick GEN5 - Fibaro Dimmer 2 - Fibaro Roller Shutter 2 - Yeelight RGBW Led

poudenes
Posts: 136
Joined: Wednesday 08 March 2017 10:42
Target OS: Linux
Domoticz version: 3.7392
Location: Amsterdam
Contact:

Re: Dashticz - General Discussions

Postby poudenes » Thursday 18 May 2017 9:09

htilburgs wrote:I think this belongs in the Wiki?
Searching in the forum topics is not very friendly.
The wiki should be up-to-date (I trie to), but if something is missing, the nice thing about the wiki is that you can add items...;-)

Wiki: http://www.domoticz.com/wiki/Dashticz_V2


Also true... but then i can't manage it... ;

* Never mind, i see already lot of functions added in the WiKi... at moment i collect them i didn't see them in wiki at that moment.
Never mind forget my idea haha
Raspberry Pi3 - OSMC - Domoticz - Dashticz - MiPow PlayBulb - Nanolead Aurora - KaKu - Logitech Hamony - Nest - RFLink

User avatar
htilburgs
Posts: 246
Joined: Tuesday 03 November 2015 12:01
Target OS: Raspberry Pi
Domoticz version: v3.7404
Location: Netherland
Contact:

Re: Dashticz - General Discussions

Postby htilburgs » Thursday 18 May 2017 12:52

poudenes wrote:Guys,

Maybe a idea to add a new topic like : Dashticz - CONFIG.js defaults
And this is only a full list of all options in this config. On different threats you see some codes to use, but maybe its a good thing to put them all together and refer people to his topic. @robgeerts Maybe you can add this new topic?

I tried to complete all the options and collect them:

Code: Select all

var _LANGUAGE                           = 'nl_NL'; //or: en_US, fr_FR, hu_HU
var _HOST_DOMOTICZ                      = 'http://192.168.100.3:8081';
var _DOMOTICZ_REFRESH           = 5; //in seconds
var _DASHTICZ_REFRESH           = 30; //in minutes
var _THEME                                      = 'default'; // default = dashticz default theme

/*
IF YOU HAVE A MEDIABOX FROM ZIGGO (HORIZON), COPY SWITCH_HORIZON.PHP ON A WEBSERVER INSIDE YOUR NETWORK AND CHANGE THE IP.
ENTER THE PATH TO THIS FILE BELOW.
*/

var _HOST_ZIGGO_HORIZON         = ''; //e.g. http://192.168.1.3/domoticz/switch_horizon.php';
var _APIKEY_WUNDERGROUND        = '';
var _WEATHER_CITY                       = 'Eindhoven';
var _WEATHER_CITYNAME           = ''; //show a different city name, leave empty if same as _WEATHER_CITY
var _WEATHER_COUNTRY            = 'NL';
var _USE_AUTO_POSITIONING       = true; //don't want to configure positions, use auto positioning
var _USE_FAVORITES                      = true; //only used when using auto positioning
var _HIDE_SECONDS_IN_CLOCK  = false; //do not show the seconds in the clock
var _HIDE_MEDIAPLAYER_WHEN_OFF = false; //when you have a mediaplayer connected, hide it if nothing is playing
var _NEWS_RSSFEED                       = 'http://www.nu.nl/rss/algemeen';
var _USE_FAHRENHEIT                     = false;
var _USE_BEAUFORT                       = true; //Bft instead of m/s
var _TRANSLATE_SPEED            = false; //windspeed, north northwest instead of NNW
var _STANDBY_AFTER_MINUTES  = false; //enter amount of minutes like: 5 (5 minutes)
var _SCROLL_NEWS_AFTER          = 7000; //milliseconds, so 7000 is 7 seconds
var _SHOW_LASTUPDATE            = true;
var _LASTUPDATE_FORMAT          = 'DD-MM-YY HH:mm';
var _SCREENSLIDER_EFFECT        = 'slide'; //'slide' or 'fade' or 'cube' or 'coverflow' or 'flip'

var _APIKEY_MAPS                        = '';
var _MAPS_LATITUDE                      = '';
var _MAPS_LONGITUDE                     = '';
var _MAPS_ZOOMLEVEL           = 15;

var _AUTO_SWIPEBACK_TO          = 1; //when no activity, swipe back to main screen after x seconds
var _AUTO_SWIPEBACK_TIME        = 10; //seconds

var calendars = {}
calendars.werk = { icalurl: 'https://<URL>’ }
calendars.feest = { icalurl: 'https://<URL>’ }
calendars.combined = [{ color:'red',calendar:calendars.werk}, {color:'#65FC32','calendar':calendars.feest}]

var frames = {}
frames.treinen                  = {refreshiframe:30000,height:719,frameurl:"http://<URL>”,width:12}

/*
// BUTTONS
*/

var buttons = {}
buttons.buienradar              = {width:12, isimage:true, refreshimage:60000, image: 'http://api.buienradar.nl/image/1.0/RadarMapNL?w=285&h=256', url: 'http://www.weeronline.nl/Europa/Nederland/Amsterdam/4058223'}
buttons.radio                   = {width:12, image: 'img/radio_on.png', title: 'Radio', url: 'http://nederland.fm'}
buttons.nunl                    = {width:12, icon: 'fa-newspaper-o', title: 'Nu.nl', url: 'http://www.nu.nl'}
buttons.moon                    = {width:12, isimage:true, refreshimage:60000, image: 'moon'}

/*
// STREAMPLAYER
*/

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","file":"http://vip-icecast.538.lw.triple-it.nl/RADIO538_MP3"},
   {"track":3,"name":"538 Dance Dep","file":"http://vip-icecast.538.lw.triple-it.nl/WEB01_MP3"},
   {"track":4,"name":"Slam! Juize","file":"http://stream.radiocorp.nl/web09_mp3"},
   {"track":5,"name":"Slam! Boom Room","file":"http://stream.radiocorp.nl/web12_mp3"},
   {"track":6,"name":"Slam! NonStop","file":"http://stream.radiocorp.nl/web10_mp3"},
   {"track":7,"name":"100%NL","file":"http://stream.100p.nl/100pctnl.mp3"},
];

/*
// SWITCH
*/

var blocks = {}

blocks[12] = {} // SLAAPKAMER
blocks[12][‘width'] = 6;
blocks[12][‘title'] = '';
blocks[12][‘icon'] = 'fa-cloud';
blocks[12][‘image'] = 'pi3.png';
blocks[12][‘playsound'] = 'sounds/ping.mp3';
blocks[12][‘switch'] = true; //if you want to switch the title and data
blocks[12][‘hide_data'] = true; //if you want to hide the data of this block
blocks[12][‘show_lastupdate'] = true; //if you want to show the last update specific for this block

/*
// NEWS FEED
*/

blocks['news_10'] = {} //
blocks['news_10']['width'] = 12;
blocks['news_10']['feed'] = 'https://crossorigin.me/http://www.nu.nl/rss';

/*
// TITLE
*/

blocks['blocktitle_0'] = {}
blocks['blocktitle_0']['type'] = 'blocktitle';
blocks['blocktitle_0']['title'] = 'Production';

/*
// COLUMNS
*/

var columns = {}

columns[10] = {} //
columns[10]['blocks'] = ['clock','sunrise','blocktitle_0',buttons.calendar,buttons.moon,219,233];
columns[10]['width'] = 2;

columns[20] = {} //
columns[20]['blocks'] = ['blocktitle_10',25,26,19,22,24,27,177,178,73,33];
columns[20]['width'] = 5;

//*
// SCREENS
*/

var screens = {}

screens[1] = {}
screens[1]['background'] = 'plaatje.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[10]['columns'] = [10,30,50,40,100,60,70,400];



I've just checked the Wiki and it's all there (even more....;-))
Hardware:
Raspberry Pi 2B - Aeon Labs Z-Stick GEN5 - Fibaro Dimmer 2 - Fibaro Roller Shutter 2 - Yeelight RGBW Led

poudenes
Posts: 136
Joined: Wednesday 08 March 2017 10:42
Target OS: Linux
Domoticz version: 3.7392
Location: Amsterdam
Contact:

Re: Dashticz - General Discussions

Postby poudenes » Thursday 18 May 2017 13:00

htilburgs wrote:
poudenes wrote:Guys,

Maybe a idea to add a new topic like : Dashticz - CONFIG.js defaults
And this is only a full list of all options in this config. On different threats you see some codes to use, but maybe its a good thing to put them all together and refer people to his topic. @robgeerts Maybe you can add this new topic?

I tried to complete all the options and collect them:

Code: Select all

var _LANGUAGE                           = 'nl_NL'; //or: en_US, fr_FR, hu_HU
var _HOST_DOMOTICZ                      = 'http://192.168.100.3:8081';
var _DOMOTICZ_REFRESH           = 5; //in seconds
var _DASHTICZ_REFRESH           = 30; //in minutes
var _THEME                                      = 'default'; // default = dashticz default theme

/*
IF YOU HAVE A MEDIABOX FROM ZIGGO (HORIZON), COPY SWITCH_HORIZON.PHP ON A WEBSERVER INSIDE YOUR NETWORK AND CHANGE THE IP.
ENTER THE PATH TO THIS FILE BELOW.
*/

var _HOST_ZIGGO_HORIZON         = ''; //e.g. http://192.168.1.3/domoticz/switch_horizon.php';
var _APIKEY_WUNDERGROUND        = '';
var _WEATHER_CITY                       = 'Eindhoven';
var _WEATHER_CITYNAME           = ''; //show a different city name, leave empty if same as _WEATHER_CITY
var _WEATHER_COUNTRY            = 'NL';
var _USE_AUTO_POSITIONING       = true; //don't want to configure positions, use auto positioning
var _USE_FAVORITES                      = true; //only used when using auto positioning
var _HIDE_SECONDS_IN_CLOCK  = false; //do not show the seconds in the clock
var _HIDE_MEDIAPLAYER_WHEN_OFF = false; //when you have a mediaplayer connected, hide it if nothing is playing
var _NEWS_RSSFEED                       = 'http://www.nu.nl/rss/algemeen';
var _USE_FAHRENHEIT                     = false;
var _USE_BEAUFORT                       = true; //Bft instead of m/s
var _TRANSLATE_SPEED            = false; //windspeed, north northwest instead of NNW
var _STANDBY_AFTER_MINUTES  = false; //enter amount of minutes like: 5 (5 minutes)
var _SCROLL_NEWS_AFTER          = 7000; //milliseconds, so 7000 is 7 seconds
var _SHOW_LASTUPDATE            = true;
var _LASTUPDATE_FORMAT          = 'DD-MM-YY HH:mm';
var _SCREENSLIDER_EFFECT        = 'slide'; //'slide' or 'fade' or 'cube' or 'coverflow' or 'flip'

var _APIKEY_MAPS                        = '';
var _MAPS_LATITUDE                      = '';
var _MAPS_LONGITUDE                     = '';
var _MAPS_ZOOMLEVEL           = 15;

var _AUTO_SWIPEBACK_TO          = 1; //when no activity, swipe back to main screen after x seconds
var _AUTO_SWIPEBACK_TIME        = 10; //seconds

var calendars = {}
calendars.werk = { icalurl: 'https://<URL>’ }
calendars.feest = { icalurl: 'https://<URL>’ }
calendars.combined = [{ color:'red',calendar:calendars.werk}, {color:'#65FC32','calendar':calendars.feest}]

var frames = {}
frames.treinen                  = {refreshiframe:30000,height:719,frameurl:"http://<URL>”,width:12}

/*
// BUTTONS
*/

var buttons = {}
buttons.buienradar              = {width:12, isimage:true, refreshimage:60000, image: 'http://api.buienradar.nl/image/1.0/RadarMapNL?w=285&h=256', url: 'http://www.weeronline.nl/Europa/Nederland/Amsterdam/4058223'}
buttons.radio                   = {width:12, image: 'img/radio_on.png', title: 'Radio', url: 'http://nederland.fm'}
buttons.nunl                    = {width:12, icon: 'fa-newspaper-o', title: 'Nu.nl', url: 'http://www.nu.nl'}
buttons.moon                    = {width:12, isimage:true, refreshimage:60000, image: 'moon'}

/*
// STREAMPLAYER
*/

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","file":"http://vip-icecast.538.lw.triple-it.nl/RADIO538_MP3"},
   {"track":3,"name":"538 Dance Dep","file":"http://vip-icecast.538.lw.triple-it.nl/WEB01_MP3"},
   {"track":4,"name":"Slam! Juize","file":"http://stream.radiocorp.nl/web09_mp3"},
   {"track":5,"name":"Slam! Boom Room","file":"http://stream.radiocorp.nl/web12_mp3"},
   {"track":6,"name":"Slam! NonStop","file":"http://stream.radiocorp.nl/web10_mp3"},
   {"track":7,"name":"100%NL","file":"http://stream.100p.nl/100pctnl.mp3"},
];

/*
// SWITCH
*/

var blocks = {}

blocks[12] = {} // SLAAPKAMER
blocks[12][‘width'] = 6;
blocks[12][‘title'] = '';
blocks[12][‘icon'] = 'fa-cloud';
blocks[12][‘image'] = 'pi3.png';
blocks[12][‘playsound'] = 'sounds/ping.mp3';
blocks[12][‘switch'] = true; //if you want to switch the title and data
blocks[12][‘hide_data'] = true; //if you want to hide the data of this block
blocks[12][‘show_lastupdate'] = true; //if you want to show the last update specific for this block

/*
// NEWS FEED
*/

blocks['news_10'] = {} //
blocks['news_10']['width'] = 12;
blocks['news_10']['feed'] = 'https://crossorigin.me/http://www.nu.nl/rss';

/*
// TITLE
*/

blocks['blocktitle_0'] = {}
blocks['blocktitle_0']['type'] = 'blocktitle';
blocks['blocktitle_0']['title'] = 'Production';

/*
// COLUMNS
*/

var columns = {}

columns[10] = {} //
columns[10]['blocks'] = ['clock','sunrise','blocktitle_0',buttons.calendar,buttons.moon,219,233];
columns[10]['width'] = 2;

columns[20] = {} //
columns[20]['blocks'] = ['blocktitle_10',25,26,19,22,24,27,177,178,73,33];
columns[20]['width'] = 5;

//*
// SCREENS
*/

var screens = {}

screens[1] = {}
screens[1]['background'] = 'plaatje.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[10]['columns'] = [10,30,50,40,100,60,70,400];



I've just checked the Wiki and it's all there (even more....;-))


I was started ... :) haha but thanks :) haha
Raspberry Pi3 - OSMC - Domoticz - Dashticz - MiPow PlayBulb - Nanolead Aurora - KaKu - Logitech Hamony - Nest - RFLink

woody4165
Posts: 412
Joined: Monday 14 March 2016 14:55
Target OS: Linux
Domoticz version: beta
Location: Rome, Italy
Contact:

Re: Dashticz - General Discussions

Postby woody4165 » Thursday 18 May 2017 16:34

jake wrote:On my dashboard I am not able to get the 'traffic map' to work. So far, I only get a grey rectangle on the dashboard

I have entered the necessary Maps variables:

Code: Select all

var _APIKEY_MAPS                        = 'AIzaxxxxGAHRNxxxxmEOOxxxxxxxxacH-8rxxxxx;
var _MAPS_LATITUDE                      = '51.xxxxxx';
var _MAPS_LONGITUDE                     = '4.xxxx0';
var _MAPS_ZOOMLEVEL                     = '10';

xxx

columns[4] = {}
columns[4]['blocks'] = ['trafficmap','traffic','train',publictransport.ovinfo]
columns[4]['width'] = 5;

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


Is this error caused by an incorrect API code? On the Dev page of Google I found multiple 'Maps' API-keys. The Wiki is not clear which one to take. An example, also the format for the lattitude and longitude would be helpful in the Wiki.



Hi

Just tried this and in the console I see some errors.
Didn't understand if related to API key, but it seems more related to values. It should be in the first two errrs

Image

Is there someone who is getting Google Maps working?

Does this block (Google Maps) work only for dutch or for any country?

Thanks

poudenes
Posts: 136
Joined: Wednesday 08 March 2017 10:42
Target OS: Linux
Domoticz version: 3.7392
Location: Amsterdam
Contact:

Re: Dashticz - General Discussions

Postby poudenes » Thursday 18 May 2017 16:54

There is a little copy in the install wiki page

Code: Select all

//example station id: station-eindhoven
var publictransport = {}
publictransport.ovinfo= { station: 'station-eindhoven', title:'OV Info', show_lastupdate:true, provider: '9292', icon: 'train', results: 5 };
publictransport.ovinfotrain= { station: 'station-eindhoven', title:'Bus', show_lastupdate:true, provider: '9292-bus', icon: 'bus', results: 5 };
publictransport.ovinfobus= { station: 'station-eindhoven', title:'Trein', show_lastupdate:true, provider: '9292-train', icon: 'train', results: 5 };


publictransport.ovinfo the title say OV info and icon train.
publictransport.ovinfotrain the title say Bus and icon also
publictransport.ovinfobus the titel say Trein and icon also

What extra info will it show for ovinfo?
Raspberry Pi3 - OSMC - Domoticz - Dashticz - MiPow PlayBulb - Nanolead Aurora - KaKu - Logitech Hamony - Nest - RFLink

robgeerts
Posts: 724
Joined: Saturday 24 January 2015 23:12
Target OS: NAS (Synology & others)
Domoticz version: 3.6796
Location: The Netherlands
Contact:

Re: Dashticz - General Discussions

Postby robgeerts » Thursday 18 May 2017 16:58

"provider: '9292'" = both bus and train
"provider: '9292-bus'" = bus only
"provider: '9292-train'" = train only

ropske
Posts: 186
Joined: Tuesday 12 August 2014 5:37
Target OS: Raspberry Pi
Domoticz version: V3_6235
Location: Rumbeke,Belgium
Contact:

Re: Dashticz - General Discussions

Postby ropske » Thursday 18 May 2017 19:35

i downloaded this nice looking Dashticz and configured this to my ip: var _HOST_DOMOTICZ = 'http://192.168.1.175:8080';

and when i want to go the the dashticz site, it is just blank, no button or something shows up

What am i doing wrong lol? :D

ropske
Posts: 186
Joined: Tuesday 12 August 2014 5:37
Target OS: Raspberry Pi
Domoticz version: V3_6235
Location: Rumbeke,Belgium
Contact:

Re: Dashticz - General Discussions

Postby ropske » Thursday 18 May 2017 19:38

and with blank i mean this
Attachments
Naamloos.jpg
Naamloos.jpg (79.63 KiB) Viewed 152 times

User avatar
htilburgs
Posts: 246
Joined: Tuesday 03 November 2015 12:01
Target OS: Raspberry Pi
Domoticz version: v3.7404
Location: Netherland
Contact:

Re: Dashticz - General Discussions

Postby htilburgs » Thursday 18 May 2017 19:41

Can you post your config.js without the personal keys / information?
Hardware:
Raspberry Pi 2B - Aeon Labs Z-Stick GEN5 - Fibaro Dimmer 2 - Fibaro Roller Shutter 2 - Yeelight RGBW Led

ropske
Posts: 186
Joined: Tuesday 12 August 2014 5:37
Target OS: Raspberry Pi
Domoticz version: V3_6235
Location: Rumbeke,Belgium
Contact:

Re: Dashticz - General Discussions

Postby ropske » Thursday 18 May 2017 19:43

i didn't change anything yet, just my ip of domoticz

Code: Select all

var _LANGUAGE             = 'nl_NL'; //or: en_US, fr_FR, hu_HU
var _HOST_DOMOTICZ           = 'http://192.168.1.175:8080';
var _DOMOTICZ_REFRESH      = 5; //in seconds
var _DASHTICZ_REFRESH      = 30; //in minutes
var _THEME                = 'default'; // default = dashticz default theme
/*
IF YOU HAVE A MEDIABOX FROM ZIGGO (HORIZON), COPY SWITCH_HORIZON.PHP ON A WEBSERVER INSIDE YOUR NETWORK AND CHANGE THE IP.
ENTER THE PATH TO THIS FILE BELOW.
*/
var _HOST_ZIGGO_HORIZON        = ''; //e.g. http://192.168.1.3/domoticz/switch_horizon.php';
var _APIKEY_WUNDERGROUND     = '';
var _WEATHER_CITY          = 'Eindhoven';
var _WEATHER_CITYNAME       = ''; //show a different city name, leave empty if same as _WEATHER_CITY
var _WEATHER_COUNTRY       = 'NL';
var _USE_AUTO_POSITIONING    = true; //don't want to configure positions, use auto positioning
var _USE_FAVORITES         = true; //only used when using auto positioning
var _HIDE_SECONDS_IN_CLOCK  = false; //do not show the seconds in the clock
var _HIDE_MEDIAPLAYER_WHEN_OFF = false; //when you have a mediaplayer connected, hide it if nothing is playing
var _NEWS_RSSFEED         = 'http://www.nu.nl/rss/algemeen';
var _USE_FAHRENHEIT         = false;
var _USE_BEAUFORT          = true; //Bft instead of m/s
var _TRANSLATE_SPEED       = false; //windspeed, north northwest instead of NNW
var _STANDBY_AFTER_MINUTES  = false; //enter amount of minutes like: 5 (5 minutes)
var _SCROLL_NEWS_AFTER       = 7000; //milliseconds, so 7000 is 7 seconds
var _SHOW_LASTUPDATE       = true;
var _LASTUPDATE_FORMAT       = 'DD-MM-YY HH:mm';
var _SCREENSLIDER_EFFECT    = 'slide'; //'slide' or 'fade' or 'cube' or 'coverflow' or 'flip'

var _APIKEY_MAPS         = '';
var _MAPS_LATITUDE         = '';
var _MAPS_LONGITUDE         = '';

var _AUTO_SWIPEBACK_TO      = 1; //when no activity, swipe back to main screen after x seconds
var _AUTO_SWIPEBACK_TIME   = 10; //seconds

ropske
Posts: 186
Joined: Tuesday 12 August 2014 5:37
Target OS: Raspberry Pi
Domoticz version: V3_6235
Location: Rumbeke,Belgium
Contact:

Re: Dashticz - General Discussions

Postby ropske » Thursday 18 May 2017 19:44

i normally should already show some of my devices?

User avatar
htilburgs
Posts: 246
Joined: Tuesday 03 November 2015 12:01
Target OS: Raspberry Pi
Domoticz version: v3.7404
Location: Netherland
Contact:

Re: Dashticz - General Discussions

Postby htilburgs » Thursday 18 May 2017 19:46

Normaly it should show your Domoticz favorites.
Let me check.
Hardware:
Raspberry Pi 2B - Aeon Labs Z-Stick GEN5 - Fibaro Dimmer 2 - Fibaro Roller Shutter 2 - Yeelight RGBW Led

User avatar
EdKo66
Posts: 481
Joined: Sunday 22 January 2017 22:46
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Rhoon - Netherlands
Contact:

Re: Dashticz - General Discussions

Postby EdKo66 » Thursday 18 May 2017 19:47

Did you have favorites set in Domoticz?
Running latest BETA on a NAS Synology 413j | Toon Thermostat | RFxcom | Dashticz V2 |

ropske
Posts: 186
Joined: Tuesday 12 August 2014 5:37
Target OS: Raspberry Pi
Domoticz version: V3_6235
Location: Rumbeke,Belgium
Contact:

Re: Dashticz - General Discussions

Postby ropske » Thursday 18 May 2017 19:49

hmm, it doesn't show temperatures? I only had those in my favorites.

now i added 2 switches and they are shown now in dashticz

User avatar
htilburgs
Posts: 246
Joined: Tuesday 03 November 2015 12:01
Target OS: Raspberry Pi
Domoticz version: v3.7404
Location: Netherland
Contact:

Re: Dashticz - General Discussions

Postby htilburgs » Thursday 18 May 2017 19:52

@ropske, I think your calling the wrong URL. Can you try:
http://192.168.1.175:8080/dashticz/
Hardware:
Raspberry Pi 2B - Aeon Labs Z-Stick GEN5 - Fibaro Dimmer 2 - Fibaro Roller Shutter 2 - Yeelight RGBW Led

ropske
Posts: 186
Joined: Tuesday 12 August 2014 5:37
Target OS: Raspberry Pi
Domoticz version: V3_6235
Location: Rumbeke,Belgium
Contact:

Re: Dashticz - General Discussions

Postby ropske » Thursday 18 May 2017 19:53



Return to “Dashticz”

Who is online

Users browsing this forum: No registered users and 2 guests