snowdd1 / homebridge-knx

KNX platform shim for homebridge
https://github.com/nfarina/homebridge
GNU General Public License v2.0
97 stars 56 forks source link

Thermostat - Mode #117

Open Mr-S-D opened 6 years ago

Mr-S-D commented 6 years ago

Hi,

I have a Schneider thermostat that allows me to have different mode on my thermostat. For example I have one mode that his comfort, another one is Night and a third Away... Comfort can have a set value of 30 degrees while the Night mode have 25 degrees. I have the possibility to switch between these modes and thus changing the temperature settings since the set value is stored in each mode.

I have the thermostat working but I can't seem to figure what service/function to use in Homebridge making it possible to switch between the different modes.. I dont minde if the service/function is separate from the thermostat service. Suggestions??

BR, Mr.D

snowdd1 commented 5 years ago

That's one of the favorite "HomeKit does not fit KNX" world examples.

You can have a look at your homebridge at http://SERVER:18081/servicedata?name=Thermostat
to see the Thermostat definitions. The characteristic Target Cooling Heating State http://SERVER:18081/chardata?name=Target%20Heating%20Cooling%20State has four valid values (0,1,2,3) which represent
Characteristic.TargetHeatingCoolingState.OFF = 0;
Characteristic.TargetHeatingCoolingState.HEAT = 1;
Characteristic.TargetHeatingCoolingState.COOL = 2;
Characteristic.TargetHeatingCoolingState.AUTO = 3;

If you cannot use those, you're doomed.