Skip to content

A thermostat for controlling central heating - on and off trigger switching the heating on and off via events in the home app to a switch accessory

License

Notifications You must be signed in to change notification settings

drhill78/homekit-wifi-thermostat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

homekit_wifi_thermostat

A thermostat accessory for remotely controlling central heating. This provides a thermostat accessory, You also need a swith accessory and to set up event trigers in the Eve app to make the connection between the thermostat and the switch, hence it's called wifi thermostat as the connection between the thermostat accessory and your central heating device is wireless.

It uses a DH22 to sense the temperature and sets the current_heating_cooling_status based on the other settings of the accessory. It sends events as the value changes, which can then be actioned by triggers using the Eve app.

For example when the thermostat sets the current_heating_cooling_status to heat/off, use Eve to trigger the switch accesory to on/off respectively. You can also set timer based events in Eve to control the target_heating_cooling_status, in other words you can create a program of when you want the heating to go on or off.

Now updated to include a screen (SSD1306 OLED) and buttons to adjust up and down the target temperature.

GPIO used are as follows:-

4 - DH22

12 - Temperature

13 - Temperature

0 - Reset

2 - LED

14 - SSD1306 SCL_PIN

5 - SSD1306 SDA_PIN

About

A thermostat for controlling central heating - on and off trigger switching the heating on and off via events in the home app to a switch accessory

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 96.4%
  • Makefile 3.6%