Update status switches Domoticz - Dashticz not "always working"

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: robgeerts, htilburgs

Post Reply
johnnie
Posts: 27
Joined: Wednesday 10 December 2014 22:08
Target OS: Raspberry Pi
Domoticz version: 3.8153
Location: Netherlands
Contact:

Update status switches Domoticz - Dashticz not "always working"

Post by johnnie » Wednesday 05 December 2018 19:40

Hi fellow users,

Recently I've started using Dashticz and it's looking great and also very flexible, there seems to be a lot to learn :shock: .
But I'm running into some strange behaviour and hope that somebody is willing to help me.

I've installed Dashticz v2.3.3 master on a synology server and Domoticz is running on a RPI3B+.

Some background info:
I've created a selector switch with different temperature values.
I've got a switch that turns on and off my CV.
On Domoticz I'm running SVT (Smart Virtual Thermostat).

When I change in Dashticz the temperature, so the CV will turn on, e.g. "23 graden"
The CV indicator on Dashticz "CV aan of uit" doesn't change. Allthough Domoticz is turning on the CV switch!
When I push "23 graden" again, the switch "CV aan of uit" in Dashticz is changing state!?
The same behaviour appears when I want to turn off the CV, by selecting a low temperature, e.g. "14 graden".

When I do the same thing in Domoticz (and it does run already a long time) everything is reacting promptly and consistent.
Tried different browsers: IE and Chrome and the have no differences.

A screenshot attached

Image

Thanks in advance, Johnnie
Attachments
dashticz_selector.JPG
dashticz_selector.JPG (62.02 KiB) Viewed 142 times
Raspi B+; Razberry zwave; CW2 PIUPS; lots of sensors allready

Lokonli
Posts: 141
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Update status switches Domoticz - Dashticz not "always working"

Post by Lokonli » Wednesday 05 December 2018 22:18

johnnie wrote:
Wednesday 05 December 2018 19:40
Hi fellow users,

Recently I've started using Dashticz and it's looking great and also very flexible, there seems to be a lot to learn :shock: .
But I'm running into some strange behaviour and hope that somebody is willing to help me.

I've installed Dashticz v2.3.3 master on a synology server and Domoticz is running on a RPI3B+.

Some background info:
I've created a selector switch with different temperature values.
I've got a switch that turns on and off my CV.
On Domoticz I'm running SVT (Smart Virtual Thermostat).

When I change in Dashticz the temperature, so the CV will turn on, e.g. "23 graden"
The CV indicator on Dashticz "CV aan of uit" doesn't change. Allthough Domoticz is turning on the CV switch!
When I push "23 graden" again, the switch "CV aan of uit" in Dashticz is changing state!?
The same behaviour appears when I want to turn off the CV, by selecting a low temperature, e.g. "14 graden".

When I do the same thing in Domoticz (and it does run already a long time) everything is reacting promptly and consistent.
Tried different browsers: IE and Chrome and the have no differences.

A screenshot attached

Image

Thanks in advance, Johnnie
Dashticz uses two mechanisms to update the status of devices:
1) Automatic refresh in the background every xxx seconds, defined via config['domoticz_refresh'] = '5' in CONFIG.js (for a refresh rate of 5 seconds)
2) Refresh of all devices after you press a switch in dashticz.

If you set a new temperature in Dashticz then Dashticz directly after that will request a device update from Domoticz. It might be that the CV has not been switched on/off directly, meaning that Dashticz will still show the old value. However, within 5 seconds the status in Dashticz should be the same as the status in Domoticz.

I strongly recommend to use the beta version of Dashticz. The beta version contains some improvements related to refresh of device info.

johnnie
Posts: 27
Joined: Wednesday 10 December 2014 22:08
Target OS: Raspberry Pi
Domoticz version: 3.8153
Location: Netherlands
Contact:

Re: Update status switches Domoticz - Dashticz not "always working"

Post by johnnie » Friday 07 December 2018 17:35

Hi Lokonli,

Thanks for you're explanation, since I posted the request I've done several things:
  • Waited some time, to make sure that it refreshes, no luck
  • Installed an older raspi (webserver only and for reference with syno), installed Dashticz V2 beta
  • Checked CONFIG.js, compared it with some examples. Finally made some changes and corrections
  • Installed on the syno also the beta version (by you're advise) and kept for refernce the "master" version as well
Findings:
  • CV-switch is updating, On the rpi-beta en syno-master&beta. But I'm not there yet, because:
  • When I toggle a switch a few times I receive an error and Dashticz and its not responsive as before
  • On the syno-master, the message for updating is always appering when I do F5 !?
  • On the syno and rpi-beta, there is no error, but dashticz is not working correctly. After toggling a switch I'm losing synchronisation. E.g. Dashticz shows that light is "on" but for real the light is "off" (also in domiticz the light is off)
  • And the custom icons and coloring on both beta's are not working?
My conclusion:
CONFIG.js contains a fault!?
Dashticz-beta doesn't work properly with custom icons and coloring?

Hopefully somebody can help me detemine what is wrong.
Also I posted the CONFIG and some pics showing; error, custom icon, coloring and no-icon-coloring.
Spoiler: show
/* Configuratie */
var config = {}
config['domoticz_ip'] = 'http://192.1.1.1:8086';
config['user_name'] = '';
config['pass_word'] = '';
config['app_title'] = 'plaats';
config['room_plan'] = '0';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['default_news_url'] = 'http://www.nu.nl/rss/algemeen';
config['news_scroll_after'] = '7';
config['default_cors_url'] = 'https://cors-anywhere.herokuapp.com/';
config['dashticz_php_path'] = './vendor/dashticz/';
config['theme'] = 'default';
config['background_image'] = 'img/bg2.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'] = 'nl_NL';
config['timeformat'] = 'DD-MM-YY HH:mm';
config['calendarformat'] = 'dd DD.MM HH:mm';
config['calendarlanguage'] = 'nl_NL';
config['calendarurl'] = '';
config['boss_stationclock'] = 'RedBoss';
config['gm_api'] = '';
config['gm_zoomlevel'] = '';
config['gm_latitude'] = '';
config['gm_longitude'] = '';
config['speak_lang'] = 'nl-NL';
config['wu_api'] = '';
config['wu_city'] = 'Amsterdam';
config['wu_name'] = '';
config['wu_country'] = 'NL';
// OpenWeather
config['owm_api'] = '';
config['owm_city'] = 'Mainaschaff';
config['owm_name'] = '';
config['owm_country'] = 'de';
config['owm_cnt'] = '4';
config['idx_moonpicture'] = '';
config['switch_horizon'] = '';
config['host_nzbget'] = '';
config['spot_clientid'] = '';
config['sonarr_url'] = '';
config['sonarr_apikey'] = '';
config['sonarr_maxitems'] = '';
// Vuilnis Module
config['garbage_company'] = '';
config['garbage_icalurl'] = '';
config['google_api_key'] = '';
config['garbage_calendar_id'] = '';
config['garbage_zipcode'] = '';
config['garbage_street'] = '';
config['garbage_housenumber'] = '';
config['garbage_housenumberadd'] = '';
config['garbage_maxitems'] = '';
config['garbage_width'] = '';
config['loginEnabled'] = 0;
config['disable_update_check'] = 0;
config['no_rgb'] = 0;
config['auto_positioning'] = 0;
config['use_favorites'] = 0;
config['disable_googleanalytics'] = 0;
config['last_update'] = 1;
config['hide_topbar'] = 0;
config['security_button_icons'] = 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'] = 0;
config['garbage_use_names'] = 0;
config['garbage_use_cors_prefix'] = 1;

var buttons = {}
// buttons.buienradar = {width:12, isimage:true, image: 'http://api.buienradar.nl/image/1.0/Rada ... =445&h=296', url: 'http://www.weer.nl/verwachting/nederland/son/189656/'}
// 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'}


/* Standaard blokken met config benaming */
var blocks = {}

// blok thermostaat
blocks[760] = {} //SVT - thermostat control
blocks[760]['width'] = 6;
blocks[760]['title'] = 'Thermostaat control';
blocks[760]['hide_data'] = true;

blocks[761] = {} // SVT- thermostat mode
blocks[761]['width'] = 6;
blocks[761]['title'] = 'Thermostaat mode';
blocks[761]['hide_data'] = true;

blocks[779] = {} // Thermostaat temperatuur instellen
blocks[779]['width'] = 12;
blocks[779]['title'] = 'Thermostaat temperatuur';
blocks[779]['hide_data'] = true;

blocks[762] = {} // SVT - thermostat pause
blocks[762]['width'] = 6;
blocks[762]['title'] = 'Thermostaat pauze';
blocks[762]['icon'] = 'fa-pause'
// blocks[762]['image'] = 'current48.png'; //voorbeeld icon lokaal
// blocks[762]['image'] = '/icons/thermostemp.png' // voorbeeld icon lokaal
blocks[762]['hide_data'] = true;

blocks[593] = {} //Zomerseizoen dummy schakelaar
blocks[593]['width'] = 6;
blocks[593]['title'] = 'Zomerseizoen';
blocks[593]['hide_data'] = true;

blocks[776] = {} //Plafond badkamer BG timer schakelaar 10min
blocks[776]['width'] = 4;
blocks[776]['title'] = 'Plafond 10min';
blocks[776]['hide_data'] = true;

blocks[777] = {} //Plafond badkamer BG timer schakelaar 20min
blocks[777]['width'] = 4;
blocks[777]['title'] = 'Plafond 20min';
blocks[777]['hide_data'] = true;

blocks[778] = {} //Plafond badkamer BG timer schakelaar 30min
blocks[778]['width'] = 4;
blocks[778]['title'] = 'Plafond 30min';
blocks[778]['hide_data'] = true;

blocks[765] = {} //Temperatuur huiskamer
blocks[765]['width'] = 4;
blocks[765]['title'] = 'Huiskamer';

blocks[735] = {} //Temperatuur badkamer BG
blocks[735]['width'] = 4;
blocks[735]['title'] = 'Badkamer BG';

blocks[525] = {} //Temperatuur kamer Maxim
blocks[525]['width'] = 4;
blocks[525]['title'] = 'Maxim';

blocks[470] = {} //CV aan of uit
blocks[470]['width'] = 4;
blocks[470]['title'] = 'CV aan of uit';
blocks[470]['hide_data'] = true;
blocks[470]['protected'] = true;

// blok huiskamer
blocks['s1'] = {} //scene or group: huiskamer geselecteerde lichtpunten aan of uit
blocks['s1']['width'] = 12;
blocks['s1']['title'] = 'Groep huiskamer';
blocks['s1']['hide_data'] = true;

blocks[63] = {} //Eetkamertafel
blocks[63]['width'] = 12;

blocks[85] = {} //Salontafel
blocks[85]['width'] = 12;

blocks[21] = {} //Bijzettafel
blocks[21]['width'] = 6;
blocks[21]['title'] = 'Bijzettafel';
blocks[21]['hide_data'] = true;

blocks[11] = {} //Installatie
blocks[11]['width'] = 6;
blocks[11]['title'] = 'Installatie';
blocks[11]['hide_data'] = true;

blocks[6] = {} //Voorkant
blocks[6]['width'] = 6;
blocks[6]['title'] = 'Voorkant';
blocks[6]['hide_data'] = true;

blocks[16] = {} //Zijkant
blocks[16]['width'] = 6;
blocks[16]['title'] = 'Zijkant';
blocks[16]['hide_data'] = true;

// blok keuken
blocks[89] = {}
blocks[89]['width'] = 12;
blocks[89]['title'] = 'Plafond links';

blocks[87] = {} //Plafond links
blocks[87]['width'] = 12;
blocks[87]['title'] = 'Plafond rechts';

blocks[91] = {} //Plafond rechts
blocks[91]['width'] = 12;
blocks[91]['title'] = 'Wand';
blocks[91]['hide_data'] = true;

blocks[301] = {} //Wand
blocks[301]['width'] = 12;
blocks[301]['title'] = 'Koof';
blocks[301]['hide_data'] = true;

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

blocks['blocktitle_2'] = {}
blocks['blocktitle_2']['type'] = 'blocktitle';
blocks['blocktitle_2']['title'] = 'Huiskamer';

blocks['blocktitle_3'] = {}
blocks['blocktitle_3']['type'] = 'blocktitle';
blocks['blocktitle_3']['title'] = 'Keuken';

/*Hier worden de colommen voor op het scherm gemaakt */
var columns = {}
columns[1] = {}
columns[1]['blocks'] = ['blocktitle_1',760,761,779,762,593,776,777,778,765,735,525,470]
columns[1]['width'] = 5;

columns[2] = {}
columns[2]['blocks'] = ['blocktitle_2','s1',63,85,21,11,6,16]
columns[2]['width'] = 3;

columns[3] = {}
columns[3]['blocks'] = ['blocktitle_3',89,87,91,301]
columns[3]['width'] = 3;

/*Standby modus configuratie */
var columns_standby = {}
columns_standby[1] = {}
columns_standby[1]['blocks'] = ['clock','weather']
columns_standby[1]['width'] = 12;

/*Hier worden de verschillende schermen gemaakt welke je kunt swipen */
var screens = {}
screens['default'] = {}
screens['default']['maxwidth'] = 1920;
screens['default']['maxheight'] = 1080;

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

// screens['default'][2] = {}
// screens['default'][2]['background'] = 'bg27.png';
// screens['default'][2]['columns'] = [5,6,7,8]

// screens['default'][3] = {}
// screens['default'][3]['background'] = 'bg27.png';
// screens['default'][3]['columns'] = [8,9,10,11]
Image
Image
Image
Attachments
pauze_nocustom.JPG
pauze_nocustom.JPG (10.24 KiB) Viewed 92 times
pauze_custom.JPG
pauze_custom.JPG (10.36 KiB) Viewed 92 times
error.JPG
error.JPG (11.39 KiB) Viewed 92 times
Raspi B+; Razberry zwave; CW2 PIUPS; lots of sensors allready

Lokonli
Posts: 141
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Update status switches Domoticz - Dashticz not "always working"

Post by Lokonli » Friday 07 December 2018 18:01

johnnie wrote:
Friday 07 December 2018 17:35
Hi Lokonli,

Thanks for you're explanation, since I posted the request I've done several things:
  • Waited some time, to make sure that it refreshes, no luck
  • Installed an older raspi (webserver only and for reference with syno), installed Dashticz V2 beta
  • Checked CONFIG.js, compared it with some examples. Finally made some changes and corrections
  • Installed on the syno also the beta version (by you're advise) and kept for refernce the "master" version as well
Findings:
  • CV-switch is updating, On the rpi-beta en syno-master&beta. But I'm not there yet, because:
  • When I toggle a switch a few times I receive an error and Dashticz and its not responsive as before
  • On the syno-master, the message for updating is always appering when I do F5 !?
  • On the syno and rpi-beta, there is no error, but dashticz is not working correctly. After toggling a switch I'm losing synchronisation. E.g. Dashticz shows that light is "on" but for real the light is "off" (also in domiticz the light is off)
  • And the custom icons and coloring on both beta's are not working?
My conclusion:
CONFIG.js contains a fault!?
Dashticz-beta doesn't work properly with custom icons and coloring?

Hopefully somebody can help me detemine what is wrong.
Also I posted the CONFIG and some pics showing; error, custom icon, coloring and no-icon-coloring.
Spoiler: show
/* Configuratie */
var config = {}
config['domoticz_ip'] = 'http://192.1.1.1:8086';
config['user_name'] = '';
config['pass_word'] = '';
config['app_title'] = 'plaats';
config['room_plan'] = '0';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['default_news_url'] = 'http://www.nu.nl/rss/algemeen';
config['news_scroll_after'] = '7';
config['default_cors_url'] = 'https://cors-anywhere.herokuapp.com/';
config['dashticz_php_path'] = './vendor/dashticz/';
config['theme'] = 'default';
config['background_image'] = 'img/bg2.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'] = 'nl_NL';
config['timeformat'] = 'DD-MM-YY HH:mm';
config['calendarformat'] = 'dd DD.MM HH:mm';
config['calendarlanguage'] = 'nl_NL';
config['calendarurl'] = '';
config['boss_stationclock'] = 'RedBoss';
config['gm_api'] = '';
config['gm_zoomlevel'] = '';
config['gm_latitude'] = '';
config['gm_longitude'] = '';
config['speak_lang'] = 'nl-NL';
config['wu_api'] = '';
config['wu_city'] = 'Amsterdam';
config['wu_name'] = '';
config['wu_country'] = 'NL';
// OpenWeather
config['owm_api'] = '';
config['owm_city'] = 'Mainaschaff';
config['owm_name'] = '';
config['owm_country'] = 'de';
config['owm_cnt'] = '4';
config['idx_moonpicture'] = '';
config['switch_horizon'] = '';
config['host_nzbget'] = '';
config['spot_clientid'] = '';
config['sonarr_url'] = '';
config['sonarr_apikey'] = '';
config['sonarr_maxitems'] = '';
// Vuilnis Module
config['garbage_company'] = '';
config['garbage_icalurl'] = '';
config['google_api_key'] = '';
config['garbage_calendar_id'] = '';
config['garbage_zipcode'] = '';
config['garbage_street'] = '';
config['garbage_housenumber'] = '';
config['garbage_housenumberadd'] = '';
config['garbage_maxitems'] = '';
config['garbage_width'] = '';
config['loginEnabled'] = 0;
config['disable_update_check'] = 0;
config['no_rgb'] = 0;
config['auto_positioning'] = 0;
config['use_favorites'] = 0;
config['disable_googleanalytics'] = 0;
config['last_update'] = 1;
config['hide_topbar'] = 0;
config['security_button_icons'] = 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'] = 0;
config['garbage_use_names'] = 0;
config['garbage_use_cors_prefix'] = 1;

var buttons = {}
// buttons.buienradar = {width:12, isimage:true, image: 'http://api.buienradar.nl/image/1.0/Rada ... =445&h=296', url: 'http://www.weer.nl/verwachting/nederland/son/189656/'}
// 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'}


/* Standaard blokken met config benaming */
var blocks = {}

// blok thermostaat
blocks[760] = {} //SVT - thermostat control
blocks[760]['width'] = 6;
blocks[760]['title'] = 'Thermostaat control';
blocks[760]['hide_data'] = true;

blocks[761] = {} // SVT- thermostat mode
blocks[761]['width'] = 6;
blocks[761]['title'] = 'Thermostaat mode';
blocks[761]['hide_data'] = true;

blocks[779] = {} // Thermostaat temperatuur instellen
blocks[779]['width'] = 12;
blocks[779]['title'] = 'Thermostaat temperatuur';
blocks[779]['hide_data'] = true;

blocks[762] = {} // SVT - thermostat pause
blocks[762]['width'] = 6;
blocks[762]['title'] = 'Thermostaat pauze';
blocks[762]['icon'] = 'fa-pause'
// blocks[762]['image'] = 'current48.png'; //voorbeeld icon lokaal
// blocks[762]['image'] = '/icons/thermostemp.png' // voorbeeld icon lokaal
blocks[762]['hide_data'] = true;

blocks[593] = {} //Zomerseizoen dummy schakelaar
blocks[593]['width'] = 6;
blocks[593]['title'] = 'Zomerseizoen';
blocks[593]['hide_data'] = true;

blocks[776] = {} //Plafond badkamer BG timer schakelaar 10min
blocks[776]['width'] = 4;
blocks[776]['title'] = 'Plafond 10min';
blocks[776]['hide_data'] = true;

blocks[777] = {} //Plafond badkamer BG timer schakelaar 20min
blocks[777]['width'] = 4;
blocks[777]['title'] = 'Plafond 20min';
blocks[777]['hide_data'] = true;

blocks[778] = {} //Plafond badkamer BG timer schakelaar 30min
blocks[778]['width'] = 4;
blocks[778]['title'] = 'Plafond 30min';
blocks[778]['hide_data'] = true;

blocks[765] = {} //Temperatuur huiskamer
blocks[765]['width'] = 4;
blocks[765]['title'] = 'Huiskamer';

blocks[735] = {} //Temperatuur badkamer BG
blocks[735]['width'] = 4;
blocks[735]['title'] = 'Badkamer BG';

blocks[525] = {} //Temperatuur kamer Maxim
blocks[525]['width'] = 4;
blocks[525]['title'] = 'Maxim';

blocks[470] = {} //CV aan of uit
blocks[470]['width'] = 4;
blocks[470]['title'] = 'CV aan of uit';
blocks[470]['hide_data'] = true;
blocks[470]['protected'] = true;

// blok huiskamer
blocks['s1'] = {} //scene or group: huiskamer geselecteerde lichtpunten aan of uit
blocks['s1']['width'] = 12;
blocks['s1']['title'] = 'Groep huiskamer';
blocks['s1']['hide_data'] = true;

blocks[63] = {} //Eetkamertafel
blocks[63]['width'] = 12;

blocks[85] = {} //Salontafel
blocks[85]['width'] = 12;

blocks[21] = {} //Bijzettafel
blocks[21]['width'] = 6;
blocks[21]['title'] = 'Bijzettafel';
blocks[21]['hide_data'] = true;

blocks[11] = {} //Installatie
blocks[11]['width'] = 6;
blocks[11]['title'] = 'Installatie';
blocks[11]['hide_data'] = true;

blocks[6] = {} //Voorkant
blocks[6]['width'] = 6;
blocks[6]['title'] = 'Voorkant';
blocks[6]['hide_data'] = true;

blocks[16] = {} //Zijkant
blocks[16]['width'] = 6;
blocks[16]['title'] = 'Zijkant';
blocks[16]['hide_data'] = true;

// blok keuken
blocks[89] = {}
blocks[89]['width'] = 12;
blocks[89]['title'] = 'Plafond links';

blocks[87] = {} //Plafond links
blocks[87]['width'] = 12;
blocks[87]['title'] = 'Plafond rechts';

blocks[91] = {} //Plafond rechts
blocks[91]['width'] = 12;
blocks[91]['title'] = 'Wand';
blocks[91]['hide_data'] = true;

blocks[301] = {} //Wand
blocks[301]['width'] = 12;
blocks[301]['title'] = 'Koof';
blocks[301]['hide_data'] = true;

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

blocks['blocktitle_2'] = {}
blocks['blocktitle_2']['type'] = 'blocktitle';
blocks['blocktitle_2']['title'] = 'Huiskamer';

blocks['blocktitle_3'] = {}
blocks['blocktitle_3']['type'] = 'blocktitle';
blocks['blocktitle_3']['title'] = 'Keuken';

/*Hier worden de colommen voor op het scherm gemaakt */
var columns = {}
columns[1] = {}
columns[1]['blocks'] = ['blocktitle_1',760,761,779,762,593,776,777,778,765,735,525,470]
columns[1]['width'] = 5;

columns[2] = {}
columns[2]['blocks'] = ['blocktitle_2','s1',63,85,21,11,6,16]
columns[2]['width'] = 3;

columns[3] = {}
columns[3]['blocks'] = ['blocktitle_3',89,87,91,301]
columns[3]['width'] = 3;

/*Standby modus configuratie */
var columns_standby = {}
columns_standby[1] = {}
columns_standby[1]['blocks'] = ['clock','weather']
columns_standby[1]['width'] = 12;

/*Hier worden de verschillende schermen gemaakt welke je kunt swipen */
var screens = {}
screens['default'] = {}
screens['default']['maxwidth'] = 1920;
screens['default']['maxheight'] = 1080;

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

// screens['default'][2] = {}
// screens['default'][2]['background'] = 'bg27.png';
// screens['default'][2]['columns'] = [5,6,7,8]

// screens['default'][3] = {}
// screens['default'][3]['background'] = 'bg27.png';
// screens['default'][3]['columns'] = [8,9,10,11]
Image
Image
Image
I see only one small mistake in your CONFIG.js. In Dashticz-beta we switched to a new FontAwesome version. You have to select the right symbol as follows:

Code: Select all

blocks[762]['icon'] = 'fas fa-pause'
Frequent toggling of a switches will indeed give the red connection error. (It should however not have really impact on the performance). There is a PR on that, so that will be merged in the next beta. If you want to test please send me a PM.

johnnie
Posts: 27
Joined: Wednesday 10 December 2014 22:08
Target OS: Raspberry Pi
Domoticz version: 3.8153
Location: Netherlands
Contact:

Re: Update status switches Domoticz - Dashticz not "always working"

Post by johnnie » Friday 07 December 2018 20:13

Hi Lokonli

Thanks that did the trick and also explaines it!

Best regards Johnnie
Raspi B+; Razberry zwave; CW2 PIUPS; lots of sensors allready

Lokonli
Posts: 141
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Update status switches Domoticz - Dashticz not "always working"

Post by Lokonli » Friday 07 December 2018 20:50

good!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest