Dashticz v3.7.4 beta

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

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

Dashticz v3.7.4 beta

Post 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
User avatar
madpatrick
Posts: 667
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2025.1
Location: Netherlands
Contact:

Re: Dashticz v3.7.4 beta

Post 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}
-= HP server GEN11 =- OZW -=- Toon2 (rooted) -=- Domoticz v2025.1 -=- Dashticz v3.14b on Tab8" =-
Foxhill67
Posts: 2
Joined: Saturday 20 February 2021 20:16
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

Re: Dashticz v3.7.4 beta

Post 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?
User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.7.4 beta

Post 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
Blah blah blah
Krenstik
Posts: 45
Joined: Saturday 13 June 2020 12:51
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Dashticz v3.7.4 beta

Post 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.
Foxhill67
Posts: 2
Joined: Saturday 20 February 2021 20:16
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

Re: Dashticz v3.7.4 beta

Post 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!
Lokonli
Posts: 2291
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.7.4 beta

Post 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?
User avatar
madpatrick
Posts: 667
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2025.1
Location: Netherlands
Contact:

Re: Dashticz v3.7.4 beta

Post by madpatrick »

It is working now.
-= HP server GEN11 =- OZW -=- Toon2 (rooted) -=- Domoticz v2025.1 -=- Dashticz v3.14b on Tab8" =-
Lokonli
Posts: 2291
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.7.4 beta

Post 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?
Krenstik
Posts: 45
Joined: Saturday 13 June 2020 12:51
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Dashticz v3.7.4 beta

Post 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 1047 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 1047 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,           },]}
Lokonli
Posts: 2291
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.7.4 beta

Post 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?
Krenstik
Posts: 45
Joined: Saturday 13 June 2020 12:51
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Dashticz v3.7.4 beta

Post 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"
Lokonli
Posts: 2291
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.7.4 beta

Post 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?
Krenstik
Posts: 45
Joined: Saturday 13 June 2020 12:51
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Dashticz v3.7.4 beta

Post 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?
Lokonli
Posts: 2291
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.7.4 beta

Post 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?
Krenstik
Posts: 45
Joined: Saturday 13 June 2020 12:51
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Dashticz v3.7.4 beta

Post by Krenstik »

Snímek obrazovky 2021-02-23 184359.jpg
Snímek obrazovky 2021-02-23 184359.jpg (270.49 KiB) Viewed 963 times
Working well.

NIce ;-) Thank you.
pvklink
Posts: 822
Joined: Wednesday 12 November 2014 15:01
Target OS: Raspberry Pi / ODroid
Domoticz version: latest b
Contact:

Re: Dashticz v3.7.4 beta

Post 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 949 times
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
Lokonli
Posts: 2291
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.7.4 beta

Post 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
pvklink
Posts: 822
Joined: Wednesday 12 November 2014 15:01
Target OS: Raspberry Pi / ODroid
Domoticz version: latest b
Contact:

Re: Dashticz v3.7.4 beta

Post by pvklink »

thanks, and i am gonne read the beta doc
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
pvklink
Posts: 822
Joined: Wednesday 12 November 2014 15:01
Target OS: Raspberry Pi / ODroid
Domoticz version: latest b
Contact:

Re: Dashticz v3.7.4 beta

Post 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
Last edited by pvklink on Sunday 28 February 2021 13:51, edited 1 time in total.
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest