Page 1 of 1

How to create thermostat with only integer values?

Posted: Thursday 13 August 2020 11:55
by kispalsz
I want to create a thermostat with a Python plugin that contains only integers.

This command creates a thermostat with a resolution of 0.5.

Code: Select all

 Domoticz.Device(Unit=self.get_first_available_unit(), DeviceID=device_id, Name=name + ' - Temperature', Type=242, Subtype=1).Create()
Image

For me, this is a lot, the managed device only knows an integer value. And the value xy.5 appears on the interface, and it's confusing.

Is there a decimal resolution thermostat in the system? Maybe another subtype?