Page 1 of 1

Setpoints shows 'On' instead of setpoint number

Posted: Thursday 21 September 2023 11:54
by michelscholte
After updating Domoticz to the latest Beta (15555) en Dashtics to the latest Beta (3.10.8), al the setpoints displays "On":
tempsnip.png
tempsnip.png (47.1 KiB) Viewed 1026 times

The data-field in Domoticz shows the actual setpoint number:
tempsnip2.png
tempsnip2.png (18.08 KiB) Viewed 1026 times
Hopefully someone can help.
Thanks.

Re: Setpoints shows 'On' instead of setpoint number

Posted: Thursday 21 September 2023 12:25
by waltervl
@Lokonli There has been some changes on Thermostat devices in this beta, see viewtopic.php?p=307044#p307044 and https://github.com/domoticz/domoticz/pull/5817

Re: Setpoints shows 'On' instead of setpoint number

Posted: Thursday 21 September 2023 14:39
by Lokonli
waltervl wrote: Thursday 21 September 2023 12:25 @Lokonli There has been some changes on Thermostat devices in this beta, see viewtopic.php?p=307044#p307044 and https://github.com/domoticz/domoticz/pull/5817
Thanks, I'll check

Re: Setpoints shows 'On' instead of setpoint number

Posted: Thursday 21 September 2023 17:04
by waltervl
Is the setpoint device api json different now? It seems that the Android app also don't understand the output anymore.

Re: Setpoints shows 'On' instead of setpoint number

Posted: Thursday 21 September 2023 19:07
by waltervl
waltervl wrote: Thursday 21 September 2023 17:04 Is the setpoint device api json different now? It seems that the Android app also don't understand the output anymore.
To answer myself:
Main difference is "Type" that changed from "Thermostat" to "SetPoint". SubType stayed the same (SetPoint).
Also the new settings are added (min/max/step/vunit)

Stable 2023.2

Code: Select all

            "SetPoint": "17.0",
            "ShowNotifications": true,
            "SignalLevel": "-",
            "SubType": "SetPoint",
            "Timers": "false",
            "Type": "Thermostat",
            "TypeImg": "override_mini",
            "Unit": 1,
            "Used": 1,
            "XOffset": "0",
            "YOffset": "0",
            "idx": "144"
Beta 15555

Code: Select all

			"SetPoint" : "24.2",
			"ShowNotifications" : true,
			"SignalLevel" : "-",
			"SubType" : "SetPoint",
			"Timers" : "false",
			"Type" : "Setpoint",
			"TypeImg" : "override_mini",
			"Unit" : 1,
			"Used" : 1,
			"XOffset" : "0",
			"YOffset" : "0",
			"idx" : "80",
			"max" : 200.0,
			"min" : -200.0,
			"step" : 0.5,
			"vunit" : "\u00b0C"

Re: Setpoints shows 'On' instead of setpoint number

Posted: Saturday 23 September 2023 15:55
by Lokonli
Fixed in latest Dashticz beta.
Update with 'git pull'

Can you test?

Re: Setpoints shows 'On' instead of setpoint number

Posted: Saturday 23 September 2023 19:07
by michelscholte
Great. It shows the correct values now.
tempsnip.png
tempsnip.png (55.48 KiB) Viewed 950 times
Thanks again.