gpiozero
OctoPrint-Enclosure
Our great sponsors
gpiozero | OctoPrint-Enclosure | |
---|---|---|
7 | 8 | |
1,821 | 392 | |
1.4% | - | |
8.0 | 0.0 | |
24 days ago | about 1 month ago | |
Python | Python | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 only |
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.
gpiozero
-
Raspberry Pi, InfluxDB, Grafana, Docker
It was a bit tricky to get CPU temperature of a host machine (Raspberry Pi) from within the running docker container. This Issue on GitHub has helped me :
- Arduino/ESP32 project --> Raspberry Pi 4 programming/conversion/capability?
-
What can we do with python, exactly?
No. The pi 4 is not a microcontroller. However, I would recommend gpiozero for a regular pi4
-
mqtt-gpio: A service which connects MQTT topics to Raspberry Pi GPIO pins
I run it in K3s on Raspberry Pi OS. The service is built on gpiozero so should work on other devices. It is a very helpful building block in my DIY home automation system. It's a general purpose connector so it can be configured for many different uses. At present I use it to:
- Ask HN: Good Python projects to read for modern Python?
-
GPIO Programming on the Raspberry Pi: Python Libraries
Gpiozero is already installed in the current Raspberry Pi OS - if not, just run python3 -m pip gpiozero. The source code files can be accessed on Github. The official documentation on readthedocs.io provides rich information and plenty example code.
-
Build your SO their own "attention button" this Valentine's Day
The code we will write will be in Python. Let's start with just getting the button to register. We will be using the gpiozero library to do this:
OctoPrint-Enclosure
- Trouble Connecting BME280 to Enclosure Plugin
-
Octoprint-Enclosure plugin not installing.
Installing plugin "OctoPrint-Enclosure" from https://github.com/vitormhenrique/OctoPrint-Enclosure/archive/master.zip... /home/ubuntu/OctoPrint/bin/python3 -m pip --disable-pip-version-check install file:///tmp/tmp634mnw2j/OctoPrint-Enclosure-master.zip --no-cache-dir
-
Raspberry PI for controlling a PWM fan?
Though it does depend on what fan you're using as to what PWM frequency they need, Noctua needs a high frequency and so you'll need to use hardware pwm signal. I submitted a PR to add support to enclosure-plugin for a hardware pwm, but it's sat along with other PRs not yet approved: https://github.com/vitormhenrique/OctoPrint-Enclosure/pull/474
-
Keep the Arduino Uno or use the octoprint/pi4 for enclosure management
https://github.com/vitormhenrique/OctoPrint-Enclosure This allows easy access to monitoring using the sensor. As far as achieving everything else though - I'm not sure.
-
External devices (push buttons) for productivity?
Yes, Raspberry Pi with OctoPrint and the OctoPrint-Enclosure plugin. See this.
-
Raspberry Pi with a camera, LED-strip, fan and a heat sensor.
Those same relays or transistors could also be used to turn power to a 24v fan on and off from another GPIO pin on the Pi using the octoprint-enclosure plugin. You could use a lower voltage fan like the common computer case 12v style if you add a buck-converter to drop the voltage to a safe level for it.
-
New to raspberry pi: can I add an ambient temperature sensor?
Also: https://github.com/vitormhenrique/OctoPrint-Enclosure
- Blended Ikea Prusa Enclosure
What are some alternatives?
pigpio - pigpio is a C library for the Raspberry which allows control of the General Purpose Input Outputs (GPIO).
AHTxx - This is an Arduino library for Aosong ASAIR AHT1x, AHT2x Digital Humidity & Temperature Sensor
WiringPi - Gordon's Arduino wiring-like WiringPi Library for the Raspberry Pi (Unofficial Mirror for WiringPi bindings)
pi-mqtt-gpio - Expose GPIO modules (Raspberry Pi, Beaglebone, PCF8754, PiFace2 etc.) and digital sensors (LM75 etc.) to an MQTT server for remote control and monitoring.
tkgpio - A Python library to simulate electronic devices connected to the GPIO on a Raspberry Pi, using TkInter.
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.
OctoPrint-Pushover - A Pushover plugin for OctoPrint
WiringPi-Python - Unofficial Python-wrapped version of Gordon Henderson's WiringPi version 2.
raspberry-pi-safe-off-switch - A set of scripts that can be used to provide a "safe power off switch" for a Raspberry Pi.
OctoPrint-Tplinkautoshutdown - A plugin designed to be used within OctoPrint and OctoPi to control TP-Link kasa devices.