|
@@ -1,5 +1,12 @@
|
|
|
-apt install mosquitto-clients -y
|
|
|
|
|
-chmod +x sis2mqtt.sh
|
|
|
|
|
|
|
+apt install git mosquitto-clients sispmctl -y
|
|
|
|
|
+
|
|
|
|
|
+cd /scripts/
|
|
|
|
|
+git clone https://git.klenzel.net/daniel/sis2mqtt/
|
|
|
|
|
+cd sis2mqtt
|
|
|
|
|
+
|
|
|
|
|
+#Firewall-Zugriff auf MQTT-Server gewähren!
|
|
|
|
|
+#Topic, Client-ID und Pfad zu sispmctl in sis2mqtt.sh anpassen
|
|
|
|
|
+
|
|
|
cp sispmctl.service /etc/systemd/system/
|
|
cp sispmctl.service /etc/systemd/system/
|
|
|
systemctl daemon-reload
|
|
systemctl daemon-reload
|
|
|
systemctl enable sispmctl.service
|
|
systemctl enable sispmctl.service
|