浏览代码

added README.md

FloKra 2 年之前
父节点
当前提交
9303f82e3a
共有 1 个文件被更改,包括 9 次插入0 次删除
  1. 9 0
      README.md

+ 9 - 0
README.md

@@ -0,0 +1,9 @@
+## HomeServerIOExt
+
+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. 
+
+The Arduino reads the sensors/IO-Pins and sends state changes via Serial. 
+The Python program runs as a daemon, receives the serial data and sends values/states to an MQTT broker.