maximkulkin / esp-homekit-demo

Demo of Apple HomeKit accessory server library
MIT License
809 stars 233 forks source link

thermostat demo code clarification. #282

Closed kenthinson closed 4 years ago

kenthinson commented 4 years ago

Hello. I am using the thermostat demo. I am attempting to strip out all cooling code so that I can control a space heater. Can you please clarify what state is what.

for example if (current_state.value.int_value != 2) what are state 0 1 2 ect? I'm expecting heating on, fan on, heating off, fan off, cooling on, fan off ect?

Thanks for the help.