Skip to content

postlund/home-iot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

home-iot

Various sketches and stuff for my private IoT-sensors. Everything in this repo is mainly for use with the eminent software Home Assistant. Amount of documentation will vary...

esp8266

This directory contains (Arduino) sketches for the ESP8266 platform.

GaragePort

Simple sketch used to control a garage port via a relay. A push button is used to sense if the port is open or closed. If a temperature sensor is attached (e.g. DHT11), the temperature and humidity is available as well. The RJ45-jacket connects to the relay, so only two of the pins are used.

Alt text

For communication, MQTT is used as protocol. Temperature, humidity and garage port state is published at:

home-assistant/garage/port/state

home-assistant/garage/temperature

home-assistant/garage/humidity

and the port can be opened/closed using:

/home-assistant/garage/port/set

See the code for reference.

A small log of what is going on is saved and can be accessed at the built in web server page: http:///log.

Configuration

Look for the "Config" comment in the code and update constants as needed.

About

Various sketches and stuff for my private IoT-sensors

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Other 100.0%