This repo stores all of the source for various MQTT sensors. I intend them to work with HomeAssistant but they should work for any MQTT service.
- Garage door sensor (In work)
- This sensor connects to the garage door opener limit switches to detect if it is open or closed.
- Temperature sensor (Not started)
- Door shut & Lock sensor (Not started)
- Arduino Nano 33 iot board (will probably work for other similar boards, but no guarentees)
- PlatformIO VSCode plugin
- Add the project inside platfromio plugin
- Update
./include/secrets.h
to include your MQTT information and WIFI login information - Call
git update-index --assume-unchanged "./include/secrets.h"
to avoid accidently commiting your secrets - Set the environment to your desired sensor (default is garage_door_sensor)
Setting DEBUG to true in ./include/common.h
will enable serial debug print statements