mirror of
https://github.com/naruxde/revpipyload.git
synced 2025-11-08 15:13:52 +01:00
Fehler bei MQTT-Werteübergabe der XML-RPC Schnittstelle behoben
postinst Link angepasst
This commit is contained in:
2
debian/postinst
vendored
2
debian/postinst
vendored
@@ -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
|
||||
;;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE Project SYSTEM "Project-5.1.dtd">
|
||||
<!-- eric project file for project revpipyload -->
|
||||
<!-- Saved: 2018-09-25, 19:20:18 -->
|
||||
<!-- Saved: 2018-09-26, 10:58:41 -->
|
||||
<!-- Copyright (C) 2018 Sven Sager, akira@narux.de -->
|
||||
<Project version="5.1">
|
||||
<Language>en_US</Language>
|
||||
@@ -9,7 +9,7 @@
|
||||
<ProgLanguage mixed="0">Python3</ProgLanguage>
|
||||
<ProjectType>Console</ProjectType>
|
||||
<Description>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.</Description>
|
||||
<Version>0.7.1</Version>
|
||||
<Version>0.7.2</Version>
|
||||
<Author>Sven Sager</Author>
|
||||
<Email>akira@narux.de</Email>
|
||||
<Eol index="1"/>
|
||||
|
||||
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user