Page 1 of 2

Dashticz v3.7.4 beta

Posted: Saturday 20 February 2021 17:27
by Lokonli
Dashticz v3.7.4 has just been released.

This release mainly contains some dial related improvements:
* Text devices are supported.
* The formatting of values changed. If needed add 'decimals: 0' to your block definition to remove the digits behind the decimal point.

For a description of all changes check the release notes:
https://dashticz.readthedocs.io/en/beta ... -20-2-2021

Re: Dashticz v3.7.4 beta

Posted: Saturday 20 February 2021 19:31
by madpatrick
Hi Lokonli,

I tried the 'decimals: 0' parameter with a dimmer, but this still give a decimal in the dial

Code: Select all

blocks['dimmer_hal']	 	= {idx: 154, type: 'dial', color: '#ffff00', width: 2, last_update: false, title:' ', shownumbers: true, showring: true, showunit: true,decimals: 0}

Re: Dashticz v3.7.4 beta

Posted: Saturday 20 February 2021 20:37
by Foxhill67
Hi Lokonli,

since update to V3.7.4 beta (from V3.7.2 beta), my combined calendars block only shows text 'Button'.

Code: Select all

calendars.combined = {width: 10, maxitems:15, calFormat:1, dateFormat: "dd DD MMM", timeFormat: "HH.mm", calendars: [{ color:'white',calendar:calendars.x},{ color:'aqua',calendar:calendars.y},{ color:'lightcoral',calendar:calendars.z},{ color:'yellow',calendar:calendars.w},{ color:'lightgreen',calendar:calendars.holiday}]}
Any suggestions how to fix this?

Re: Dashticz v3.7.4 beta

Posted: Saturday 20 February 2021 22:21
by HansieNL
Foxhill67 wrote: Saturday 20 February 2021 20:37 Hi Lokonli,

since update to V3.7.4 beta (from V3.7.2 beta), my combined calendars block only shows text 'Button'.

Code: Select all

calendars.combined = {width: 10, maxitems:15, calFormat:1, dateFormat: "dd DD MMM", timeFormat: "HH.mm", calendars: [{ color:'white',calendar:calendars.x},{ color:'aqua',calendar:calendars.y},{ color:'lightcoral',calendar:calendars.z},{ color:'yellow',calendar:calendars.w},{ color:'lightgreen',calendar:calendars.holiday}]}
Any suggestions how to fix this?
The parameter calFormat is absolute since V3.7.3. You have to use one of the layout formats.
See https://dashticz.readthedocs.io/en/bet ... endar.html

Re: Dashticz v3.7.4 beta

Posted: Saturday 20 February 2021 23:02
by Krenstik
Hi,

I miss a usage el. dial. but all other dial ( mostly with temp, CO2) working

Code: Select all

blocks['spotreba'] =    {      type: 'dial', title: 'Odběr', width: 6, min: 100, max: 3500, showunit: false, shownumbers: true, last_update:false, showring: true,
        values : [      { value: 'Data', idx: 66  },
			{ value:'Data', idx: 63,  },
			{ value:'CounterToday', idx: 65,           },	]}		
			
Also any idea how to set setpoint, for example here on the value 1500. ...

Or for ppm dial:

Code: Select all

ocks['oco'] = {        type: 'dial', width: 2, title: 'Obyvak', showunit: true, switch: true, shownumbers: true, showring: true, last_update: true, setpoint: 1300, min: 450, max: 2700,
        values : [      { value: 'Data', idx: 47       },
			{ value: 'Data', idx: 48 , icon: 'fas fa-volume-up', unit:' dB',  },
			{ value: 'Data', idx: 22 , unit:' LUX',  }, ]}
Thank you.

Re: Dashticz v3.7.4 beta

Posted: Sunday 21 February 2021 11:06
by Foxhill67
HansieNL wrote: Saturday 20 February 2021 22:21
Foxhill67 wrote: Saturday 20 February 2021 20:37 Hi Lokonli,

since update to V3.7.4 beta (from V3.7.2 beta), my combined calendars block only shows text 'Button'.

Code: Select all

calendars.combined = {width: 10, maxitems:15, calFormat:1, dateFormat: "dd DD MMM", timeFormat: "HH.mm", calendars: [{ color:'white',calendar:calendars.x},{ color:'aqua',calendar:calendars.y},{ color:'lightcoral',calendar:calendars.z},{ color:'yellow',calendar:calendars.w},{ color:'lightgreen',calendar:calendars.holiday}]}
Any suggestions how to fix this?
The parameter calFormat is absolute since V3.7.3. You have to use one of the layout formats.
See https://dashticz.readthedocs.io/en/bet ... endar.html
Thanks, must have missed this while reading the release notes. Have updated my config.js and everything works like a charm again!

Re: Dashticz v3.7.4 beta

Posted: Sunday 21 February 2021 16:31
by Lokonli
madpatrick wrote: Saturday 20 February 2021 19:31 Hi Lokonli,

I tried the 'decimals: 0' parameter with a dimmer, but this still give a decimal in the dial

Code: Select all

blocks['dimmer_hal']	 	= {idx: 154, type: 'dial', color: '#ffff00', width: 2, last_update: false, title:' ', shownumbers: true, showring: true, showunit: true,decimals: 0}
Should be fixed in latest beta. Can you test?

Re: Dashticz v3.7.4 beta

Posted: Sunday 21 February 2021 16:33
by madpatrick
It is working now.

Re: Dashticz v3.7.4 beta

Posted: Sunday 21 February 2021 16:36
by Lokonli
Krenstik wrote: Saturday 20 February 2021 23:02 Hi,

I miss a usage el. dial.
I don't understand your remark. Can you clarify?

Can you add the Domoticz json output of the device you want to show:

Code: Select all

http://domoticzip:port/json.htm?type=devices&rid=123
replace 123 with your Domoticz device id.

Can you also indicate which field you would like to use for the dial?

Re: Dashticz v3.7.4 beta

Posted: Sunday 21 February 2021 16:42
by Krenstik
Hi,
is a power concuption. In last beta was fully working:
Snímek obrazovky 2021-02-21 163912.jpg
Snímek obrazovky 2021-02-21 163912.jpg (53.83 KiB) Viewed 1045 times
but now I have just name:
Snímek obrazovky 2021-02-21 163940.jpg
Snímek obrazovky 2021-02-21 163940.jpg (43.62 KiB) Viewed 1045 times
And here a json:

Code: Select all

{
ActTime: 1613922038,
AstrTwilightEnd: "19:10",
AstrTwilightStart: "05:05",
CivTwilightEnd: "17:56",
CivTwilightStart: "06:19",
DayLength: "10:33",
NautTwilightEnd: "18:33",
NautTwilightStart: "05:42",
ServerTime: "2021-02-21 16:40:38",
SunAtSouth: "12:07",
Sunrise: "06:51",
Sunset: "17:24",
app_version: "2020.2 (build 12738)",
result: [
{
AddjMulti: 1,
AddjMulti2: 1,
AddjValue: 0,
AddjValue2: 0,
BatteryLevel: 255,
CustomImage: 0,
Data: "521.6 Watt",
Description: "",
Favorite: 1,
HardwareDisabled: false,
HardwareID: 6,
HardwareName: "Z-wave",
HardwareType: "OpenZWave USB",
HardwareTypeVal: 21,
HaveTimeout: false,
ID: "0000201",
LastUpdate: "2021-02-21 16:40:35",
Name: "Spotřeba komplet",
Notifications: "false",
PlanID: "9",
PlanIDs: [
9
],
Protected: false,
ShowNotifications: true,
SignalLevel: "-",
SubType: "Electric",
Timers: "false",
Type: "Usage",
TypeImg: "current",
Unit: 2,
Used: 1,
XOffset: "767",
YOffset: "148",
idx: "66"
}
],
status: "OK",
title: "Devices"
}
and dial:

Code: Select all

blocks['spotreba'] =    {      type: 'dial', title: 'Odběr', width: 6, min: 100, max: 3500, showunit: false, shownumbers: true, last_update:false, showring: true,
        values : [  { value: 'Data', idx: 66  },
			{ value:'Data', idx: 63,  },
			{ value:'CounterToday', idx: 65,           },]}

Re: Dashticz v3.7.4 beta

Posted: Sunday 21 February 2021 18:24
by Lokonli
Krenstik wrote: Sunday 21 February 2021 16:42 Hi,
is a power concuption. In last beta was fully working:Snímek obrazovky 2021-02-21 163912.jpg

but now I have just name:

Snímek obrazovky 2021-02-21 163940.jpg

And here a json:

Code: Select all

{
ActTime: 1613922038,
AstrTwilightEnd: "19:10",
AstrTwilightStart: "05:05",
CivTwilightEnd: "17:56",
CivTwilightStart: "06:19",
DayLength: "10:33",
NautTwilightEnd: "18:33",
NautTwilightStart: "05:42",
ServerTime: "2021-02-21 16:40:38",
SunAtSouth: "12:07",
Sunrise: "06:51",
Sunset: "17:24",
app_version: "2020.2 (build 12738)",
result: [
{
AddjMulti: 1,
AddjMulti2: 1,
AddjValue: 0,
AddjValue2: 0,
BatteryLevel: 255,
CustomImage: 0,
Data: "521.6 Watt",
Description: "",
Favorite: 1,
HardwareDisabled: false,
HardwareID: 6,
HardwareName: "Z-wave",
HardwareType: "OpenZWave USB",
HardwareTypeVal: 21,
HaveTimeout: false,
ID: "0000201",
LastUpdate: "2021-02-21 16:40:35",
Name: "Spotřeba komplet",
Notifications: "false",
PlanID: "9",
PlanIDs: [
9
],
Protected: false,
ShowNotifications: true,
SignalLevel: "-",
SubType: "Electric",
Timers: "false",
Type: "Usage",
TypeImg: "current",
Unit: 2,
Used: 1,
XOffset: "767",
YOffset: "148",
idx: "66"
}
],
status: "OK",
title: "Devices"
}
and dial:

Code: Select all

blocks['spotreba'] =    {      type: 'dial', title: 'Odběr', width: 6, min: 100, max: 3500, showunit: false, shownumbers: true, last_update:false, showring: true,
        values : [  { value: 'Data', idx: 66  },
			{ value:'Data', idx: 63,  },
			{ value:'CounterToday', idx: 65,           },]}
Could you post the Domoticz json output for device 63 and 65 as well?

Re: Dashticz v3.7.4 beta

Posted: Sunday 21 February 2021 19:22
by Krenstik
Here 63:

Code: Select all

ActTime: 1613931558,
AstrTwilightEnd: "19:10",
AstrTwilightStart: "05:05",
CivTwilightEnd: "17:56",
CivTwilightStart: "06:19",
DayLength: "10:33",
NautTwilightEnd: "18:33",
NautTwilightStart: "05:42",
ServerTime: "2021-02-21 19:19:18",
SunAtSouth: "12:07",
Sunrise: "06:51",
Sunset: "17:24",
app_version: "2020.2 (build 12738)",
result: [
{
AddjMulti: 1,
AddjMulti2: 1,
AddjValue: 0,
AddjValue2: 0,
BatteryLevel: 255,
CustomImage: 0,
Data: "236.47 V",
Description: "",
Favorite: 0,
HardwareDisabled: false,
HardwareID: 6,
HardwareName: "Z-wave",
HardwareType: "OpenZWave USB",
HardwareTypeVal: 21,
HaveTimeout: false,
ID: "00000401",
LastUpdate: "2021-02-21 19:15:59",
Name: "Voltage",
Notifications: "false",
PlanID: "0",
PlanIDs: [
0
],
Protected: false,
ShowNotifications: true,
SignalLevel: "-",
SubType: "Voltage",
Timers: "false",
Type: "General",
TypeImg: "current",
Unit: 1,
Used: 1,
Voltage: 236.47,
XOffset: "0",
YOffset: "0",
idx: "63"
}
],
status: "OK",
title: "Devices"
and here 65:

Code: Select all

ActTime: 1613931674,
AstrTwilightEnd: "19:10",
AstrTwilightStart: "05:05",
CivTwilightEnd: "17:56",
CivTwilightStart: "06:19",
DayLength: "10:33",
NautTwilightEnd: "18:33",
NautTwilightStart: "05:42",
ServerTime: "2021-02-21 19:21:14",
SunAtSouth: "12:07",
Sunrise: "06:51",
Sunset: "17:24",
app_version: "2020.2 (build 12738)",
result: [
{
AddjMulti: 1,
AddjMulti2: 1,
AddjValue: 0,
AddjValue2: 0,
BatteryLevel: 255,
CounterToday: "8.000 kWh",
CustomImage: 0,
Data: "1311.800 kWh",
Description: "",
EnergyMeterMode: "",
Favorite: 0,
HardwareDisabled: false,
HardwareID: 6,
HardwareName: "Z-wave",
HardwareType: "OpenZWave USB",
HardwareTypeVal: 21,
HaveTimeout: false,
ID: "00000201",
LastUpdate: "2021-02-21 19:21:05",
Name: "Denní spotřeba",
Notifications: "false",
PlanID: "9",
PlanIDs: [
9
],
Protected: false,
ShowNotifications: true,
SignalLevel: "-",
SubType: "kWh",
SwitchTypeVal: 0,
Timers: "false",
Type: "General",
TypeImg: "current",
Unit: 1,
Usage: "506.5 Watt",
Used: 1,
XOffset: "766",
YOffset: "87",
idx: "65"
}
],
status: "OK",
title: "Devices"

Re: Dashticz v3.7.4 beta

Posted: Sunday 21 February 2021 21:54
by Lokonli
Krenstik wrote: Sunday 21 February 2021 16:42 Hi,
is a power concuption. In last beta was fully working:Snímek obrazovky 2021-02-21 163912.jpg

but now I have just name:

Snímek obrazovky 2021-02-21 163940.jpg

And here a json:

Code: Select all

{
ActTime: 1613922038,
AstrTwilightEnd: "19:10",
AstrTwilightStart: "05:05",
CivTwilightEnd: "17:56",
CivTwilightStart: "06:19",
DayLength: "10:33",
NautTwilightEnd: "18:33",
NautTwilightStart: "05:42",
ServerTime: "2021-02-21 16:40:38",
SunAtSouth: "12:07",
Sunrise: "06:51",
Sunset: "17:24",
app_version: "2020.2 (build 12738)",
result: [
{
AddjMulti: 1,
AddjMulti2: 1,
AddjValue: 0,
AddjValue2: 0,
BatteryLevel: 255,
CustomImage: 0,
Data: "521.6 Watt",
Description: "",
Favorite: 1,
HardwareDisabled: false,
HardwareID: 6,
HardwareName: "Z-wave",
HardwareType: "OpenZWave USB",
HardwareTypeVal: 21,
HaveTimeout: false,
ID: "0000201",
LastUpdate: "2021-02-21 16:40:35",
Name: "Spotřeba komplet",
Notifications: "false",
PlanID: "9",
PlanIDs: [
9
],
Protected: false,
ShowNotifications: true,
SignalLevel: "-",
SubType: "Electric",
Timers: "false",
Type: "Usage",
TypeImg: "current",
Unit: 2,
Used: 1,
XOffset: "767",
YOffset: "148",
idx: "66"
}
],
status: "OK",
title: "Devices"
}
and dial:

Code: Select all

blocks['spotreba'] =    {      type: 'dial', title: 'Odběr', width: 6, min: 100, max: 3500, showunit: false, shownumbers: true, last_update:false, showring: true,
        values : [  { value: 'Data', idx: 66  },
			{ value:'Data', idx: 63,  },
			{ value:'CounterToday', idx: 65,           },]}
I can reproduce your issue if you have defined the following in CONFIG.js:

Code: Select all

config['use_favorites'] = 1
In this case, Dashticz doesn't receive the information for device 63 and device 65, since they are not marked as favorite in Domoticz.

So, change this setting to:

Code: Select all

config['use_favorites'] = 0
In the mean time, I've improved the dial error handling in latest beta, so at least you see some info when this error occurs.
Can you test with latest beta?

Re: Dashticz v3.7.4 beta

Posted: Sunday 21 February 2021 22:56
by Krenstik

Code: Select all

config['use_favorites'] = 0
I do not have it in the config at all, but anyway if I add to confing this not help..

But select those two Domoticz as a favourite help. ;-)

Thank you.

For sure, the latest beta, I´ve updated now. ;-)

And regarding setpoint for ppm, or this power consumption?

Re: Dashticz v3.7.4 beta

Posted: Monday 22 February 2021 8:21
by Lokonli
Krenstik wrote: Sunday 21 February 2021 22:56 And regarding setpoint for ppm, or this power consumption?
Should work in latest beta. Can you test?

Re: Dashticz v3.7.4 beta

Posted: Tuesday 23 February 2021 18:44
by Krenstik
Snímek obrazovky 2021-02-23 184359.jpg
Snímek obrazovky 2021-02-23 184359.jpg (270.49 KiB) Viewed 961 times
Working well.

NIce ;-) Thank you.

Re: Dashticz v3.7.4 beta

Posted: Tuesday 23 February 2021 20:30
by pvklink
I have the latest beta running without any problems.
I have several dials, and want to get my p1 dial ok.
Its a dial for a energie p1 device with two meters, day and night

I like to show the two values/data 9835192 and 9763855 instead of -3.99 it is showing now..

Can somebody give me a hint how to acomplish this?
Naamloos.jpg
Naamloos.jpg (31.92 KiB) Viewed 947 times

Re: Dashticz v3.7.4 beta

Posted: Tuesday 23 February 2021 21:54
by Lokonli
pvklink wrote: Tuesday 23 February 2021 20:30 I have the latest beta running without any problems.
I have several dials, and want to get my p1 dial ok.
Its a dial for a energie p1 device with two meters, day and night

I like to show the two values/data 9835192 and 9763855 instead of -3.99 it is showing now..

Can somebody give me a hint how to acomplish this?

Naamloos.jpg
Add the following to your block:

Code: Select all

  values:['Counter', 'CounterDeliv']
Also see:
https://dashticz.readthedocs.io/en/beta ... neric-dial

Re: Dashticz v3.7.4 beta

Posted: Wednesday 24 February 2021 22:10
by pvklink
thanks, and i am gonne read the beta doc

Re: Dashticz v3.7.4 beta

Posted: Wednesday 24 February 2021 22:19
by pvklink
OK,

This is the total of the two vaues together.
How do i show both seperate?
When i want to check my bill :-) day and night counters