4 Commits
2.1.0 ... main

Author SHA1 Message Date
d9b1000665 publish cache retained
All checks were successful
ci/woodpecker/tag/woodpecker Pipeline was successful
2025-12-06 14:46:39 +01:00
7794fabaf3 publish cache 4
All checks were successful
ci/woodpecker/tag/woodpecker Pipeline was successful
2025-12-06 14:41:39 +01:00
6e6ff4c229 publish cache 3
All checks were successful
ci/woodpecker/tag/woodpecker Pipeline was successful
2025-12-06 14:39:53 +01:00
dc2175c298 publish cache 2
All checks were successful
ci/woodpecker/tag/woodpecker Pipeline was successful
2025-12-06 14:38:01 +01:00
3 changed files with 4 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
global: global:
scan_interval: 1 scan_interval: 0.25
log_level: DEBUG log_level: INFO
mqtt: mqtt:
broker: emqx01-anonymous-cluster-internal.broker.svc.cluster.local broker: emqx01-anonymous-cluster-internal.broker.svc.cluster.local

View File

@@ -69,5 +69,5 @@ class AbstractMqttPublisher(threading.Thread):
logger.debug(f"mqtt message unchanged, not publishing: {topic} -> {payload}") logger.debug(f"mqtt message unchanged, not publishing: {topic} -> {payload}")
return return
self.cache[topic] = payload self.cache[topic] = payload
self.client.publish(topic, payload) self.client.publish(topic, payload, retain=True)

View File

@@ -51,7 +51,7 @@ class ModbusConfig(BaseModel):
class GlobalConfig(BaseModel): class GlobalConfig(BaseModel):
"""Global settings""" """Global settings"""
scan_interval: int scan_interval: float
log_level: str log_level: str