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

#2085
Zitat von: cedric29 am 12 März 2018, 13:36:47
BSB bus(68,69,7); but nothing better.
Btw: The ",7" in the 'BSB bus'-line mentioned above only needs to be set if you already have a real remote-control installed to avoid possible address-conflicts on the bus. But not even in that case its always necessary to define the adapter as a remote-control #2 (what the ",7" actually does), sometimes both work fine together with the same address. At my testsystem the address-conflict only appears with the 'little' remote-control (QAA55), but not with the 'big' one (QAA75). Dunno why..

Zitat
uint8_t bus_type = bus.setBusType(0);
This line defines the type of bus you want to use. If its set to '0' as default, then its BSB. If you would want to connect the adapter to LPB, you would have to set it to '1'. So here's no need to change something, as long as you are using the BSB.
Handbuch zur BSB-LAN Hard- & Software (Anbindung v. Heizungsreglern, u.a. von Brötje & Elco):
https://1coderookie.github.io/BSB-LPB-LAN/

Schotty

@cedric29: Just for a short test to see if everything works how it should, you could also use the little pins at the service-port, which is located on the lower left side of the display at the control-unit, see attachment. There usually the second pin (counting from top to bottom) is CL+, the third pin is CL-.
Handbuch zur BSB-LAN Hard- & Software (Anbindung v. Heizungsreglern, u.a. von Brötje & Elco):
https://1coderookie.github.io/BSB-LPB-LAN/

cedric29

Thank you for help me.

J 've find what's wrong.

J've used the 2n2222 instead bc 547a

The pin of 2n2222 and bc 547a are reverse, so I have weld 2n2222 like a bc 547a....

Now it 's work  fine !!




Schotty

@cedric29: Thats nice! Could you please poste the output of /6220-6228 and tell us the exact name and type of your heatpump? So we can add it to our listing. Thanks
Handbuch zur BSB-LAN Hard- & Software (Anbindung v. Heizungsreglern, u.a. von Brötje & Elco):
https://1coderookie.github.io/BSB-LPB-LAN/

postman

Moin zusammen,
ich hab mal wieder eine Frage:
Ich habe im BSB_Lan die Anzeige von unbekannten Parametern unterdrückt. Trotzdem kommen immer wieder solche Ausgaben:
855 Heizkreis 1 - Vorlauftemp-Sollwert Estrich-Austrocknung HK1: unknown type 010000

Hab ich was falsch eingestellt oder etwas vergessen, einzustellen?
Desweiteren habe ich den Resset (URL-Befehl /N   Reset des Arduino durchführen) für den Ardunino aktiviert, danach ist der BSB_Lan über Lan nur noch erreichbar, wenn ich den Arduino stromlos mache und ihn nach etwa 10 Sekunden wieder anschliesse.

Gruß Uwe
Raspberry Pi Version 2 QUAD-CORE CPU und 1 GB RAM, CUL V3 868 MHz,  stapelbarer CC1101 (SCC) 433 MHz, Enocean-Stick,Jeelink-Stick, BSB-Lanadapter

Spruch eines Ausbilders: Theorie ist, wenn man alles weiss und nichts funktioniert; Praxis ist, wenn alles funktioniert und keiner weiss warum...

Schotty

Moin Uwe,
also das hide_unknown bezieht sich m.W. auf die error7-Meldungen, die werden dann nicht mehr angezeigt (aber trotzdem bspw. bei einer Komplettabfrage erstmal mit abgefragt). "unknown type" ist ja nur 'unbekannt', also wir wissen noch nicht, was bzw in welchem Format da was übertragen wird.
Aber das mit dem Reset verstehe ich jetzt gerade nicht - wann genau ist der Adapter nicht mehr erreichbar? Unmittelbar nach dem Flashen mit aktivierter /N-Funktion, oder erst nachdem du /N ausgeführt hast?
Handbuch zur BSB-LAN Hard- & Software (Anbindung v. Heizungsreglern, u.a. von Brötje & Elco):
https://1coderookie.github.io/BSB-LPB-LAN/

postman

Moin Schotty,
Der Adapter ist nach dem ausführen des /N nicht mehr erreichbar. er zeigt dann zwar an "Reset...", aber nach einem neuen Aufruf des Web-Interfaces erhalte ich "Verbindung fehlgeschlagen". Ich verwende übrigens den Firefox. Anpingen läßt sich der Arduino noch.

Gruß Uwe
Raspberry Pi Version 2 QUAD-CORE CPU und 1 GB RAM, CUL V3 868 MHz,  stapelbarer CC1101 (SCC) 433 MHz, Enocean-Stick,Jeelink-Stick, BSB-Lanadapter

Spruch eines Ausbilders: Theorie ist, wenn man alles weiss und nichts funktioniert; Praxis ist, wenn alles funktioniert und keiner weiss warum...

Schotty

Ich hab's gerade nachgestellt - stimmt, verhält sich bei mir auch so!  :o
Bei mir war der Adapter bereits direkt nach dem Flashen nicht erreichbar und musste manuell resettet werden um zu starten. Nach /N das wie von dir beschriebene Verhalten. SerMo zeigt nach /N auch keinerlei Ausgaben, wie bspw die Startsequenz.
DANKE! DAS war mir/uns noch nicht aufgefallen!
@freetz: Könntest du dir das bitte nochmal ansehen?
Handbuch zur BSB-LAN Hard- & Software (Anbindung v. Heizungsreglern, u.a. von Brötje & Elco):
https://1coderookie.github.io/BSB-LPB-LAN/

postman

Hallo Schotty,
nach dem Flashen war der Arduino bei mir erreichbar. Mit dem SerMo habe ich allerdings nicht mehr kontrolliert. Aber hatte freetz den Reset nicht in einer älteren Version schon drin gehabt, nur mit einem anderen Buchstaben? Der funktionierte doch, wenn ich mich nicht irre ;)
Gruß Uwe
Raspberry Pi Version 2 QUAD-CORE CPU und 1 GB RAM, CUL V3 868 MHz,  stapelbarer CC1101 (SCC) 433 MHz, Enocean-Stick,Jeelink-Stick, BSB-Lanadapter

Spruch eines Ausbilders: Theorie ist, wenn man alles weiss und nichts funktioniert; Praxis ist, wenn alles funktioniert und keiner weiss warum...

Schotty

Ja, das hieß ursprünglich mal anders und funktionierte auch zuverlässig. Vielleicht ist ja irgendwo noch was im code versteckt, was sich auf die damalige Bezeichnung bezieht? Keine Ahnung - ich nix Programmierer ;)
Handbuch zur BSB-LAN Hard- & Software (Anbindung v. Heizungsreglern, u.a. von Brötje & Elco):
https://1coderookie.github.io/BSB-LPB-LAN/

postman

Hallo Schotty,
Keine Ahnung - ich nix Programmierer ;)
Hab ich bei der Arbeit auch immer gesagt, wenn eine(r) rummaulte, weil sein PC etwas anders machte als der User wollte.  ;D
Gruß Uwe
Raspberry Pi Version 2 QUAD-CORE CPU und 1 GB RAM, CUL V3 868 MHz,  stapelbarer CC1101 (SCC) 433 MHz, Enocean-Stick,Jeelink-Stick, BSB-Lanadapter

Spruch eines Ausbilders: Theorie ist, wenn man alles weiss und nichts funktioniert; Praxis ist, wenn alles funktioniert und keiner weiss warum...

freetz

Sucht mal bitte nach

         for (int x=0; EEPROM.length(); x++) {
            EEPROM.write(x, 0);
          }


und ersetzt das
EEPROM.length()
durch
x<EEPROM.length()

Dann sollte es wieder gehen.
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

Schotty

Yupp, scheint zu funktionieren! Nach ca 15sek erscheint die Bootsequenz im SerMo und er ist wieder erreichbar. Super! Danke!
Handbuch zur BSB-LAN Hard- & Software (Anbindung v. Heizungsreglern, u.a. von Brötje & Elco):
https://1coderookie.github.io/BSB-LPB-LAN/

freetz

Dann fixe ich das heute oder morgen mal in GitHub.
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

Schotty

..oder kann es sein, dass wir einfach nicht lange genug gewartet haben..? Vielleicht teste ich nachher nochmal die alte Version?!
Handbuch zur BSB-LAN Hard- & Software (Anbindung v. Heizungsreglern, u.a. von Brötje & Elco):
https://1coderookie.github.io/BSB-LPB-LAN/