Page 169 of 184
Re: Dashticz - General Discussions
Posted: Wednesday 28 March 2018 17:01
by pollefinario
Latest Beta resolved my issues!
Re: Dashticz - General Discussions
Posted: Wednesday 28 March 2018 18:39
by JuanUil
updated to latest beta but problems stay
Re: Dashticz - General Discussions
Posted: Sunday 01 April 2018 0:53
by javed222pi
Hi all,
I’m try to insert an CO2 (air quality) graph, in my dashticz dashboard, but I cant …
How I must to do? I must to edit graphs.js ? but how??
Please help
Re: Dashticz - General Discussions
Posted: Tuesday 03 April 2018 14:19
by Aussi
Does any one have a clue why I get these "undefined" statements ?
I tried to add the garbage module to my dashticz screen. I have it setup that automaticly my favorites are added to the dashticz dashboard.
But then when I add the garbage module and want to save it I get an pop up to add the following code which obviously doesnt work.
Also tried it with the feature automatically add favorites to dashticz off and I get a lot less undefined statements but still too much to get it working.
Code: Select all
/* BLOCKS CONFIGURATION */
var blocks = {}
/* COLUMNS CONFIGURATION */
var columns = {}
columns[undefined] = {};
columns[undefined]['blocks'] = ['logo', 'miniclock', 'settings'];
columns[1] = {};
columns[1]['blocks'] = ['undefined', 'garbage', 'undefined'];
columns[2] = {};
columns[2]['blocks'] = ['undefined', 'undefined', 'undefined'];
columns[3] = {};
columns[3]['blocks'] = ['undefined', 'undefined', 'undefined'];
Re: Dashticz - General Discussions
Posted: Tuesday 03 April 2018 18:21
by Stephan83
javed222pi wrote: ↑Sunday 01 April 2018 0:53
Hi all,
I’m try to insert an CO2 (air quality) graph, in my dashticz dashboard, but I cant …
How I must to do? I must to edit graphs.js ? but how??
Please help
I can get the basiscs of the graph with this code:
Code: Select all
//Luchtkwaliteit
blocks[255] = {} //CO2
blocks[255]['width'] = 4;
blocks['graph_255'] = {} //CO2
blocks['graph_255']['width'] = 12;
But the result is this:

- 2018-04-03 18_13_01-CONFIG.js — C__Users_Stephan_AppData_Local_Temp_scp10343_home_pi_domoticz_www_da.png (99.24 KiB) Viewed 4076 times
If I check the json (x.x.x.x/json.htm?type=graph&sensor=counter&idx=255&range=day) in Domoticz this is my data:
Code: Select all
result
0
co2 "398"
d "2018-04-02 18:15"
1
co2 "399"
d "2018-04-02 18:20"
2
co2 "398"
d "2018-04-02 18:25"
3
co2 "399"
d "2018-04-02 18:30"
4
co2 "398"
d "2018-04-02 18:35"
5
co2 "398"
d "2018-04-02 18:40"
6
co2 "399"
d "2018-04-02 18:45"
7
co2 "414"
d "2018-04-02 18:50"
8
co2 "486"
d "2018-04-02 18:55"
9
co2 "481"
d "2018-04-02 19:00"
10
co2 "480"
d "2018-04-02 19:05"
Do you get the same or less?
And how can I get the graph in total?
Re: Dashticz - General Discussions
Posted: Tuesday 03 April 2018 22:12
by javed222pi
Hi Stephan83!
I have exactly the same problem
The sensor data are correct, but the graph shows no information.
Re: Dashticz - General Discussions
Posted: Wednesday 04 April 2018 17:10
by David44
Hello to all.
I started with domoticz since few weeks now and I discovered Dashticz. I tried to make it work by using examples given on differents page.
But i still have a problem to get my sensors present on Dashticz.
I tried raspberry feedback as CPU usage or memery. I've added them to Domoticz as favorites. I've modified IDX inside config.js and nothing appear on Datshticz.
If someone can help it would be much appreciate
Re: Dashticz - General Discussions
Posted: Monday 09 April 2018 8:13
by JesusArmy
JesusArmy wrote: ↑Tuesday 27 March 2018 17:40
Hello, I have installed last stable version (running on Windows 7), have added "auto_positioning" and "use_favorites" but I still not get any switch on Dashticz dashboard.
The rest is "ok", I get sunset and sunrise time from Domoticz on the default right column, and can modify buttons, etc...
Code: Select all
var config = {}
config['domoticz_ip'] = 'http://192.168.11.40:9080';
config['app_title'] = 'Dashticz';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['auto_positioning'] = 1;
config['use_favorites'] = 1;
config['user_name'] = 'Login';
config['pass_word'] = 'Password';
config['loginEnabled'] = 0;
I am forgeting something on Dashticz or Domoticz side in order to get my favorites showing up here? Do I have to add a "favorite switch" area in a column?
Have last stable of domotic and last stable of Dashticz.
Thanks!
For info I have moved from last Dashticz v2 stable to last beta and it worked right away!
I am now fine tuning my layout...

Re: Dashticz - General Discussions
Posted: Monday 09 April 2018 9:42
by CaesarPL
David44 wrote: ↑Wednesday 04 April 2018 17:10
I've added them to Domoticz as favorites. I've modified IDX inside config.js and nothing appear on Datshticz.
Those things doesn't match. Favorites and modifying config.js can't work together. Either favorites or your config.js.
Re: Dashticz - General Discussions
Posted: Tuesday 10 April 2018 7:54
by JesusArmy
Hello again,
I cannot find the syntax to use in Dashticz in order to get time and date.
Basically I would like it to display a weather picture dynamicaly, so I would need to tune the img url to add date and time like this:
Code: Select all
http://www.jma.go.jp/en/gms/imgs_c/0/infrared/1/YYYYMMDDHHMM-00.png
Any easy way to get the YYYYMMDDHHMM ?
Re: Dashticz - General Discussions
Posted: Thursday 12 April 2018 23:54
by aiolos
JesusArmy wrote: ↑Tuesday 10 April 2018 7:54
Hello again,
I cannot find the syntax to use in Dashticz in order to get time and date.
Basically I would like it to display a weather picture dynamicaly, so I would need to tune the img url to add date and time like this:
Code: Select all
http://www.jma.go.jp/en/gms/imgs_c/0/infrared/1/YYYYMMDDHHMM-00.png
Any easy way to get the YYYYMMDDHHMM ?
You can use the
MomentJS library that's available in Dashticz. You can get the current timestamp as follows:
Code: Select all
moment().format('YYYYMMDDHHmmss');
To create an url, do something like:
Code: Select all
var url = 'http://www.jma.go.jp/en/gms/imgs_c/0/infrared/1/' + moment().format('YYYYMMDDHHmm') + '-00.png';
(this does not give me a valid image, but the created url looks ok)
Re: Dashticz - General Discussions
Posted: Friday 13 April 2018 9:42
by JesusArmy
Great thanks, I will try ! Now that I know that I can use MomentJS it should help to build the good url.

(I think actually the website upload only one sat image every 10 min so not all values are accurate for "mm", I will need to round up to nearest possible value

)
Re: Dashticz - General Discussions
Posted: Saturday 14 April 2018 10:16
by JesusArmy
Here is my final working code if anyone is interrested in working on date strings f0r building URLs.
Sorry comments are in French, but basically I had remove 9h to adjust to GMT time, and then 6 minutes to compensate 5 min time of image upload from Sat image provider. And also truncate last char to round up to last 10 min since there is only one image every 10 minutes.
Code: Select all
//Pour la carte météo et les news
var m = moment(); //Object temps actuel
m.subtract(9, 'hours'); //Ajustement GMT
m.subtract(6,'minutes'); //Compense 5min de retard image JMA
var picday = m.format('YYYYMMDDHHmm'); //Date au bon format
picday = picday.substring(0,11); //Garde les 11 premiers caracteres pour garder les min a la dizaine
var picurl = 'http://www.jma.go.jp/en/gms/imgs_c/0/infrared/1/' + picday + '0-00.png'; // Build URL img
var buttons = {}
buttons.buienradar = {width:12, isimage:true, image: picurl};
Re: Dashticz - General Discussions
Posted: Sunday 15 April 2018 13:08
by Venzent
Running Domoticz V3.8153 and latest beta of dashticz V2.3.2, but for me also no devices visible.
Clean install, no changes but the ip and port of my domoticz
Re: Dashticz - General Discussions
Posted: Monday 16 April 2018 18:34
by poudenes
Hi All,
Can you hide the Dimmer Sliders for a lamp? I only want them to turn on/off in Dasthicz and want hide the slider?
Cheers,
Peter
Re: Dashticz - General Discussions
Posted: Sunday 29 April 2018 17:25
by poudenes
nobody?
Re: Dashticz - General Discussions
Posted: Sunday 29 April 2018 19:03
by HansieNL
@poudenes:
You can try to add to custom.css:
.ui-slider-handle, .ui-slider-horizontal {
display: none;
}
Re: Dashticz - General Discussions
Posted: Monday 30 April 2018 12:47
by poudenes
@HansieNL that did the trick !! Thanks !!
Re: Dashticz - General Discussions
Posted: Tuesday 01 May 2018 14:18
by Venzent
I have my Nest thermostat configured in Domoticz, so the temperature and humidty is reported. I would like to show the temperature on the dashboard, but have no clue on how to do it, cannot find an example either. Any directions for me?
Re: Dashticz - General Discussions
Posted: Thursday 03 May 2018 9:19
by mAiden88
Venzent wrote: ↑Tuesday 01 May 2018 14:18
I have my Nest thermostat configured in Domoticz, so the temperature and humidty is reported. I would like to show the temperature on the dashboard, but have no clue on how to do it, cannot find an example either. Any directions for me?
If you mean dashboard of Dashticz? Then you need to find out what IDX number is youre temperature sensor on Domoticz.
Ex:

- Screenshot_60.png (5.65 KiB) Viewed 3917 times
My temperature sensor idx on domoticz is: 2
in the config.js file you do the following
Code: Select all
columns[1] = {}
columns[1]['blocks'] = ['2'']
columns[1]['width'] = 5;
There you go, you add you're temperature sensor on Dashticz.