Simple solution to connect some sensors to any linux host via USB as a replacement for previously used Raspberry Pi´s GPIOs.
FloKra 73a405161f - added config option 'filterUnchanged' so that filtering on state change can be disabled now (pin state is sent by the MCU every minute by default - now this will be published every time on MQTT if filterUnchanged = False) | 1 ano atrás | |
---|---|---|
HomeServerIOExt_Arduino | 1 ano atrás | |
ioext | 1 ano atrás | |
CHANGELOG.txt | 1 ano atrás | |
README.md | 1 ano atrás |
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):