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:

    1. 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.
    2. If no mqtt client is subscribed to the topic, will the MQTT broker (Mosquitto) still sent all the data?

    Log in to reply
     

  • Hero Member

    @FredRoot

    1. 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.

    1. Yes. The messages are published if no client is connected.

Log in to reply
 

1 out of 2

Suggested Topics


  • Enclosures / 3D Printing   31 Aug 2014, 19:27

    22

  • OpenHAB   7 Feb 2024, 14:25

    19

  • OpenHAB   15 Mar 2021, 21:56

    3

  • OpenHAB   3 Dec 2023, 09:37

    135

  • OpenHAB   4 May 2022, 20:47

    5

  • OpenHAB   22 Feb 2022, 13:44

    4

1
Online

11.5k
Users

11.1k
Topics

112.8k
Posts