I'm tinkering with the original which can be found below. You should not use This
All credit to:Ankur Patel ankur.patel@ymail.com (https://www.encoredevlabs.com)
This is a homebridge plugin to make a Raspberry Pi connected with a Relay Board and DHT22 Temperature and Humidity Sensor into a smart thermostat that can be controlled via the Home app on iOS using Homekit.