Installing BSB-LAN requires three steps:
BSB_LAN_custom_defs.h.default to BSB_LAN_custom_defs.hBSB_LAN_config.h.default to BSB_LAN_config.h.arduino-cli tool.BSB_LAN.ino. The project will open.You can either get a fully assembled adapter from Frederik (bsb(ät)code-it.de) or build one on your own (see the folder schematics for the schematics). Once you have the BSB-LAN adapter ready, you just need to plug it into the microcontroller. If you are using an Olimex microcontroller, double-check that the adapter really sits in the center of the connector, because it still fits even if it is moved by one pin row to the left or right.
Once the microcontroller and the BSB-LAN adapter are ready, perform the following steps to connect BSB-LAN to the heating system:
+ screw connector to the CL+ (BSB), DB (LPB) or A6 (PPS, different connector names are possible) connector, and the - screw connector to the CL- (BSB), MB (LPB) or M (PPS) connector.G+ pin of the controller. That pin provides power only, no data. If the LED remains off when connected to the LPB connectors, then the LPB power supply might need to be activated in the controller's LPB settings. http://bsb-lan.local. Otherwise, you can find the IP address of BSB-LAN either in your router, or you connect the microcontroller to your PC and open the Arduino IDE and go to Tools/Serial Monitor and set the serial monitor speed to 115200. Restart the microcontroller, and the IP address will be displayed upon connecting to the network.Once you access BSB-LAN for the first time, you will see that only very few parameters are shown on the device’s web interface. This is because each model of the Siemens controller built into your heating system supports a different set of parameters. Previously, I provided a list of parameters collected from all different kinds of heating systems, but it turned out that this list was ambiguous or even contained errors that we couldn’t fix reliably. This list is still available in release version 2.2.x of BSB-LAN and can be copied from there if needed.
However, it is not advisable to do so because the said ambiguities and errors pose too great a risk of misconfiguring the heating system. Instead, it is recommended to click on the "Device-specific parameter list" button in BSB-LAN's menu and send the generated list to Frederik (bsb(ät)code-it.de). From this file, a parameter list can be generated that fits exactly the controller of your heating system. Unfortunately, this process cannot be automated yet, but at least it has to be done just once. These raw data do not contain any settings or other kinds of personal data, just the parameter structure of the heating system.
It’s in my own interest to create and return these parameter lists without any delay, but I ask for your understanding if it takes a bit longer due to work or family matters.
Once you have received the parameter list (or taken the one from version 2.2.x), you have to replace the existing BSB_LAN_custom_defs.h file with the one sent to you, compile it and flash it again. Now you are ready to access all parameters.
Keep in mind that the device-specific parameter list only applies to BSB and LPB. It is not used with PPS.
If you want to update to a new version of BSB-LAN, the following points should be noted:
CHANGELOG.md to see what has changed between your version and the updated version.BSB_LAN_config.h are not overwritten, but may need to be adjusted. More details can be found in the file CHANGELOG.md.BSB_LAN_custom_defs.h is also not overwritten and remains unchanged; it does not need to be recreated! Only in rare cases are small modifications necessary, which are then indicated in the file CHANGELOG.md.CHANGELOG.md). If this is the case, the BSB LAN settings are rewritten to the EEPROM based on the values in the BSB_LAN_config.h file. Before an update, the settings in the BSB_LAN_config.h file should also be checked again to ensure at least network access.If you are running BSB-LAN on an ESP32-based microcontroller and have enabled Over-the-Air Updates in the settings, you can perform future updates of BSB-LAN using your browser. To do that, instead of using Sketch/Upload, you need to select Sketch/Export Compiled Binary. This will create a build folder in your BSB-LAN folder in which you will find among others the file BSB_LAN.ino.bin. Now, first make sure that you have OTA update enabled in the settings, then open http://bsb-lan.local:8080 and select and upload that file. Do not interrupt the upload process. You may try to access BSB-LAN from a different browser window to see if the process is completed.
Please take note that this only applies to ESP32-based microcontrollers. Arduinos do not support this functionality.