Dashticz - General Discussions

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

godinperson
Posts: 26
Joined: Saturday 06 May 2017 0:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by godinperson »

That appears after a couple of seconds on the dashboard (beta)

VM228:1 Uncaught TypeError: Cannot read property 'push' of undefined
at <anonymous>:1:320
at <anonymous>:1:362
at gtm.js?id=GTM-KBQV6R:78
at Object.Xh (gtm.js?id=GTM-KBQV6R:80)
at wf (gtm.js?id=GTM-KBQV6R:32)
at yk.D (gtm.js?id=GTM-KBQV6R:124)
at Ik (gtm.js?id=GTM-KBQV6R:120)
at Vk (gtm.js?id=GTM-KBQV6R:134)
at dg (gtm.js?id=GTM-KBQV6R:135)
at ng (gtm.js?id=GTM-KBQV6R:43)
tontze
Posts: 317
Joined: Thursday 12 January 2017 15:30
Target OS: Linux
Domoticz version: Beta Ch
Location: Finland
Contact:

Re: Dashticz - General Discussions

Post by tontze »

godinperson wrote:Pretty much the same background only image.
Maybe add :

var _THEME = 'default'; // default = dashticz default theme

to the beginning ?
-----------------------------------------
Smartthings
zigbee2mqtt
RFLink 433mhz / Nrf 2.4Ghz
Mi Light
esp8266MiLight Hub
OpenHab/HomeAssistant/Domoticz
HP T610 & Debian 5.10.19-1 x86_64[/b]
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 »

Do you have Teamviewer? I can check your dashboard remotely if you want...
godinperson
Posts: 26
Joined: Saturday 06 May 2017 0:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by godinperson »

sent my info in pm
SuperMouse
Posts: 30
Joined: Sunday 09 April 2017 11:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by SuperMouse »

SwordFish wrote:
bsmeding wrote:and the variable _SHOW_LASTUPDATE = true in CONFIG.js?
So i set variable _SHOW_LASTUPDATE = true and it works with the lines lastupdate in custom.js.
Now i have to set in all blocks that i dont want lastupdate to false.
I had it set variable _SHOW_LASTUPDATE = false and in some blocks i set show last update = true and that works.
But for some reason that doesn't work when you use custom.js to modify some text for switch.
Thanks for the help
I have the exact same issue..
qwerk
Posts: 222
Joined: Tuesday 22 July 2014 7:21
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Netherlands
Contact:

Re: Dashticz - General Discussions

Post by qwerk »

SuperMouse wrote:
SwordFish wrote:
bsmeding wrote:and the variable _SHOW_LASTUPDATE = true in CONFIG.js?
So i set variable _SHOW_LASTUPDATE = true and it works with the lines lastupdate in custom.js.
Now i have to set in all blocks that i dont want lastupdate to false.
I had it set variable _SHOW_LASTUPDATE = false and in some blocks i set show last update = true and that works.
But for some reason that doesn't work when you use custom.js to modify some text for switch.
Thanks for the help
I have the exact same issue..
but if you use the orginal text is does work. as a work around
the modified text will/can still be used with the device
brandnl
Posts: 6
Joined: Sunday 15 March 2015 9:06
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by brandnl »

hello
I only get my favorite thing on it bookmark with a star but no
Groups.
and only one layout no Weather forecast etc
i use the Default installation and only the port number has changed
domoticz/www/

what am I doing wrong

gr jeroen (beginner)
SuperMouse
Posts: 30
Joined: Sunday 09 April 2017 11:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by SuperMouse »

qwerk wrote:
SuperMouse wrote:
SwordFish wrote:
So i set variable _SHOW_LASTUPDATE = true and it works with the lines lastupdate in custom.js.
Now i have to set in all blocks that i dont want lastupdate to false.
I had it set variable _SHOW_LASTUPDATE = false and in some blocks i set show last update = true and that works.
But for some reason that doesn't work when you use custom.js to modify some text for switch.
Thanks for the help
I have the exact same issue..
but if you use the orginal text is does work. as a work around
the modified text will/can still be used with the device
Sorry it seens I have a different problem:
I have a waterdetector under the washing machine what give other statuses.

Code: Select all

Wasmachine water detector
blocks[164] = {}
blocks[164]['image'] = 'wasmachine.png'
blocks[164]['title'] = 'Wasmachine';
blocks[164]['width'] = 12;

Code: Select all


function getBlock_164(device,idx){
   $('.block_'+idx).attr('onclick','switchDevice(this)');
   var html='';
   html+='<div class="col-xs-4 col-icon">';
      if(device['Status']=='Off') html+=iconORimage(idx,'fa-toggle-off','','off icon');
      else html+=iconORimage(idx,'fa-toggle-on','','on icon');
   html+='</div>';
   html+='<div class="col-xs-8 col-data">';
   html+='<strong class="title">'+device['Name']+'</strong><br />';
   if(device['Status']=='Alarm') html+='<span class="state">PANIEK IN DE TENT</span>';
   else html+='<span class="state">OK</span>';
   html+='</div>';
   return html;
}
Attachments
was paniek.png
was paniek.png (7.7 KiB) Viewed 2375 times
was ok.png
was ok.png (4.81 KiB) Viewed 2375 times
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by HansieNL »

brandnl wrote:hello
I only get my favorite thing on it bookmark with a star but no
Groups.
and only one layout no Weather forecast etc
i use the Default installation and only the port number has changed
domoticz/www/

what am I doing wrong

gr jeroen (beginner)
Hello Jeroen,
Can you show us your config.js file. You can put it in a post between

Code: Select all

 blocks. Then we can check if there's something wrong with it.
Blah blah blah
SwordFish
Posts: 278
Joined: Sunday 14 December 2014 12:28
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.11375
Contact:

Re: Dashticz - General Discussions

Post by SwordFish »

qwerk wrote:
SuperMouse wrote:
SwordFish wrote:
So i set variable _SHOW_LASTUPDATE = true and it works with the lines lastupdate in custom.js.
Now i have to set in all blocks that i dont want lastupdate to false.
I had it set variable _SHOW_LASTUPDATE = false and in some blocks i set show last update = true and that works.
But for some reason that doesn't work when you use custom.js to modify some text for switch.
Thanks for the help
I have the exact same issue..
but if you use the orginal text is does work. as a work around
the modified text will/can still be used with the device
But it is original a on/off switch and I want that to be aanwezig / afwezig.


Verzonden vanaf mijn iPhone met Tapatalk
brandnl
Posts: 6
Joined: Sunday 15 March 2015 9:06
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by brandnl »

HansieNL wrote:
brandnl wrote:hello
I only get my favorite thing on it bookmark with a star but no
Groups.
and only one layout no Weather forecast etc
i use the Default installation and only the port number has changed
domoticz/www/

what am I doing wrong

gr jeroen (beginner)
Hello Jeroen,
Can you show us your config.js file. You can put it in a post between

Code: Select all

 blocks. Then we can check if there's something wrong with it.[/quote]
[code]var _LANGUAGE 				= 'nl_NL'; //or: en_US, fr_FR, hu_HU
var _HOST_DOMOTICZ		  	= 'http://192.168.2.2: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 			= 'nuth';
var _WEATHER_CITYNAME 		= ''; //show a different city name, leave empty if same as _WEATHER_CITY
var _WEATHER_COUNTRY 		= 'NL';
var _USE_AUTO_POSITIONING 	= false; //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

//predefined colors, when you have RGB-lamps
var _SAVED_COLORS = ['black', 'white', 'blanchedalmond','rgb(255, 128, 0);', 'hsv 100 70 50', 'lightyellow'];

// Online Radio Stream Plugin, Note: you must enable  plugin in column section 'streamplayer', see columns[3]['blocks'] example below.
var _STREAMPLAYER_TRACKS  	= [
								{"track":1,"name":"Music FM","file":"http://stream.musicfm.hu:8000/musicfm.mp3"},
								{"track":2,"name":"Radio 1","file":"http://213.181.210.106:8000/high.mp3"},
								{"track":3,"name":"Test FM","file":"http://213.181.210.106:8000/high.mp3"},
							  ]; 

// iCalendar Plugin, supports all .ics calendar types like Google Calendar, Apple Calendar
var _ICALENDAR_URL			= 'https://testurl.com/ical.ics'; //supports .ics type calendars (Google Calendar, Apple Calendar etc.)
var _ICALENDAR_DATEFORMAT	= 'friendly'; //'friendly', 'MM.DD.YYYY HH:mm', 'DD.MM.YYYY HH:mm', 'YYYY.MM.DD HH:mm'
var _ICALENDAR_LOCALE		= 'en'; //en,hu, etc. 

//Buttons or images to open webpages in an iframe, like a news website or weather forecast
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/Son/4058667'}
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'}


//CUSTOM POSITIONING:
//defining wich blocks to show, de numbers represents the IDX of the device in Domoticz
//only define if you want to use a custom width instead of the default

//var blocks = {}

//blocks[1] = {}
//blocks[1]['width'] = 4; //1 to 12, remove this line if you want to use the default (4)
//blocks[1]['title'] = 'Living room' //if you want change the name of switch different then domoticz
//blocks[1]['icon'] = 'fa-eye'; //if you want an other icon instead of the default, choose from: http://fontawesome.io/cheatsheet/
//blocks[1]['image'] = 'bulb_off.png'; //if you want to show an image instead if icon, place image in img/ folder

//blocks[204] = {} //dimmer
//blocks[204]['width'] = 12;
//blocks[204]['title'] = 'Living room' //if you want change the name of switch different then domoticz

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

//var columns = {}

//columns[1] = {}
//columns[1]['blocks'] = ['blocktitle_1',1,2,62,'144_2',204,248,295] //remark: idx 144 produces 2 blocks, so you can use: '144_1' and '144_2' (or of course, just 144 if you want one)
//columns[1]['width'] = 5;

//columns[2] = {}
//columns[2]['blocks'] = ['currentweather_big','weather',5,'144_1']
//columns[2]['width'] = 5; 

//columns[3] = {}
//columns[3]['blocks'] = ['clock','sunrise','horizon','streamplayer',buttons.buienradar,buttons.radio,buttons.calendar,buttons.nunl,buttons.nzbget]
//columns[3]['width'] = 2;

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

//if you want to use multiple screens, use the code below:
//var screens = {}
//screens[1] = {}
//screens[1]['background'] = 'bg1.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'] = 'bg3.jpg';
//screens[2]['background_morning'] = 'bg_morning.jpg';
//screens[2]['background_noon'] = 'bg_noon.jpg';
//screens[2]['background_afternoon'] = 'bg_afternoon.jpg';
//screens[2]['background_night'] = 'bg_night.jpg';
//screens[2]['columns'] = [4,5,6]

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 think this might be the problem:

Code: Select all

var _USE_AUTO_POSITIONING    = false; //don't want to configure positions, use auto positioning
var _USE_FAVORITES         = true; //only used when using auto positioning
If you want to use favorites, you need to set _USE_AUTO_POSTING = true; see the remarks.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by HansieNL »

@brand.nl:
You want custom positioning var _USE_AUTO_POSITIONING = false so you have to uncomment (remove the slashes //) everything under following lines and fill in your own blocks/columns/screens.
//CUSTOM POSITIONING:
//defining wich blocks to show, de numbers represents the IDX of the device in Domoticz
//only define if you want to use a custom width instead of the default

About the weather forecast, did you fill in var _APIKEY_WUNDERGROUND = ''; ? You can get a free API key at https://www.wunderground.com/weather/api/d/pricing.html

I hope this info will help you.
Last edited by HansieNL on Tuesday 09 May 2017 23:38, edited 1 time in total.
Blah blah blah
godinperson
Posts: 26
Joined: Saturday 06 May 2017 0:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by godinperson »

We (@robgeerts did) solved my issue. Because it's a brand new installation and project, I don't have any switches so we had to create a dummy switch and do the positioning manual in order to get info on the screen.

It would be nice to have a Kodi widget in the future and I'll try to put an RSS field in the right positioning.

Thanks for your help!
godinperson
Posts: 26
Joined: Saturday 06 May 2017 0:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - General Discussions

Post by godinperson »

Can't place my rss. Would that link work: http://www.rds.ca/cmlink/le-fil-de-pres ... ttes-1.831 (French sports). I would also have another link which is in XML http://www.lapresse.ca/rss/225.xml

For the media player, which one is it? It would be nice to have a widget where it shows currently playing and basic control. I can help gather the information is you want.

Thanks
tontze
Posts: 317
Joined: Thursday 12 January 2017 15:30
Target OS: Linux
Domoticz version: Beta Ch
Location: Finland
Contact:

Re: Dashticz - General Discussions

Post by tontze »

Does faulty custom.css generate "check var _HOST_DOMOTICZ " error that comes up time to time ?

Because im not finding any error in CONFIG.js atm ..

Im not sure is my custom.js faulty, i just copied some corner rounding code to it and it works, but might have errors in it. Can someone check it below ?

Code: Select all

/*
CUSTOM CSS FILE
*/

/* Background blocks */
.transbg.col-xs-1,
.transbg.col-xs-2,
.transbg.col-xs-3,
.transbg.col-xs-4,
.transbg.col-xs-5,
.transbg.col-xs-6,
.transbg.col-xs-7,
.transbg.col-xs-8,
.transbg.col-xs-9,
.transbg.col-xs-10,
.transbg.col-xs-11,
.transbg.col-xs-12 {
    padding-top:15px;
    padding-bottom:15px;
    border: 7px solid rgba(255,255,255,0);
    background: rgba(0,0,0,0.2);
    background-clip: padding-box;
    border-radius: 25px; /* Round corners */
}

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


Here is my CONFIG.js too :

Code: Select all

var _LANGUAGE                   = 'en_US'; //or: en_US, fr_FR, hu_HU
var _HOST_DOMOTICZ              = 'http://192.168.xxx.xxx: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                       = '';
var _WEATHER_CITYNAME                   = ''; //show a different city name, leave empty if same as _WEATHER_CITY
var _WEATHER_COUNTRY                    = 'FI';
var _USE_AUTO_POSITIONING               = false; //don't want to configure positions, use auto positioning
var _USE_FAVORITES                      = false; //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          = true; //when you have a mediaplayer connected, hide it if nothing is playing
var _NEWS_RSSFEED                       = 'http://feeds.feedburner.com/ampparit-kaikki-rss';
var _USE_FAHRENHEIT                     = false;
var _USE_BEAUFORT                       = false; //Bft instead of m/s
var _TRANSLATE_SPEED                    = false; //windspeed, north northwest instead of NNW
var _STANDBY_AFTER_MINUTES              = 5; //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

//predefined colors, when you have RGB-lamps
var _SAVED_COLORS = ['black', 'white', 'blanchedalmond','rgb(255, 128, 0);', 'hsv 100 70 50', 'lightyellow'];

// Online Radio Stream Plugin, Note: you must enable  plugin in column section 'streamplayer', see columns[3]['blocks'] example below.
var _STREAMPLAYER_TRACKS        = [
    {"track":1,"name":"Kiss FM","file":"http://stream2.bauermedia.fi/kiss.mp3"},
    {"track":2,"name":"Bassoradio","file":"http://stream.basso.fi:8000/stream"},
    {"track":3,"name":"Loop","file":"http://icelive0.80692-icelive0.cdn.qbrick.com/10561/80692_Loop.mp3"},
    {"track":4,"name":"Radio SuomiPop","file":"http://icelive0.80692-icelive0.cdn.qbrick.com/10566/80692_RadioSuomipop.mp3"},
    {"track":5,"name":"Radio NRJ","file":"http://cdn.nrjaudio.fm/adwz1/fi/35001/mp3_128.mp3"},
    {"track":6,"name":"Radio Rock","file":"http://icelive0.80692-icelive0.cdn.qbrick.com/10565/80692_RadioRock.mp3"},

                                                          ];

// iCalendar Plugin, supports all .ics calendar types like Google Calendar, Apple Calendar
//var _ICALENDAR_URL                    = 'https://testurl.com/ical.ics'; //supports .ics type calendars (Google Calendar, Apple Calendar etc.)
//var _ICALENDAR_DATEFORMAT     = 'friendly'; //'friendly', 'MM.DD.YYYY HH:mm', 'DD.MM.YYYY HH:mm', 'YYYY.MM.DD HH:mm'
//var _ICALENDAR_LOCALE         = 'en'; //en,hu, etc.

var calendars = {}
calendars.hobby = { url: 'https://some_url/api/v2/public/calendar-share/fi/userfile/all.ics', icalurl: 'https://some_url/api/v2/public/calendar-share/fi/userfile/all.ics' }

//Buttons or images to open webpages in an iframe, like a news website or weather forecast
var buttons = {}

buttons.radio = {width:12, image: 'img/radio_on.png', title: 'Radio', url: 'http://livetaajuus.fi'}
buttons.nunl = {width:12, icon: 'fa-newspaper-o', title: 'Nu.nl', url: 'http://feeds.feedburner.com/ampparit-kaikki-rss'}
buttons.moon = {width:12, isimage:true, refreshimage:60000, image: 'moon'}


//CUSTOM POSITIONING:
//defining wich blocks to show, de numbers represents the IDX of the device in Domoticz
//only define if you want to use a custom width instead of the default

var blocks = {}
blocks[163] = {}
blocks[163]['width'] = 4; //1 to 12, remove this line if you want to use the default (4)
blocks[163]['title'] = 'BMW' //if you want change the name of switch different then domoticz
blocks[163]['image'] = 'fa_bmw.png'; //if you want to show an image instead if icon, place image in img/ folder

blocks[184] = {}
blocks[184]['width'] = 4; //1 to 12, remove this line if you want to use the default (4)
blocks[184]['title'] = 'KiA' //if you want change the name of switch different then domoticz
blocks[184]['image'] = 'kia-128.png'; //if you want to show an image instead if icon, place image in img/ folder

blocks[36] = {}
blocks[36]['width'] = 4; //1 to 12, remove this line if you want to use the default (4)
blocks[36]['title'] = 'Ulkopistoke' //if you want change the name of switch different then domoticz
blocks[36]['icon'] = 'fa-pause-circle-o'; //if you want an other icon instead of the default, choose from: http://fontawesome.io/cheatsheet/
//blocks[36]['image'] = 'wall-socket.png'; //if you want to show an image instead if icon, place image in img/ folder

//blocks[28] = {}
//blocks[28]['width'] = 4; //1 to 12, remove this line if you want to use the default (4)
//blocks[28]['title'] = 'Patio' //if you want change the name of switch different then domoticz
//blocks[28]['icon'] = 'fa-film'; //if you want an other icon instead of the default, choose from: http://fontawesome.io/cheatsheet/

var columns = {}

// First Column
columns[10] = {}
columns[10]['blocks'] = ['clock',calendars.hobby,119,120,121,122,123,2,144,1]
columns[10]['width'] = 5;
// Second Column
columns[20] = {}
columns[20]['blocks'] = ['currentweather_big','weather',149,163,184,93,99,27,98,33,28,105,36,162]
columns[20]['width'] = 5;
// Third Column
columns[30] = {}
columns[30]['blocks'] = ['sunrise',buttons.moon,'streamplayer',buttons.radio]
columns[30]['width'] = 2;


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

//if you want to use multiple screens, use the code below:
var screens = {}
screens[1] = {}
screens[1]['background'] = 'bg_1.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'] = [10,20,30]

//screens[2] = {}
//screens[2]['background'] = 'bg3.jpg';
//screens[2]['background_morning'] = 'bg_morning.jpg';
//screens[2]['background_noon'] = 'bg_noon.jpg';
//screens[2]['background_afternoon'] = 'bg_afternoon.jpg';
//screens[2]['background_night'] = 'bg_night.jpg';
//screens[2]['columns'] = [4,5,6]

Thnx !
-----------------------------------------
Smartthings
zigbee2mqtt
RFLink 433mhz / Nrf 2.4Ghz
Mi Light
esp8266MiLight Hub
OpenHab/HomeAssistant/Domoticz
HP T610 & Debian 5.10.19-1 x86_64[/b]
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 »

Well, it looks like a missing } at the end of custom.css..
But i dont know if that causes the problem..
Jonb
Posts: 16
Joined: Thursday 20 April 2017 10:01
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5877
Location: NL
Contact:

Re: Dashticz - General Discussions

Post by Jonb »

repoman wrote:
repoman wrote:Hi folks,

I've downloaded the latest beta and i like the moving weather icons. I'm also happy to see that the news items are scrolling again. Thnx!

The problem I have is with the dual output blocks. I'm using a youless device to monitor energy usage.
When I use 'idx_1' I get te total power usage of today and when I use 'idx_2' I get the total power usage.
I would like to see the current power usage. ('ídx_3' gives me an emty block...)

Related to this is are the temperature sensors. I suspect it should be possible to use i.e. 'idx_1'for temperature and 'idx_2' for humidity but it doesn't.
I still get two blocks while I only need the temperature reading..

Probably something stupid but I can't find it in the wiki..

A little help is much appreciated.

Thnx,

Pascal
Any suggestions?
I see that Repoman asked this question already 2 times. I have the same question too...
Anybody that can help maybe?
tontze
Posts: 317
Joined: Thursday 12 January 2017 15:30
Target OS: Linux
Domoticz version: Beta Ch
Location: Finland
Contact:

Re: Dashticz - General Discussions

Post by tontze »

robgeerts wrote:Well, it looks like a missing } at the end of custom.css..
But i dont know if that causes the problem..
Oh, it is there, copy/paste error :)
-----------------------------------------
Smartthings
zigbee2mqtt
RFLink 433mhz / Nrf 2.4Ghz
Mi Light
esp8266MiLight Hub
OpenHab/HomeAssistant/Domoticz
HP T610 & Debian 5.10.19-1 x86_64[/b]
qwerk
Posts: 222
Joined: Tuesday 22 July 2014 7:21
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Netherlands
Contact:

Re: Dashticz - General Discussions

Post by qwerk »

I have the clock running on 1 screen.
sometimes it stotters a little, or hangs a few seconds and then jumps to the correct time.
Where is the clock time "running" is this my local pc, or on the webserver ?
Locked

Who is online

Users browsing this forum: No registered users and 1 guest