Skip to content

Conversation

@dwmw2
Copy link
Contributor

@dwmw2 dwmw2 commented Dec 4, 2025

Allow editing of ValueUnit, ValueStep, ValueMin, and ValueMax fields for pTypeThermostat6 devices in the temperature device edit dialog, matching the functionality available for setpoint devices in the utility controller.

Also add a dzVents device adapter for it.

@dwmw2
Copy link
Contributor Author

dwmw2 commented Dec 4, 2025

As noted elsewhere, setting the ValueUnit with this dialog does work, but just like with the existing standalone setpoints, the ValueUnit seems to be ignored. With some guidance on how it's actually supposed to work, we can fix those separately.

@gizmocuz
Copy link
Contributor

gizmocuz commented Dec 4, 2025

The ValueUnit is presented in the bigtext/top right of the widget. Also if you change this to (degree sign)F it will use it for internal calculation.

@dwmw2
Copy link
Contributor Author

dwmw2 commented Dec 4, 2025

The ValueUnit is presented in the bigtext/top right of the widget. Also if you change this to (degree sign)F it will use it for internal calculation.

AFAICT it isn't though, not even for standalone setpoint devices (and thus not for the combined thermostat, which were based on those). My commit in dwmw2@b4ef5bc tries to change that, but I wasn't sure exactly how it's supposed to behave.

Allow editing of ValueUnit, ValueStep, ValueMin, and ValueMax fields
for pTypeThermostat6 devices in the temperature device edit dialog,
matching the functionality available for setpoint devices in the
utility controller.
@waltervl
Copy link
Collaborator

waltervl commented Dec 4, 2025

If you create a virtual setpoint device you can change the value unit, even to RPM or A (Ampere), so not temperature related.
Screenshot_20251204-150310 Firefox

Edit: so the value sent is interpreted for the user and scripts as the value to use. No other calculation done. That could be different though for C/F temperature conversion. Not sure how that works.

Supports all pTypeThermostat6 subtypes:
- Temp/Setpoint
- Temp/Hum/Setpoint
- Temp/Baro/Setpoint
- Temp/Hum/Baro/Setpoint

Provides device.setPoint property and methods:
- updateSetPoint(setPoint) - updates only setpoint
- updateThermostat(temp, setpoint, hum, humStatus, baro, forecast) - updates all fields
  Fields are optional; nil values become empty strings in sValue
@dwmw2 dwmw2 changed the title Add setpoint field editing support for Thermostat 6 devices Add setpoint field editing support for Thermostat 6 devices, add dzVents support Dec 4, 2025
@gizmocuz gizmocuz merged commit 22eee80 into domoticz:development Dec 9, 2025
2 checks passed
@gizmocuz
Copy link
Contributor

gizmocuz commented Dec 9, 2025

Thank you for this PR!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants