Device Type for Humidifier Setpoint?
Posted: Monday 01 January 2018 18:12
I'm working on updating a plugin for a WiFi connected thermostat that supports humidifier/dehumidifier control. I'd like to add devices for controlling the setpoint for humidity control, but I've been unable to stumble upon the right device type. A thermostat setpoint technically works, but it obviously displays in the users selected temp units (confusing) and requires some fiddling with the numbers to ensure the right values are passed back and forth.
I tried a dimmer control, but I can't seem to update the device with the proper value from within the plugin (perhaps I'm missing something there). I can use it to send the correct value to the thermostat, but when I get the current value from the thermostat and attempt to update the domoticz device with the same value, I just end up with no level set.
Some sort of generic setpoint would be ideal, but nothing is jumping out at me. I attempted to use Type=243, Subtype=16, which I thought would be a generic setpoint, but there does not appear to be a UI available for this one. I can see the devices in the devices list, but when setting to Used, no switch is created. Do I need to define a Switchtype, as well? If so, which one?
I tried a dimmer control, but I can't seem to update the device with the proper value from within the plugin (perhaps I'm missing something there). I can use it to send the correct value to the thermostat, but when I get the current value from the thermostat and attempt to update the domoticz device with the same value, I just end up with no level set.
Some sort of generic setpoint would be ideal, but nothing is jumping out at me. I attempted to use Type=243, Subtype=16, which I thought would be a generic setpoint, but there does not appear to be a UI available for this one. I can see the devices in the devices list, but when setting to Used, no switch is created. Do I need to define a Switchtype, as well? If so, which one?