LAN-Anbindung für BSB-Bus (Brötje, Elco Thision etc.)

Begonnen von justme1968, 29 November 2014, 19:50:40

Vorheriges Thema - Nächstes Thema

Schotty

..schon klar, aber ich habe die dumme Angewohnheit, auch manchmal auf rhetorische Fragen zu antworten  ;D
Handbuch zur BSB-LAN Hard- & Software (Anbindung v. Heizungsreglern, u.a. von Brötje & Elco):
https://1coderookie.github.io/BSB-LPB-LAN/

shcric

Hallo liebe BSB-LAN Experten,

ich möchte zeitnah nun auch endlich meine Heizungssteuerung mit dem BSB-LAN Adapter in meinem Smarthome System einbinden, was mir mit dem OZW672 nie gelungen ist (alle 15min wechselnde Session ID ist bei Loxone ein Thema). Möchte den BSB-LAN Adapter mittels MQTT (Broker läuft auf einem Loxberry) in mein Loxone System einbinden, ein paar wesentliche Parameter in der Loxone Visu anzeigen und ändern können und einige Statistiken direkt mit Influx/Grafana (auf dem Loxberry) darstellen können.

Ich habe eine Brötje WGB-M EVO 20 H mit einer ISR LMS15 Steuerung.

Frage: Kann man den OZW672 während der "Migration" parallel zum BSB-LAN Adapter betreiben oder kommen sich die Geräte in die Quere? Meinem Verständnis nach nein, da ich unterschiedliche Geräteadressen verwenden werde und die Konfiguration ja in der LMS15 selbst gespeichert ist, oder?

Danke und schönen Sonntag, Christian.

freetz

Alle Infos zur Anbindung von Heizungssystemen mit PPS-, LPB- bzw. BSB-Bus ans LAN gibt es hier:
https://github.com/fredlcore/BSB-LAN

Alle Infos zum WLAN-Interface "Robotan" für Ambrogio/Stiga/Wolf und baugleiche Rasenmähroboter:
https://github.com/fredlcore/robotan

johndoe

Hallo,

mir wird ein Update von 2.1.0 (damit habe ich gestartet) auf 2.1.3 angeboten.
Jetzt wollte ich mal nach Release Notes schauen, aber die finde ich nur bis 2.0.
Was steckt in den Updates, und diese dann empfohlen (u.a. Bugfixes) oder gilt lieber "never touch a running system"?

freetz

2.0 ist das letzte offizielle Release, auf das sich das Changelog bezieht. 2.1.x ist die momentane Entwicklungsversion. Wenn alles gut läuft, lass alles, wie es ist. Wenn Du Probleme hast und Hilfe von uns willst, musst Du updaten, weil wir nur dann sicher sind, dass es sich dabei nicht schon um gefixte Bugs handelt.
Alle Infos zur Anbindung von Heizungssystemen mit PPS-, LPB- bzw. BSB-Bus ans LAN gibt es hier:
https://github.com/fredlcore/BSB-LAN

Alle Infos zum WLAN-Interface "Robotan" für Ambrogio/Stiga/Wolf und baugleiche Rasenmähroboter:
https://github.com/fredlcore/robotan

CZvacko

I found this great project (I already got the PCB from Frederik) and plan to connect it to my Brotje WBS 22H heating system. Currently I have two questions:

1) can the BC547B / BC557B be a replacement for the BC547 / BC557 ? Are there any modifications needed ?
2) my heating system (uses LMS14 controller) has already both FB connectors occupied. Can I connect the BSB-LAN using the parallel connection to the FB ? If not, I found that the BSB bus should be present in connector X13 (RJ11), but what is the pinout ? Or is there some other possibility ? My heating system also contains an AVS75 expansion module.

BTW, over 400 pages in single topic ?? It deserves its own category or forum...

freetz

Yes, as long as it's a 547 or 557 respectively, it doesn't matter if it's A, B or C as the transistors only act as switches. And yes, you can "add" the wiring for BSB-LAN to any connector on your LMS14, even if it is in use already.
Alle Infos zur Anbindung von Heizungssystemen mit PPS-, LPB- bzw. BSB-Bus ans LAN gibt es hier:
https://github.com/fredlcore/BSB-LAN

Alle Infos zum WLAN-Interface "Robotan" für Ambrogio/Stiga/Wolf und baugleiche Rasenmähroboter:
https://github.com/fredlcore/robotan

fridi

Problem with WLAN connection with BSB-LAN v2 and Joy-It ESP32 NodeMCU

Hello,
I am new to BSB-LAN and and fail with a relative simple task: Connecting BSB-LAN on Joy-It ESP32 (without BSB-Adapter) to my WLAN network.

My configuration:
Fritzbox with DHCP and WPA / WPA2 enabled, open for new WLAN devices
Arduino IDE version 1.8.19
ESP32 package version 2.0.2 from https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
Boardtyp: ESP32 Dev Module
Partition Scheme: Default 4MB with spiffs (1.2BM APP/1.5MB SPIFFS)
BSB-LAN software 2.0.1 and later 2.1.3
Removed folders WiFiSpi and ArduinoMDNS

Changed the Wifi settings in BSB_LAN_config.h:
#define WIFI                          // Activate this definement if you want to use WiFi. Note: MAC address can't be set individually.
char wifi_ssid[32] = "WLAN"; // enter your WiFi network name (SSID) here
char wifi_pass[64] = "8388344677542391";// enter your WiFi password here (I changed the numbers for this mail)
#define WIFI_SPI_SS_PIN 12              // defines SPI-SS pin for Arduino-ESP8266 connection

Two OneWire errors during compilation:
C:\user\BSB-LAN-master\BSB_LAN\src\OneWire\OneWire.cpp:599:22: warning: extra tokens at end of #undef directive
#  undef noInterrupts() {portMUX_TYPE mux = portMUX_INITIALIZER_UNLOCKED;portENTER_CRITICAL(&mux)
                      ^
C:\user\BSB-LAN-master\BSB_LAN\src\OneWire\OneWire.cpp:600:20: warning: extra tokens at end of #undef directive
#  undef interrupts() portEXIT_CRITICAL(&mux);}


After compilation and upload to ESP32 the serial monitor shows:
:
BSB-LAN version: 2.1.3-20220209235153
2.1.3-20220209235153
Microcontroller: ESP32/NodeMCU
Using RX/TX pins 16, 17
PPS settings:
Starting SD..Setting up WiFi interface.....................
Attempting to connect to WPA SSID: WLAN.........Connecting to WiFi network failed.
Setting up AP 'BSB-LAN'
IP address of BSB-LAN: 192.168.4.1
Connect to access point 'BSB-LAN' with password 'BSB-LPB-PPS-LAN' and open the IP address.
Waiting 3 seconds to give Ethernet shield time to get ready...
Calculating free space on SD...1377739 Bytes free
Start network services
:

I tried it with two BSB_LAN versions on different ESP32 modules and get always the same result. The WLAN signal should not be to weak, I have no problems with other devices. Meanwhile I have no idea whats going wrong.
I tried to connect to the alternative BSB-LAN network, but it shows up only for a short time because the ESP tries to reconnect to my WLAN network after a few seconds. So there is no chance to check the WiFi settings.
Is there a possibility to get more debug information?


Schotty

Hi fridi,

could you please post the output of /CO (please use code-tags).
Handbuch zur BSB-LAN Hard- & Software (Anbindung v. Heizungsreglern, u.a. von Brötje & Elco):
https://1coderookie.github.io/BSB-LPB-LAN/

fridi

#6084
Thank you for the quick response!

But I am not able to send an URL-command without network. I only have connection via Arduino-App and USB to the ESP. Trying to send /CO via serial monitor gives no result.  :(

Schotty

Oh yeah, sure, you're right - sorry, my bad  ::)

So your FritzBox didn't already 'see' the ESP at all yet, right?

Is DHCP activated within config.h?

Try to set "byte useEEPROM=0" in config.h (with WiFi activated and your WiFi settings) and flash again, so BSB-LAN reads the config from the config.h when the system boots and check if you get access. Maybe there went something wrong..
Then flash again with "byte useEEPROM=1" - always with your settings for the WiFi activated and properly set.
Handbuch zur BSB-LAN Hard- & Software (Anbindung v. Heizungsreglern, u.a. von Brötje & Elco):
https://1coderookie.github.io/BSB-LPB-LAN/

fridi

With setting UseEEPROM=0 there is no change:

Starting SD..Setting up WiFi interface.....................
Attempting to connect to WPA SSID: WLAN.........Connecting to WiFi network failed.
Setting up AP 'BSB-LAN'
IP address of BSB-LAN: 192.168.4.1
Connect to access point 'BSB-LAN' with password 'BSB-LPB-PPS-LAN' and open the IP address.
Waiting 3 seconds to give Ethernet shield time to get ready...
Calculating free space on SD...1377739 Bytes free
Start network services
DC C2 00 0B 06 3D 05 00 0B C3 A1
:
DC C2 00 0B 06 3D 05 00 03 42 A9
query failed
6226
Device family: 0
Device variant: 0

Starting MDNS service with hostname BSB-LAN
Setup complete
DC C2 00 0B 06 3D 05 00 02 52 88
:
DC C2 00 0B 06 3D 05 00 03 42 A9
query failed
6226
Device family: 0
Device variant: 0
78436l Reconnecting to WiFi...
:


I tried again to connect to the BSB-LAN network of the ESP with my Smartphone. This is only possible for some seconds and for a short time the message "Kann IP Adresse nicht aufrufen" meaning "Could not access IP address" appeared.

Schotty

Ok, that's weird.. Did you check at your FritzBox, if the ESP appeared there aleady?

Up to me the problem is either that the ESP doesn't have a reliable WiFi signal or that the FritzBox is blocking it somehow.. Maybe try to add the MAC of the ESP to the FritzBox first?

Next idea would be to deactivate DHCP within config.h and try to set a fix IP, but until now DHCP always worked fine with FritzBoxes etc.

@freetz: Do you have another idea..?
Handbuch zur BSB-LAN Hard- & Software (Anbindung v. Heizungsreglern, u.a. von Brötje & Elco):
https://1coderookie.github.io/BSB-LPB-LAN/

Schotty

Might be a stupid question, but did you check that your WiFi access data (SSID&password) is 100% correct..? Not that there is a typo and therefore it can't connect..
Handbuch zur BSB-LAN Hard- & Software (Anbindung v. Heizungsreglern, u.a. von Brötje & Elco):
https://1coderookie.github.io/BSB-LPB-LAN/

fridi

What I did:

I tried a static IP address => no success
I added the MAC address of the ESP to the Fritzbox => no success
I copied SSID and password from the Fritzbox web pages to the config => no success
I checked the WiFi strength of the ESP: -70 (should be sufficient)

The ESP never appears in the Fritzbox.

Today I can't do further tests, but I am thankful for any idea!