Dashticz v3.7.5 beta

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

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

Re: Dashticz v3.7.5 beta

Post by Lokonli »

pvklink wrote: Sunday 07 March 2021 21:21 I can't get switch to work for the longfonds block
I changed the value from true to false, but nothing happens

Code: Select all

blocks['longfonds'] = {
	zipcode: '2543BA',
	title: 'Luchtkwaliteit',
        switch: true,
	housenumber: '25',
        width: 4,
}
The switch parameter is not implemented for special blocks like Longfonds.
The documentation is incorrect.
pvklink
Posts: 822
Joined: Wednesday 12 November 2014 15:01
Target OS: Raspberry Pi / ODroid
Domoticz version: latest b
Contact:

Re: Dashticz v3.7.5 beta

Post by pvklink »

ok, no problem :-)
I have another strange thing, some devices from Kerio (door, window sensors), do have an update_date var and when i activate them in dashticz to show it , it does not work for these devices.
In domoticz it is visible as last seen and also the json command gives an update_data for kerio devices

blocks[1752] ={title: 'Tuindeur', hide_data: true,width: 2,last_update: true, gotoslideOn:2}

Code: Select all

{
	"ActTime" : 1615187229,
	"AstrTwilightEnd" : "20:27",
	"AstrTwilightStart" : "05:19",
	"CivTwilightEnd" : "19:08",
	"CivTwilightStart" : "06:38",
	"DayLength" : "11:23",
	"NautTwilightEnd" : "19:48",
	"NautTwilightStart" : "05:59",
	"ServerTime" : "2021-03-08 08:07:09",
	"SunAtSouth" : "12:53",
	"Sunrise" : "07:12",
	"Sunset" : "18:35",
	"app_version" : "2020.2 (build 12934)",
	"result" : 
	[
		{
			"AddjMulti" : 1.0,
			"AddjMulti2" : 1.0,
			"AddjValue" : 0.0,
			"AddjValue2" : 0.0,
			"BatteryLevel" : 100,
			"CustomImage" : 0,
			"Data" : "Normal",
			"Description" : "",
			"Favorite" : 0,
			"HardwareDisabled" : false,
			"HardwareID" : 2,
			"HardwareName" : "rfxcom",
			"HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver",
			"HardwareTypeVal" : 1,
			"HaveDimmer" : false,
			"HaveGroupCmd" : false,
			"HaveTimeout" : false,
			"ID" : "BFD1A0",
			"LastUpdate" : "2021-03-08 07:30:34",
			"MaxDimLevel" : 0,
			"Name" : "doorsensor_tuindeur_1",
			"Notifications" : "false",
			"PlanID" : "0",
			"PlanIDs" : 
			[
				0
			],
			"Protected" : false,
			"ShowNotifications" : true,
			"SignalLevel" : 7,
			"Status" : "Normal",
			"StrParam1" : "",
			"StrParam2" : "",
			"SubType" : "X10 security",
			"SwitchType" : "Security",
			"SwitchTypeVal" : 11,
			"Timers" : "false",
			"Type" : "Security",
			"TypeImg" : "security",
			"Unit" : 0,
			"Used" : 1,
			"XOffset" : "0",
			"YOffset" : "0",
			"idx" : "1752"
		}
	],
	"status" : "OK",
	"title" : "Devices"
}


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

Re: Dashticz v3.7.5 beta

Post by Lokonli »

pvklink wrote: Monday 08 March 2021 8:04 ok, no problem :-)
I have another strange thing, some devices from Kerio (door, window sensors), do have an update_date var and when i activate them in dashticz to show it , it does not work for these devices.
In domoticz it is visible as last seen and also the json command gives an update_data for kerio devices

blocks[1752] ={title: 'Tuindeur', hide_data: true,width: 2,last_update: true, gotoslideOn:2}

Code: Select all

{
	"ActTime" : 1615187229,
	"AstrTwilightEnd" : "20:27",
	"AstrTwilightStart" : "05:19",
	"CivTwilightEnd" : "19:08",
	"CivTwilightStart" : "06:38",
	"DayLength" : "11:23",
	"NautTwilightEnd" : "19:48",
	"NautTwilightStart" : "05:59",
	"ServerTime" : "2021-03-08 08:07:09",
	"SunAtSouth" : "12:53",
	"Sunrise" : "07:12",
	"Sunset" : "18:35",
	"app_version" : "2020.2 (build 12934)",
	"result" : 
	[
		{
			"AddjMulti" : 1.0,
			"AddjMulti2" : 1.0,
			"AddjValue" : 0.0,
			"AddjValue2" : 0.0,
			"BatteryLevel" : 100,
			"CustomImage" : 0,
			"Data" : "Normal",
			"Description" : "",
			"Favorite" : 0,
			"HardwareDisabled" : false,
			"HardwareID" : 2,
			"HardwareName" : "rfxcom",
			"HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver",
			"HardwareTypeVal" : 1,
			"HaveDimmer" : false,
			"HaveGroupCmd" : false,
			"HaveTimeout" : false,
			"ID" : "BFD1A0",
			"LastUpdate" : "2021-03-08 07:30:34",
			"MaxDimLevel" : 0,
			"Name" : "doorsensor_tuindeur_1",
			"Notifications" : "false",
			"PlanID" : "0",
			"PlanIDs" : 
			[
				0
			],
			"Protected" : false,
			"ShowNotifications" : true,
			"SignalLevel" : 7,
			"Status" : "Normal",
			"StrParam1" : "",
			"StrParam2" : "",
			"SubType" : "X10 security",
			"SwitchType" : "Security",
			"SwitchTypeVal" : 11,
			"Timers" : "false",
			"Type" : "Security",
			"TypeImg" : "security",
			"Unit" : 0,
			"Used" : 1,
			"XOffset" : "0",
			"YOffset" : "0",
			"idx" : "1752"
		}
	],
	"status" : "OK",
	"title" : "Devices"
}


If I remember correctly, last_update was only shown if hide_data was set to false.

Could you check this?
pvklink
Posts: 822
Joined: Wednesday 12 November 2014 15:01
Target OS: Raspberry Pi / ODroid
Domoticz version: latest b
Contact:

Re: Dashticz v3.7.5 beta

Post by pvklink »

check it after 1700
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.5 beta

Post by pvklink »

Tested it!

blocks[1752] ={title: 'Tuindeur', hide_data: true, width: 2,last_update: true, gotoslideOn:2}
blocks[2009] ={title: 'Voordeur', hide_data: false, width: 2,last_update: true, gotoslideOn:2}

Both devices dont give a update_date!
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 0 guests