NubeIO / driver-bacnet

0 stars 2 forks source link

on bacnet server add MQTT persistence #93

Closed NubeDev closed 4 months ago

NubeDev commented 5 months ago

for the bacnet server on boot/restart of the server can you make it get the MQTT last value from persistence

add it as an option in the config file

make it use persistence by default

disablePersistence=true 
shomaglasang commented 5 months ago

hey mate @NubeDev , just need confirmation on this. The last value is the last present value (pv), priority value and name of the object (e.g. AI)?

https://www.hivemq.com/blog/mqtt-essentials-part-7-persistent-session-queuing-messages/ https://pagefault.blog/2020/02/05/how-to-set-up-persistent-storage-for-mosquitto-mqtt-broker/

shomaglasang commented 4 months ago

@NubeDev fyi, included in v0.0.65. Feature is enabled by default. TO disable it, add the following knob in the config.

mqtt:
  disable_persistence: true
Shiny380 commented 4 months ago

94 #96