From 7d00e488e88c862ba992f48e13c76976fbf0a53a Mon Sep 17 00:00:00 2001
From: fredlcore 06.11.2024 06.11.2024 If your home automation system supports MQTT auto-discovery (as is the case with Home Assistant), you can call URL command Additionally, every time a URL query is made to BSB-LAN, or a parameter is changed through the room unit, the respective values of these parameters will be sent to the MQTT broker. So even changes made outside of BSB-LAN are sent to the home automation system, which is why the MQTT approach is the recommended way to connect to a home automation system. Otherwise, if you want to set up your own connection details, the topic structure of BSB-LAN is as follows: At the same time, the legacy way of sending URL commands via MQTT directly to the main topic (as defined in the settings, defaulting to The Examples for querying or setting parameters via MQTT would look like this (using mosquitto): Set the comfort temperature setpoint (parameter 710) to 20 degrees:
-ChangeLog
Current Master
+
+
/status
for querying a parameter, /set
for SETting a parameter, /inf
for sending data as INF telegram and /poll
to force BSB-LAN to send an update of that parameter value to the broker. If you are using MQTT auto-discovery, ideally, calling /M1
should update these changes. However, if you are using your own configurations, you'll have to make adjustments here.BSB-LAN/json
and thus basically immediately overwritten when logging several parameters. Now this setting only determines the format (and not format and topic) of the data that is written into /status
of each parameter. For auto-discovery, plain text remains the only valid choice.MQTT
topic has been removed. Instead, QoS for publishing messages has been set to level 1.Version 4.1
diff --git a/de/CHANGELOG.html b/de/CHANGELOG.html
index dbd3a2f3..6e9af576 100644
--- a/de/CHANGELOG.html
+++ b/de/CHANGELOG.html
@@ -393,6 +393,11 @@
ChangeLog
Current Master
+
+
/status
for querying a parameter, /set
for SETting a parameter, /inf
for sending data as INF telegram and /poll
to force BSB-LAN to send an update of that parameter value to the broker. If you are using MQTT auto-discovery, ideally, calling /M1
should update these changes. However, if you are using your own configurations, you'll have to make adjustments here.BSB-LAN/json
and thus basically immediately overwritten when logging several parameters. Now this setting only determines the format (and not format and topic) of the data that is written into /status
of each parameter. For auto-discovery, plain text remains the only valid choice.MQTT
topic has been removed. Instead, QoS for publishing messages has been set to level 1.Version 4.1
diff --git a/de/homeautomation.html b/de/homeautomation.html
index 8d1062a7..3724deff 100644
--- a/de/homeautomation.html
+++ b/de/homeautomation.html
@@ -210,14 +210,28 @@
Exchanging data via MQTT
/M1!<x>
and BSB-LAN will send auto-discovery messages for all available parameters from device ID <x>
to the MQTT broker and thus to the home automation system. You may have to clean up afterwards or send a removal message for all these parameters using URL command /M0!<x>
if you don't want to use this feature anymore.
+
+<BSB-LAN MQTT Topic>/<device ID>/<category no.>/<parameter no.>
+whereas
+- <BSB-LAN MQTT Topic>
can be set in BSB-LAN's settings,
+- <device ID>
is the ID of the heating controller (usually 0
for the main controller),
+- <category no.>
is the category number as it is used with URL-command /K
,
+- <parameter no.>
is the parameter number, such as 501.1
.
+This structure is followed by one of these topics that determine the action to be performed:
+- /status
- contains the value of the parameter in the MQTT payload.
+- /set
- used to set a parameter with the value contained in the MQTT payload using the SET telegram (default way of setting parameters).
+- /inf
- same as /set
, but uses the INF telegram (used for sending room temperature parameter 10000, for example).
+- /poll
- forces BSB-LAN to immediately update /status
of the same parameter with a freshly retrieved parameter value. BSB-LAN
), is still supported for compatibility reasons, but deprecated. Responses will always be written to /status
of the above mentioned topic structure. /status
topic is updated in two ways: Either via logging parameters to MQTT as explained above, or every time a URL query is made to BSB-LAN, or a parameter is changed through the room unit. Then the respective values of these parameters will be sent to the MQTT broker. So even changes made outside of BSB-LAN are sent to the home automation system, which is why the MQTT approach is the recommended way to connect to a home automation system.
So, as an alternative to the built-in logging feature of BSB-LAN, you can also just periodically call a URL with the parameters you want to see updated. Since these parameters will also be sent to the MQTT broker, your home automation system will receive them as well.
For example, if you periodically call the URL http://bsb-lan.local/700/8700
, both the operating mode of heat circuit 1 (parameter 700) as well as the current outside temperature (parameter 8700) will be sent to the MQTT broker.
-Query the outside temperature (parameter 8700):
-mosquitto_pub -h my.mosquitto-broker.local -u USER -P PASSWORD -m "8700" -t BSB-LAN -d
mosquitto_pub -h my.mosquitto-broker.local -u USER -P PASSWORD -m "S700=20" -t BSB-LAN -d
+mosquitto_sub -h my.mosquitto-broker.local -u USER -P PASSWORD -t BSB-LAN/0/51/8700/status
Set the comfort temperature setpoint (device ID 0, category no. 16, parameter 710) to 20 degrees:
+mosquitto_pub -h my.mosquitto-broker.local -u USER -P PASSWORD -m "20" -t BSB-LAN/0/16/710
Attention: Take note that the category number differs from system to system and has to be compared with your system first!
/status
for querying a parameter, /set
for SETting a parameter, /inf
for sending data as INF telegram and /poll
to force BSB-LAN to send an update of that parameter value to the broker. If you are using MQTT auto-discovery, ideally, calling /M1
should update these changes. However, if you are using your own configurations, you'll have to make adjustments here.BSB-LAN/json
and thus basically immediately overwritten when logging several parameters. Now this setting only determines the format (and not format and topic) of the data that is written into /status
of each parameter. For auto-discovery, plain text remains the only valid choice.MQTT
topic has been removed. Instead, QoS for publishing messages has been set to level 1.06.11.2024
If your home automation system supports MQTT auto-discovery (as is the case with Home Assistant), you can call URL command /M1!<x>
and BSB-LAN will send auto-discovery messages for all available parameters from device ID <x>
to the MQTT broker and thus to the home automation system. You may have to clean up afterwards or send a removal message for all these parameters using URL command /M0!<x>
if you don't want to use this feature anymore.
Additionally, every time a URL query is made to BSB-LAN, or a parameter is changed through the room unit, the respective values of these parameters will be sent to the MQTT broker. So even changes made outside of BSB-LAN are sent to the home automation system, which is why the MQTT approach is the recommended way to connect to a home automation system.
+
Otherwise, if you want to set up your own connection details, the topic structure of BSB-LAN is as follows:
+<BSB-LAN MQTT Topic>/<device ID>/<category no.>/<parameter no.>
+whereas
+- <BSB-LAN MQTT Topic>
can be set in BSB-LAN's settings,
+- <device ID>
is the ID of the heating controller (usually 0
for the main controller),
+- <category no.>
is the category number as it is used with URL-command /K
,
+- <parameter no.>
is the parameter number, such as 501.1
.
+This structure is followed by one of these topics that determine the action to be performed:
+- /status
- contains the value of the parameter in the MQTT payload.
+- /set
- used to set a parameter with the value contained in the MQTT payload using the SET telegram (default way of setting parameters).
+- /inf
- same as /set
, but uses the INF telegram (used for sending room temperature parameter 10000, for example).
+- /poll
- forces BSB-LAN to immediately update /status
of the same parameter with a freshly retrieved parameter value.
At the same time, the legacy way of sending URL commands via MQTT directly to the main topic (as defined in the settings, defaulting to BSB-LAN
), is still supported for compatibility reasons, but deprecated. Responses will always be written to /status
of the above mentioned topic structure.
The /status
topic is updated in two ways: Either via logging parameters to MQTT as explained above, or every time a URL query is made to BSB-LAN, or a parameter is changed through the room unit. Then the respective values of these parameters will be sent to the MQTT broker. So even changes made outside of BSB-LAN are sent to the home automation system, which is why the MQTT approach is the recommended way to connect to a home automation system.
So, as an alternative to the built-in logging feature of BSB-LAN, you can also just periodically call a URL with the parameters you want to see updated. Since these parameters will also be sent to the MQTT broker, your home automation system will receive them as well.
For example, if you periodically call the URL http://bsb-lan.local/700/8700
, both the operating mode of heat circuit 1 (parameter 700) as well as the current outside temperature (parameter 8700) will be sent to the MQTT broker.
Examples for querying or setting parameters via MQTT would look like this (using mosquitto):
-Query the outside temperature (parameter 8700):
-mosquitto_pub -h my.mosquitto-broker.local -u USER -P PASSWORD -m "8700" -t BSB-LAN -d
Set the comfort temperature setpoint (parameter 710) to 20 degrees:
-mosquitto_pub -h my.mosquitto-broker.local -u USER -P PASSWORD -m "S700=20" -t BSB-LAN -d
mosquitto_sub -h my.mosquitto-broker.local -u USER -P PASSWORD -t BSB-LAN/0/51/8700/status
+Set the comfort temperature setpoint (device ID 0, category no. 16, parameter 710) to 20 degrees:
+mosquitto_pub -h my.mosquitto-broker.local -u USER -P PASSWORD -m "20" -t BSB-LAN/0/16/710
Attention: Take note that the category number differs from system to system and has to be compared with your system first!
If your home automation system supports MQTT auto-discovery (as is the case with Home Assistant), you can call URL command /M1!<x>
and BSB-LAN will send auto-discovery messages for all available parameters from device ID <x>
to the MQTT broker and thus to the home automation system. You may have to clean up afterwards or send a removal message for all these parameters using URL command /M0!<x>
if you don't want to use this feature anymore.
Additionally, every time a URL query is made to BSB-LAN, or a parameter is changed through the room unit, the respective values of these parameters will be sent to the MQTT broker. So even changes made outside of BSB-LAN are sent to the home automation system, which is why the MQTT approach is the recommended way to connect to a home automation system.
+
Otherwise, if you want to set up your own connection details, the topic structure of BSB-LAN is as follows:
+<BSB-LAN MQTT Topic>/<device ID>/<category no.>/<parameter no.>
+whereas
+- <BSB-LAN MQTT Topic>
can be set in BSB-LAN's settings,
+- <device ID>
is the ID of the heating controller (usually 0
for the main controller),
+- <category no.>
is the category number as it is used with URL-command /K
,
+- <parameter no.>
is the parameter number, such as 501.1
.
+This structure is followed by one of these topics that determine the action to be performed:
+- /status
- contains the value of the parameter in the MQTT payload.
+- /set
- used to set a parameter with the value contained in the MQTT payload using the SET telegram (default way of setting parameters).
+- /inf
- same as /set
, but uses the INF telegram (used for sending room temperature parameter 10000, for example).
+- /poll
- forces BSB-LAN to immediately update /status
of the same parameter with a freshly retrieved parameter value.
At the same time, the legacy way of sending URL commands via MQTT directly to the main topic (as defined in the settings, defaulting to BSB-LAN
), is still supported for compatibility reasons, but deprecated. Responses will always be written to /status
of the above mentioned topic structure.
The /status
topic is updated in two ways: Either via logging parameters to MQTT as explained above, or every time a URL query is made to BSB-LAN, or a parameter is changed through the room unit. Then the respective values of these parameters will be sent to the MQTT broker. So even changes made outside of BSB-LAN are sent to the home automation system, which is why the MQTT approach is the recommended way to connect to a home automation system.
So, as an alternative to the built-in logging feature of BSB-LAN, you can also just periodically call a URL with the parameters you want to see updated. Since these parameters will also be sent to the MQTT broker, your home automation system will receive them as well.
For example, if you periodically call the URL http://bsb-lan.local/700/8700
, both the operating mode of heat circuit 1 (parameter 700) as well as the current outside temperature (parameter 8700) will be sent to the MQTT broker.
Examples for querying or setting parameters via MQTT would look like this (using mosquitto):
-Query the outside temperature (parameter 8700):
-mosquitto_pub -h my.mosquitto-broker.local -u USER -P PASSWORD -m "8700" -t BSB-LAN -d
Set the comfort temperature setpoint (parameter 710) to 20 degrees:
-mosquitto_pub -h my.mosquitto-broker.local -u USER -P PASSWORD -m "S700=20" -t BSB-LAN -d
mosquitto_sub -h my.mosquitto-broker.local -u USER -P PASSWORD -t BSB-LAN/0/51/8700/status
+Set the comfort temperature setpoint (device ID 0, category no. 16, parameter 710) to 20 degrees:
+mosquitto_pub -h my.mosquitto-broker.local -u USER -P PASSWORD -m "20" -t BSB-LAN/0/16/710
Attention: Take note that the category number differs from system to system and has to be compared with your system first!