Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
d9b1000665
|
|||
|
7794fabaf3
|
@@ -1,6 +1,6 @@
|
||||
global:
|
||||
scan_interval: 0.25
|
||||
log_level: DEBUG
|
||||
log_level: INFO
|
||||
|
||||
mqtt:
|
||||
broker: emqx01-anonymous-cluster-internal.broker.svc.cluster.local
|
||||
|
||||
@@ -69,5 +69,5 @@ class AbstractMqttPublisher(threading.Thread):
|
||||
logger.debug(f"mqtt message unchanged, not publishing: {topic} -> {payload}")
|
||||
return
|
||||
self.cache[topic] = payload
|
||||
self.client.publish(topic, payload)
|
||||
self.client.publish(topic, payload, retain=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user