Date: Thu, 28 Mar 2024 15:14:02 +0000 (UTC) Message-ID: <192888272.35.1711638842786@5a19e4eb3f1b> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_34_506043358.1711638842786" ------=_Part_34_506043358.1711638842786 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
It might be necessary to force a refresh of all sensor states, especiall= y binary ones, manually. This guide will explain how to clear the local mos= quitto persistence file and restart the Site Controller which will force a = local re-evaluation of all states and transmission to the azeti Engine inst= ance (MQTT broker).
Check the sensor states in *Admin Live Table*, sensors of type&nbs=
p;boolean
will show no state and time stamp information (cells=
will be empty).
Login to the Site Controller terminal (Linux command line), stop Site Co= ntroller and especially mosquitto
sudo = "/opt/azeti/SiteController/run_SiteController.py" stop sudo "/opt/azeti/SiteController/run_SiteController.py" stop_mosquitto
Execute the below command. It will extract the mosquitto persistence pat= h from the configuration file and rename it with a backup extension
sudo = find / -name mosquitto.db -exec mv {} {}.bak \;
Restart Site Controller
sudo = "/opt/azeti/SiteController/run_SiteController.py" start
You can always restore the old states file by renaming it. You might hav= e to adjust the paths to your environment.
sudo = "/opt/azeti/SiteController/run_SiteController.py" stop_mosquitto sudo find / -name mosquitto.db.bak -exec mv {} mosquitto.db \; sudo "/opt/azeti/SiteController/run_SiteController.py" start_mosquitto