diff --git a/debian/postinst b/debian/postinst index 4e4e382..44a3bba 100755 --- a/debian/postinst +++ b/debian/postinst @@ -16,7 +16,7 @@ case "$1" in READ: DE: https://revpimodio.org/revpipyplc-auf-065/ - EN: https://revpimodio.org/en/revpipyplc-to-064/ + EN: https://revpimodio.org/en/revpipyplc-to-065/ END ;; diff --git a/revpipyload.e4p b/revpipyload.e4p index 976e55e..5b478c6 100644 --- a/revpipyload.e4p +++ b/revpipyload.e4p @@ -1,7 +1,7 @@ - + en_US @@ -9,7 +9,7 @@ Python3 Console Dieser Loader wird über das Init-System geladen und führt das angegebene Pythonprogramm aus. Es ist für den RevolutionPi gedacht um automatisch das SPS-Programm zu starten. - 0.7.1 + 0.7.2 Sven Sager akira@narux.de diff --git a/revpipyload/revpipyload.py b/revpipyload/revpipyload.py index 462febe..d648b99 100755 --- a/revpipyload/revpipyload.py +++ b/revpipyload/revpipyload.py @@ -28,7 +28,7 @@ begrenzt werden! __author__ = "Sven Sager" __copyright__ = "Copyright (C) 2018 Sven Sager" __license__ = "GPLv3" -__version__ = "0.7.1" +__version__ = "0.7.2" import gzip import logsystem import picontrolserver @@ -119,7 +119,7 @@ class RevPiPyLoad(): self.globalconfig["MQTT"].get("password", "") or self.mqttclient_id != self.globalconfig["MQTT"].get("client_id", "") or - self.mqttsend_events != + self.mqttsend_on_event != self.globalconfig["MQTT"].getboolean("send_on_event", False) or self.mqttwrite_outputs != self.globalconfig["MQTT"].getboolean("write_outputs", False) @@ -237,7 +237,7 @@ class RevPiPyLoad(): self.globalconfig["MQTT"].get("password", "") self.mqttclient_id = \ self.globalconfig["MQTT"].get("client_id", "") - self.mqttsend_events = \ + self.mqttsend_on_event = \ self.globalconfig["MQTT"].getboolean("send_on_event", False) self.mqttwrite_outputs = \ self.globalconfig["MQTT"].getboolean("write_outputs", False) @@ -468,7 +468,7 @@ class RevPiPyLoad(): self.mqttusername, self.mqttpassword, self.mqttclient_id, - self.mqttsend_events, + self.mqttsend_on_event, self.mqttwrite_outputs, ) except Exception as e: @@ -763,7 +763,7 @@ class RevPiPyLoad(): dc["mqttusername"] = self.mqttusername dc["mqttpassword"] = self.mqttpassword dc["mqttclient_id"] = self.mqttclient_id - dc["mqttsend_events"] = int(self.mqttsend_events) + dc["mqttsend_on_event"] = int(self.mqttsend_on_event) dc["mqttwrite_outputs"] = int(self.mqttwrite_outputs) # PLCSLAVE Sektion @@ -998,7 +998,7 @@ class RevPiPyLoad(): "mqttusername": ".*", "mqttpassword": ".*", "mqttclient_id": ".*", - "mqttsend_events": "[01]", + "mqttsend_on_event": "[01]", "mqttwrite_outputs": "[01]", }, "PLCSLAVE": { diff --git a/setup.py b/setup.py index 80e4f8d..8c2facc 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ setup( license="LGPLv3", name="revpipyload", - version="0.7.1", + version="0.7.2", scripts=["data/revpipyload"],