obuspa: Switch to WakeUp event for re-connections

This commit is contained in:
Vivek Kumar Dutta 2024-10-24 13:01:11 +05:30
parent 3102c0f981
commit 2be7a59ff0
2 changed files with 3 additions and 3 deletions

View file

@ -5,7 +5,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=obuspa
PKG_VERSION:=9.0.0.11
PKG_VERSION:=9.0.0.12
LOCAL_DEV:=0
ifneq ($(LOCAL_DEV),1)

View file

@ -12,5 +12,5 @@ if [ "$enable_obuspa" = "0" ]; then
fi
sleep 1
log "ForceReconnect MQTT clients, due firewall reload"
obuspa -c operate "Device.MQTT.Client.*.ForceReconnect()"
log "Sending WakeUp! event to re-connect after firewall restart"
obuspa -c event "Device.LocalAgent.WakeUp!"