pi-mqtt-gpio
raspberry-pi-home-automation
Our great sponsors
pi-mqtt-gpio | raspberry-pi-home-automation | |
---|---|---|
6 | 2 | |
457 | 49 | |
- | - | |
6.1 | 2.5 | |
9 days ago | 7 months ago | |
Python | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pi-mqtt-gpio
-
Multi-Device Home Assistant
Home Assistant doesn't have direct control of GPIOs built-in anymore, but it's available with either a custom component or MQTT.
- How can I ditch ADT, but keep this equipment and integrate it into HomeKit? (Details in comments)
-
Raspberry Pi as a sensor instead of a hub?
If you want to play around with sensors on a RPi, you can use your existing network and use MQTT to communicate back to your hub. Take a look at https://github.com/flyte/mqtt-io.
-
Suggestions to control a Relay Module
If you install this on the RPI, https://github.com/flyte/mqtt-io setup the digital output to turn the relay on and off and add the HA discovery option, then it will show up as an MQTT switch in Home Assistant and you can turn it on and off from HA
-
How to use RPi Zeros as devices in my HA setup?
I currently use ESP devices with sensors attached in my house however you may be able to use a Raspberry Pi instead and have certain sensors such as Temperature, PIR motion etc ... https://github.com/flyte/pi-mqtt-gpio
-
Built a pool controller for ~$300, controlled using home assistant, mqtt, and node-red.
I have the raspberry pi just running rasbian. I'm using pi-mqtt-gpio to expose the GPIO to MQTT, which then allows HA to pick them up and control them. I went through a few iterations trying to get that to work, including using the remote_pi_gpio integration, but had problems with it. With the integration, every time the pi restarted, HA would need to be restarted to re-establish the connection, and there were times that the GPIO settings on the pi would get reset and HA would lose them. With the pi-mqtt-gpio, it's been way easier and way more stable. I can boot the pi or HA in either order and the connection will still come up every time I've tried. If you're going to do remote gpio with a pi, I definitely recommend it. The MQTT integration in HA picks up the gpio automatically, so there's no HA configuration to be done. My pi-mqtt-gpio configuration: https://imgur.com/imTnUvX
raspberry-pi-home-automation
-
A single gateway to rule them all
I have done this, and wrote a book about it: https://koen.vervloesem.eu/books/control-your-home-with-raspberry-pi/.
-
How do you manage all your software? I’m just starting out on the smart path and need your help to understand rpi setup
I'm managing all these services with Docker Compose. This means I only have to backup one directory with the configuration and data of all services, and one file, the docker-compose.yml file that defines all services. You can find all source code of the book in its repository (https://github.com/koenvervloesem/raspberry-pi-home-automation), to give you an idea about how you would manage this.
What are some alternatives?
OctoPrint-Enclosure - OctoPrint Enclosure Plugin
Pi-Somfy - A script to open and close your Somfy (and SIMU) blinds with a Raspberry Pi and an RF emitter.
gpiozero - A simple interface to GPIO devices with Raspberry Pi
bleak - A cross platform Bluetooth Low Energy Client for Python using asyncio
system_sensors - Logging of system sensor specific for the RPI and sending them to a MQTT broker
mycroft-core - Mycroft Core, the Mycroft Artificial Intelligence platform.
w1thermsensor - A Python package and CLI tool to work with w1 temperature sensors like DS1822, DS18S20 & DS18B20 on the Raspberry Pi, Beagle Bone and other devices.
zigpy - Library implementing a ZigBee stack
RC522-Attendance - Raspberry Pi based RFID Attendance System
WaterrowerAntBle - All-in-one data interface for your Waterrower S4 Monitor or Smartrow
mqtt-agent-ledbox - LedBox Mqtt Agent , controlling led animation on the led box
Digifiz-Dash - A pygame Dashboard mimicing the VW Digifiz Dash of the 80s. Powered by Raspberry pi4 and arduinos.