Skip to content

Birmingham Black Techies Presentation

 

 

 

Kenny Robinson

Programmer Analyst

@almostengr

thealmostengineer.com

https://www.linkedin.com/in/krobinsontech

https://github.com/almostengr

 

 

 

 

Problem

Live in multi-story house with single HVAC system; thermostat is on lower floor

Upstairs is always hotter

 

 

Initial Solution

Window AC was connected to timer

Ran when not needed; higher power bill

 

 

Current Solution

Thermometer reading available via API

Smart Outlets (WeMo) that control window AC units

Home automation to control outlets based on temperature

Only runs when needed; lower power bill

 

 

Hardware

DS18S20 temperature sensor

Raspberry Pi (used Pi 3B+)

Window AC

Belkin Wemo Smart Plug

 

 

Software

Custom .NET 5 Web API

Home Assistant

Linux

 

 

Code Review

Source Code

http://osmc:8005/api/v1/thermometer

Returns JSON data

{"fahrenheit":72.95,"celsius":22.75}

 

 

Home Automation Review

Automation rules

Home Assistant Website

 

 

Project Information

Project Documentation

 

 

Notes

presentation given to the Birmingham Black Techies group on February 9, 2022


Last update: 2022-02-09
raspberry pi, c-sharp, .net 5, programming, coding