gpiozero
Installation
Our great sponsors
gpiozero | Installation | |
---|---|---|
7 | 162 | |
1,821 | 14,885 | |
1.4% | 2.1% | |
8.0 | 9.8 | |
24 days ago | 5 days ago | |
Python | Python | |
GNU General Public License v3.0 or later | Apache License 2.0 |
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:
Installation
-
NetBox.dev: the source of truth for everything on your network
"The site" is actually just their blog. The github repo at https://github.com/netbox-community/netbox is more like the real homepage and has a good presentation.
-
[MISC] Build a feature with the Hudu team: IPAM and Rack Management. PART 1
Sweet! If it ends up anything like Netbox it will be so sweet. By looking at the screenshots I am very excited to see this implemented!
- IP-adress management
-
NetBox v3.6.6 is Now Available!
NetBox Release v3.6.6 is now live (as of November 29, 2023)!
-
Got my hands on a UniFi system, rack building software?
Take a look at netbox. https://netbox.dev/
- NetBox – the source of truth for everything on your network
-
Locally trained AI Agents for network device discovery
Pre-trained systems dominate AI today (as deep as the P in GPT). My team and I have been researching and building alternatives given how the hallucination, blackbox and other problems don't seem solvable within* the current paradigm.
One of our first applications is a network automation solution for Netbox-- locally trained AI Agents unique to each Netbox account to predict roles of newly added devices given the current local list of devices, like a context-aware autocomplete.
Agents are lightweight by design, this particular Netbox Agent is 40-neuron, and when hooked up demo.netbox.dev and consistently gets 80%+ accuracy predicting device roles even when trained on ~60 devices only.
Try it out: https://aolabs-netbox.streamlit.app/
You can use dummy data from demo.netbox.dev. More on Netbox: https://github.com/netbox-community/netbox
We'd keen for feedback, if this is useful, how we could extend it if it is, or if it sparks other application ideas.
* Somebody has to be the pre-trainer, leaving an irreducible gap of misunderstanding between AI and its application which we are trying to diminish by adding a layer of local training.
-
NetBox v3.5.6 is Now Available!
Before upgrading, please: 1. Verify in release notes changelog if any new breaking changes might affect you. You can also review the NetBox Issues on GitHub to see if any new issues have arisen that might affect you. 2. Next, refer to the Upgrading to a new NetBox Release guide for steps to upgrade your instance.
-
Why have empty __init__.py files?
I've been looking into some projects for some opensource software i use and noticed a few of them have empty __init__.py files (for example https://github.com/netbox-community/netbox/blob/develop/netbox/core/__init__.py)
-
Shelf – open-source asset management software
IT wise, It's been a fair few years since I've been in a department that does asset management, we used to use GLPI with it's warts and all, which got replace with https://github.com/netbox-community/netbox
What are some alternatives?
pigpio - pigpio is a C library for the Raspberry which allows control of the General Purpose Input Outputs (GPIO).
nautobot - Network Source of Truth & Network Automation Platform
WiringPi - Gordon's Arduino wiring-like WiringPi Library for the Raspberry Pi (Unofficial Mirror for WiringPi bindings)
phpIPAM - phpipam development repository
tkgpio - A Python library to simulate electronic devices connected to the GPIO on a Raspberry Pi, using TkInter.
netbox-topology-views - A netbox plugin that draws topology views
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.
RackTables - RackTables current development repository
WiringPi-Python - Unofficial Python-wrapped version of Gordon Henderson's WiringPi version 2.
netbox-docker - 🐳 Docker Image of NetBox
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.
The Foreman - The new and improved Foreman website.