gpio-keyboard
pi-mqtt-gpio
gpio-keyboard | pi-mqtt-gpio | |
---|---|---|
2 | 6 | |
17 | 457 | |
- | - | |
5.3 | 6.5 | |
8 months ago | 13 days ago | |
Python | Python | |
GNU General Public License v3.0 only | 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.
gpio-keyboard
-
Chonky Pocket PC - build with a Pi 4, chording keyboard, ampripper psu, 5 inch touchscreen. Details in comments.
I'm glad you like it! :) Nope, no microcontroller for the keyboard, each key is wired to a gpio pin, and same for the two encoder pins. The code to make it work is here: https://github.com/a8ksh4/gpio-keyboard A script/service runs whe the OS boots, checks the state of the gpio pins 100 times a second, translates them to keypresses and signals to the uinput kernel module to generate keyboard and mouse stuff. You could do the same thing with a full keyboard layout and use a matrix rather than dedicated key->gpio.
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
What are some alternatives?
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.
raspberry-pi-home-automation - Code examples, errata and additional tips and references to interesting projects for the book "Control Your Home with Raspberry Pi: Secure, Modular, Open-Source and Self-Sufficient"
chonky-pocket - An almost pocket-sized portable computer!
OctoPrint-Enclosure - OctoPrint Enclosure Plugin
kmk_firmware - Clackety Keyboards Powered by Python
gpiozero - A simple interface to GPIO devices with Raspberry Pi
Fulcrum - The Fulcrum Keyboard is an ergo-mechanical split keyboard with extra thumb functionality. It has 20 keys, two rotary encoders, and two 5-way switches.
system_sensors - Logging of system sensor specific for the RPI and sending them to a MQTT broker
rpi-integrated-battery-module - Linux kernel battery integration for cyberdecks (and other custom comtuters)
kicad-kle-placer - KiCAD plugin to help place switch footprints based on a KLE
RC522-Attendance - Raspberry Pi based RFID Attendance System