Skip to content

Commit

Permalink
release 16.6
Browse files Browse the repository at this point in the history
  • Loading branch information
pat1 committed May 22, 2024
1 parent bc0e9aa commit 24a1b22
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion python/rmap/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "16.5"
__version__ = "16.6"
4 changes: 2 additions & 2 deletions python/rmap/report2observation.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def __init__(self,mqtt_host,mqttuser, mqttpassword, subtopics, topicmaint, termi
self.mqtt_host=mqtt_host
self.subtopics=subtopics
self.client_id = "report2observation"
self.mqttc = paho.Client(self.client_id, clean_session=False)
self.mqttc = paho.Client(self.client_id, clean_session=False) # with qos 1
self.terminateevent=terminate
self.mqttuser=mqttuser
self.mqttpassword=mqttpassword
Expand Down Expand Up @@ -77,7 +77,7 @@ def on_connect(self,mosq, userdata, flags, rc):

for topic in self.subtopics:
logging.debug("Subscribing to topic %s" % topic)
self.mqttc.subscribe(topic, 0)
self.mqttc.subscribe(topic, 1) # qos 1

def on_publish(self,mosq, userdata, mid):
logging.debug("pubblish %s with id %s" % (userdata, mid))
Expand Down

0 comments on commit 24a1b22

Please sign in to comment.