|
@@ -801,7 +801,9 @@ def cul_received(payload, source_cul):
|
|
else:
|
|
else:
|
|
if debug:
|
|
if debug:
|
|
print("DEBUG: lastReceivedStatusFile not defined")
|
|
print("DEBUG: lastReceivedStatusFile not defined")
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+ # send lastUpdate status to MQTT (for monitoring)
|
|
|
|
+ mqttc.publish(MQTT_Control_StateTopic + "/lastReceived", str(int(lastDataReceiveTime)), qos=0, retain=False)
|
|
|
|
|
|
if payload[:2] == 'is': # msg is reply from CUL to raw send command
|
|
if payload[:2] == 'is': # msg is reply from CUL to raw send command
|
|
pass
|
|
pass
|