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

freetz

Ich habe bei der MDNS-Funktionalität ein paar Bugs gefixt, die insbesondere den Due betreffen. Kann jemand, der einen Due im Einsatz hat, mal schauen, ob die MDNS-Einträge nun korrekt angezeigt werden? Danke!
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

carbonara

meinst Du "mDNS"? wo kann ich schauen und helfen?
Heizung: MHG ProCon E25, BSB-LAN: Arduino DUE , Volkszähler, Home Assistant

freetz

Ja, meine ich, es gibt ein aktuell offenes Issue auf GitHub, aber ein anderer User hat da glaube ich schon eine Lösung gefunden, die ich im Laufe des Tages einbauen werde. Dann wäre es gut, wenn Du das bei Dir mal testen könntest - danke!
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

DTh

Guten Morgen zusammen.
Bin vor kurzem auf BSB-LAN aufmerksam geworden, als ich nach einer Lösung gesucht habe, meine ältere Brötje Therme in HomeAssistant einzubinden.
Nachdem ich mich etwas eingelesen habe, wollte ich gestern versuchsweise mal einen ESP32 mit der BSB-LAN Firmware flashen.
Einstellungen habe ich, wie in der Doku angegeben, eingestellt.
Arduino IDE ist die V2.4.3

Sobald die FW zum hochladen kompiliert wird erhalte ich folgende Fehlermeldung:

C:\Users\Dirk\Desktop\BSB-LAN-master\BSB_LAN\BSB_LAN.ino:23:2: error: #error "Wrong partition scheme selected! You have to select Minimal/SPIFFS! Please, please, please(!) do read the manual at docs.bsb-lan.de - if you don't even read the quickstart instructions, you _will_ not be able to run BSB-LAN! Thank you."
 #error "Wrong partition scheme selected! You have to select Minimal/SPIFFS! Please, please, please(!) do read the manual at docs.bsb-lan.de - if you don't even read the quickstart instructions, you _will_ not be able to run BSB-LAN! Thank you."
  ^
C:\Users\Dirk\Desktop\BSB-LAN-master\BSB_LAN\BSB_LAN.ino:401:22: fatal error: LittleFS.h: No such file or directory
compilation terminated.
exit status 1

Compilation error: #error "Wrong partition scheme selected! You have to select Minimal/SPIFFS! Please, please, please(!) do read the manual at docs.bsb-lan.de - if you don't even read the quickstart instructions, you _will_ not be able to run BSB-LAN! Thank you."


Woran kann das liegen ?
Partition Sheme ist wie vorgesehen auf Minimal SPIFFS eingestellt

Danke und Grüße
Dirk



freetz

Was für einen ESP32 genau wolltest Du damit flashen? Jedes Board kommt mit anderen Board-Definitionen. Wenn Du einen der in der Anleitung genannten Microcontroller ausgewählt hast, sollte der Fehler nicht auftauchen. Andernfalls mag es zwar die Partition zur Auswahl geben, aber sie könnte intern anders definiert sein und daher zu dem Fehler führen.
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

DTh

#7100
Zitat von: freetz am 17 Februar 2025, 16:36:56Was für einen ESP32 genau wolltest Du damit flashen? Jedes Board kommt mit anderen Board-Definitionen. Wenn Du einen der in der Anleitung genannten Microcontroller ausgewählt hast, sollte der Fehler nicht auftauchen. Andernfalls mag es zwar die Partition zur Auswahl geben, aber sie könnte intern anders definiert sein und daher zu dem Fehler führen.

Moin...
Sorry, gerade erst gesehen, dass Du geantwortet hast.
Hab leider keine Benachrichtigung bekommen über neue Antwort. Muss später mal schauen, ob man das irgendwo einstellen kann...

Ich habe am Sonntag versucht einen ESP32 WROOM-32 (Lieferant AZ-Delivery) zu flashen.
Ist allerdings eine Version mit 38 pins und nicht die mit 30 pins.
Das sollte aber eigentlich doch keinen Einfluss haben, oder ?
Hoffe in den nächsten Tagen trifft ein bestellter 30pin ESP-32 WROOM bei mir ein, mit dem ich es weiter testen kann.

Grüße
Dirk

DTh

Kurze Info:
Der neu bestellte ESP32 WROOM (NodeMCU, 30pin) ist bereits gestern eingetroffen.
Auch damit gibt es keine Änderung.
Die Fehlermeldung ist nach wie vor die selbe.
Lt. Meldung ist das falsche Partition-Sheme ausgewählt. :-(

Hab auch die IDE gestern dann nochmals komplett deinstalliert, alle verbleibenden Ordner, Boarddefinitionen und Libraries gelöscht. -> Ohne Erfolg

Keine Ahnung, woran es nun noch liegen könnte...


Grüße
Dirk

freetz

Du hast leider nicht auf meine Frage geantwortet, welches Board Du in der Arduino IDE ausgewählt hast. Wenn Du da etwas anderes ausgewählt hast, als in der Anleitung steht, dann hast Du natürlich ein Problem. Alternativ kannst Du die "#error" Zeile auch einfach aus dem Code löschen. Ich würde aber vermuten, dass es dann eben mit dem Flashen nicht klappt, bzw. dann evtl. ein Partitionsschema aktiv ist, bei dem man keine OTA-Updates machen kann.
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

DTh

#7103
Zitat von: freetz am 19 Februar 2025, 08:38:34Du hast leider nicht auf meine Frage geantwortet, welches Board Du in der Arduino IDE ausgewählt hast. Wenn Du da etwas anderes ausgewählt hast, als in der Anleitung steht, dann hast Du natürlich ein Problem. Alternativ kannst Du die "#error" Zeile auch einfach aus dem Code löschen. Ich würde aber vermuten, dass es dann eben mit dem Flashen nicht klappt, bzw. dann evtl. ein Partitionsschema aktiv ist, bei dem man keine OTA-Updates machen kann.
Moin...
Sorry, hatte die Frage falsch interpretiert.
Habe als Board ESP32 Dev Module ausgewählt.

Kann man hier im Forum irgendwie Bilder anhängen ?
Dann könnte ich mal einen Screenshot der IDE Einstellungen posten.

Noch eine 2. Frage:
Was ist in der Fehlermeldung mit
C:\Users\Dirk\Desktop\BSB-LAN-master\BSB_LAN\BSB_LAN.ino:401:22: fatal error: LittleFS.h: No such file or directory
gemeint ?
Fehlt mir hier evt. eine Library o.ä. in der IDE ?

Grüße
Dirk

freetz

Nach einigen Monaten ist es mal wieder Zeit für ein neues Release, aktuell ist nun die Version 5.0, die in den letzten Monaten folgende Änderungen angesammelt hat:

- **ATTENTION: BREAKING CHANGE!** Streamlined topic structure for MQTT. New strucuture adds `/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.
- **ATTENTION: BREAKING CHANGE!** When using JSON settings for MQTT, previously all messages were written to the `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.
- **ATTENTION: BREAKING CHANGE** The acknowledgement message sent by BSB-LAN to the `MQTT` topic has been removed. Instead, QoS for publishing messages has been set to level 1.
- **ATTENTION: BREAKING CHANGE:** Log configuration values have changed. However, only users that have logged to UDP are affected and will have to adjust their settings.
- **ATTENTION: BREAKING CHANGE:** Removed WiFiSPI support to use WiFi on the Arduino Due.
- **ATTENTION: BREAKING CHANGE:** Removed the need to add `#define CUSTOM_COMMANDS` in order to run code as part of `BSB_LAN_custom*.h`. Check these files for old/unused code that might inadvertently get executed when updating to the new version. If you want to enable/disable custom code quickly, add a new variable in `BSB_LAN_config.h` and include that as a condition in your code.
- **ATTENTION:** `/JK=ALL` now lists all categories of all devices in LPB systems with more than one device. Use `dev_fam` (device family), `dev_var` (device variant), `dev_id` (destination device ID) and `dev_name` (device model) elements to sort and identify which category applies to the current destination device.
- **ATTENTION** Users that have a parameter with data type `VT_CURRENT1000` in their `BSB_LAN_custom_defs.h`: Please change it to `VT_CURRENT` unless(!) you have BSB-LAN connected to an LMU64/LMU74 via an OCI420. Only in that case, keep the parameter's data type at `VT_CURRENT1000`.
- Added new URL command /QDB - this queries BSB/LPB heating systems for device-specific parameters (for safety reasons, only read-only parameters are added) and activates these until reboot. All these parameters are in category 0, generically named "Parameters". Likewise, the name of all parameters is "Parameter". You have to identify their meaning by their parameter number.
This is not a replacement for generating a proper device-specific parameter list as it only contains few parameter types which we know for certain how they work and no harm can be done (mostly read-only status temperatures). However, these can be helpful for heating technicians which want to monitor on the spot the behavior of a random heating system without the need to create a device-specific parameter list.
- Added possibility to set the room setpoint temperature with MAX! thermostats. Specific variables `max_cul_rf_addr`, `max_flags`, `max_group_id` and `max_temp_mode` are pre-defined in `BSB_LAN.ino` but can be overwritten in `BSB_LAN_config.h` if necessary.
- Added setting to only publish log parameters to MQTT. Forcing MQTT updates via /poll topic are still possible. This setting also applies to MQTT auto-discovery, i.e. only log parameters will be discovered!
- Moved MQTT username and password configuration to basic configuration view in webinterface
- Added state_class for non cumulative sensors in MQTT auto-discovery
- Updated the room unit emulation in `custom_functions` to work with version 4.x.
- Disabling parameters can now be done both with an empty value as well as by sending `---`. Sending an empty value is still possible, but is depracated and will be removed at some later time.
- BSB-LAN now scans the BSB/LPB bus during startup (and later periodically, if not connected to heating system) for other devices on the bus. This significantly reduces access times later on for systems with more than one device on the bus.
- `/JQ` now contains "payload" which contains the raw payload data which can be useful for evaluating non-standard commands.
- Workaround for intermittent crashes on PoE- or barrel-connector-powered Olimex microcontrollers
- New version from new repo of PubSubClient. Hopefully with this version, disconnects will be greatly reduced.
- Bugfix for VT_ENERGY, added new data type VT_ENERGY10 and VT_ENERGY10_N
- Numerous bugfixes, especially for the JSON API
- French and German translations of the manual added, special thanks to GitHub user @plauwers for this!
- This release has been supported by the following sponsors: Sven Rutten

Viel Spaß mit der neuen Version!
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

thetaphi

Moin,
Habe soeben meinen Olimex PoE ISO auf 5.0.2 upgedatet - rennt. Der Pinmode-Fix führt hier weder zu Verbesserung noch Verschlechterung, da ich mit Wifi und USB Adapter laufe, hat es dort auch keine negativen Auswirkungen. Den eigentlich wichtigen Fix für den Stacksmash hatte ich schon länger getestet, auch problemlos.

Wenn ich irgendwann mal viel Zeit habe bestelle ich einen neuen Olimex PoE und teste mit PoE. Vorerst geht's bei mir via Wifi und USB Adapter und das bleibt auch erstmal so.

Gratulation zur neuen Version!
Uwe