openHAB MQTT question
-
Hi,
I have RF24 nodes which communicates to openHab via a Ehternet Gayeway. I have setup MQTT inorder to send configuration data to my controllers. I have used this openhab website to setup the MQTT. According to the website:
In addition to configuring MQTT publish/subscribe options for specific openHAB items, you can also define a generic configuration in the services/mqtt-eventbus.cfg file which will act on ALL status updates or commands on the openHAB event bus.I have a "systeminfo" thing defined and everytime the the CPU load changes, OpenHab send all my sensor data via the MQTT topic.
So my question is:- Is it possible to reduce the number of data send via the MQTT eventbus? According to the webside it does not seem to be possible.
- If no mqtt client is subscribed to the topic, will the MQTT broker (Mosquitto) still sent all the data?
-
- According to this, it's not possible:
In addition to configuring MQTT publish/subscribe options for specific openHAB items, you can also define a generic configuration in the services/mqtt-eventbus.cfg file which will act on ALL status updates or commands on the openHAB event bus.
- Yes. The messages are published if no client is connected.
Suggested Topics
-
Boxes and Enclosures
Enclosures / 3D Printing • 29 Mar 2014, 21:02 • PITP2 31 Aug 2014, 19:27 -
openHAB 4 MySensors Binding
OpenHAB • 1 Aug 2023, 22:19 • ben999 7 Feb 2024, 14:25 -
openhab binding mysensors
OpenHAB • 14 Mar 2021, 18:44 • MDS 15 Mar 2021, 21:56 -
OH3 - MySensors Binding
OpenHAB • 17 Dec 2020, 16:35 • Peter Loeffler 3 Dec 2023, 09:37 -
openHAB 2.5 binding and V_VARx
OpenHAB • 25 May 2020, 15:49 • syntacrsc 4 May 2022, 20:47 -
OH3 Serial Gateway Problem
OpenHAB • 15 Feb 2022, 09:48 • seppi9 22 Feb 2022, 13:44