Simple solution to connect some sensors to any linux host via USB as a replacement for previously used Raspberry Pi´s GPIOs.
FloKra f31cda65af - revert last changes | пре 1 година | |
---|---|---|
HomeServerIOExt_Arduino | пре 1 година | |
ioext | пре 1 година | |
CHANGELOG.txt | пре 1 година | |
README.md | пре 1 година |
When migrating my home control server from a Raspberry Pi to x86 hardware I needed an interface to connect some sensors (door contact, PIR sensors, temperature sensor) which were previously connected to the RPi´s GPIOs.
This simple solution consists of an Arduino Nano which is connected to the host via USB and a daemon written in Python which publishes the states over MQTT.
install systemd service (as root):