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

Der Parameter für das VL-Soll ist in dem Fall glaube ich nicht relevant, denn mit der Version 3.0 kann man ja die Sollwerte für die Heizkreise setzen - das mit dem VL-Soll ist i.d.R. nur für Softwarestände < 3.0 relevant.
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

freetz

Hallo zusammen und erst einmal frohe Weihnachten an alle :).
Ich nutze die freien Tage, um hier und da ein paar lange liegen gebliebene Issues auf GitHub abzuarbeiten. Eines davon betraf das Löschen/Disablen des Ferienprogramms, wo bei den neueren Thision S Plus Geräten wohl auch beim Disablen geprüft wird, ob die übertragenen Werte stimmig sind. Statt ungenutzte Felder mit 0xFF zu füllen (wie es meine Thision S (ohne Plus) akzeptiet und bei einer Abfrage auch zurückliefert), werden diese nun mit 0x00 gefüllt.
Könnten bitte die User, die eine LMS14 haben, einmal testen, ob das setzen und löschen eines Ferienprogramms nun funktioniert? Und bitte auch die anderen, die die Funktion nutzen, das bitte einmal testen (ich selber habe eine LMU7, von der brauchen wir das nicht mehr ;) ).
Ich hoffe, das mit diesem Fix jetzt sowohl ältere als auch neuere Steuerungen bedient werden können.
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

Gnom

Hello everyone, I hope you had a good Christmas.
I finally ordered the board with the components from Frederik.
This is the ESP32 version for nodeMCU.
I assembled it and flashed the ESP32 with the PPS configuration for a RVP54.130 regulation.
So far, no problem.
I connected the board to my regulation, the led lights up.
In the serial monitor I have values that all scroll to 0.


PPS INF 15043 PPS bus - Chauffage manuel: 1 - On
1D 48 FF FF FF FF FF 01 9F
PPS RTS
17 00 00 00 00 00 00 00 00
PPS ANS 15046 PPS bus - Modèle de sonde d'ambiance QAA: 83 - QAA 70
FD 38 FF FF FF FF FF 53 7D
PPS INF 15044 PPS bus - Status Brenner: 00000011
1D 4D FF FF FF FF FF 03 98
PPS RTS
17 00 00 00 00 00 00 00 00
PPS ANS 15002 PPS bus - Bouton rotatif: 0.0 °C
FD 18 FF FF FF FF 00 00 EF
PPS INF 15045 PPS bus - Connexion interrompue: 1 - Yes
1D 4F FF FF FF FF FF 01 98
PPS RTS
17 00 00 00 00 00 00 00 00
PPS ANS 15046 PPS bus - Modèle de sonde d'ambiance QAA: 83 - QAA 70
FD 38 FF FF FF FF FF 53 7D
PPS INF 15001 PPS bus - Touche de présence: 1 - On
1D 4C FF FF FF FF FF 01 9B
PPS RTS
17 00 00 00 00 00 00 00 00
PPS ANS 15008 PPS bus - Température ambiante: 0.0 °C
FD 28 FF FF FF FF 00 00 DF
PPS INF 15043 PPS bus - Chauffage manuel: 1 - On
1D 48 FF FF FF FF FF 01 9F
PPS RTS
17 00 00 00 00 00 00 00 00
PPS ANS 15035 PPS bus - Température cible: 0.0 °C
FD 19 FF FF FF FF 00 00 EE
PPS RTS
17 00 00 00 00 00 00 00 00
PPS ANS
FD 4E FF FF FF FF FF 00 BA
PPS INF 15045 PPS bus - Connexion interrompue: 1 - Yes


No value in the BSB-lan web interface.
When I try to "check for new parameters", I have:


This scan can take a few minutes, do not interrupt until the message 'Done' appears.
Afterwards, save this page and send the file to bsb(ät)code-it.de so that the new parameters can be added.

Version: 2.0.108-20211114123620
Scanning for devices......
Device address found: 0
Teste Geräteadresse 0...


and "The connection has been reinitialized"

Could someone help me?

Thank you in advance

Gnom

freetz

Hi Gnom,

the check for new parameters doesn't work on PPS devices and is also not necessary/relevant there.
The serial log shows that the PPS connection is working on a hardware level, but it says that the connection is interrupted (parameter 15045). This can take up to two minutes (but usually less) after connecting. But more importantly you should check your settings for the bus in the configuration: Is it configured as room unit or passive? If you still have connected a QAA50/70, you have to set it up as "passive". If no other room unit is present, then you have to set it to "room unit".
If the problem persists, we need longer serial monitor logs, preferrably right after booting the ESP32.

Cheers,


Frederik
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

Gnom

Hi Freetz

thank you for your quick response, I will try to wait a little longer ...
For configuration, it's configured as room unit and there is no other room unit connected at same time.

Gnom

Gnom

It's good I have the information back after about 3 minutes.

On the other hand, I tried to define a value for: 15008 PPS bus - Ambient temperature:, it is well taken in BSB-lan but does not go back to the regulation.
Is this normal?

freetz

It should send the ambient temperature, I'll have a look at the logs, but please edit your post and use CODE tags for the logs, otherwise it's hard to read...
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

@freetz: "EEPROM schema v.0 Program schema v.9" ->  :o  should be "EEPROM schema v.9 Program schema v.9"
@Gnom: Please make an additional /CO and post the output (using code-tags plz) also. Also please put that logfile back in again, just 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/

freetz

I still had the page open with the unformatted log, but it stopped right after the "Connection interrupted" switched from "Yes" to "No". Only once the connection is no longer interrupted, BSB-LAN will send all the parameters one by one. So it can then still take a little while until the ambient temperature is sent.
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

Gnom

#5964
Here is the log if it can give an indication. I deleted the part without connection otherwise the code was too long and the code tag seems not working ...
i will try with a TXT ......

Schotty

Ok, seems to be too long for code tags :(

Please post also /CO - that should work with code tags though, just try.

Zitat von: Schotty am 27 Dezember 2021, 11:18:46
@freetz: "EEPROM schema v.0 Program schema v.9" ->  :o  should be "EEPROM schema v.9 Program schema v.9"
Handbuch zur BSB-LAN Hard- & Software (Anbindung v. Heizungsreglern, u.a. von Brötje & Elco):
https://1coderookie.github.io/BSB-LPB-LAN/

Gnom

#5966
Here is /CO output


Hardware: ESP32
Version: 2.0.108-20211114123620
Free memory: 243652 Bytes
Uptime: 233951
1-Wire bus pins: 7, Sensors: 0


Installed modules:
Verbose DEBUG, IPWE, MQTT, LOGGER, VERSION_CHECK, AVERAGES, MAX_CUL, ONE_WIRE_BUS, DHT_BUS, BME280, CONFIG_IN_EEPROM, WEBCONFIG, JSONCONFIG, MDNS

Free space on SD card: 1377739 Bytes


Settings
General Advanced options On
General Read config from EEPROM Off
General Write access (level) On (Standard)
General Check for updates Off
General OTA Update Off
Bus RX pin number 16
Bus TX pin number 17
Bus Type PPS
Bus Own address 66
Bus Destination address 0
Bus PPS: mode as room unit
Bus PPS: QAA model QAA 70
Bus Famille d'appareil 0
Bus Variante d'appareil 0
Network URL Passkey
Network HTTP authentification
Network DHCP usage On
Network IP address (fixed) 192.168.178.88
Network Subnet 255.255.255.0
Network Gateway 192.168.178.1
Network DNS Server 192.168.178.1
Network TCP Port 80
Network MAC address 24:62:AB:E0:90:74
Network Trusted IP address 0.0.0.0
Network Trusted IP address 0.0.0.0
Network WLAN SSID Gnom
Network WLAN password ******
Network mDNS Hostname BSB-LAN
MQTT Usage Off
MQTT IP address broker 192.168.178.20
MQTT Username User
MQTT Password Pass
MQTT Device ID BSB-LAN
MQTT Topic Präfix BSB-LAN
24h averages Calculation Off
24h averages Parameters 8700,8326
Logging Bus telegrams Off
Logging To SD card Off
Logging Interval (seconds) 3600
Logging Parameters 8700,8743,8314
OneWire Pins 7
DHT Pins 5
BME280 sensors Sensoren 1
RU emulation DHW push button: pin 0
RU emulation RU1 temperature sensor parameter
RU emulation RU1 presence button: pin 0
RU emulation RU2 temperature sensor parameter
RU emulation RU2 presence button: pin 0
RU emulation RU3 temperature sensor parameter
RU emulation RU3 presence button: pin 0
MAX! Usage Off
MAX! IP address cube 192.168.178.5
MAX! Devices KEQ0502326,KEQ0505080
IPWE Usage Off
IPWE Parameters 8700,8743,8314
Debugging Usage Serial
Debugging Verbosity mode On
Debugging Monitor mode Off
Debugging Unbekannte Parameter anzeigen On


Thanks a lot for your help

Gnom

Schotty

Thanks, as I anticipated: you deactivated "read config from EEPROM".
Please ACTIVATE that one and save the settings.
Also check out the manual: https://1coderookie.github.io/BSB-LPB-LAN_EN/chap02.html#221-configuration-via-webinterface
There it says:

"Read config from EEPROM -> On -> Reads the stored configuration from the EEPROM when starting the Due (Off/On).
These settings can deviate from the default settings, which were made in the file BSB_lan_config.h.
If the settings stored in the EEPROM should be overwritten, e.g. during an update, set to "Off" and save the setting before flashing!
If the setting is "Off", changes will only remain active until the Due is restarted."
Handbuch zur BSB-LAN Hard- & Software (Anbindung v. Heizungsreglern, u.a. von Brötje & Elco):
https://1coderookie.github.io/BSB-LPB-LAN/

freetz

After each reboot, the room temperature is reset to zero, and if it's zero, it is not transmitted to the heater. So try again after a reboot and once the connection is no longer interrupted AND ambient temperature is above zero, it should be transmitted.
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

Gnom

OK i have change the Eeprom parameter

Hardware: ESP32
Version: 2.0.108-20211114123620
Free memory: 244880 Bytes
Uptime: 309961
1-Wire bus pins: 7, Sensors: 0


Installed modules:
Verbose DEBUG, IPWE, MQTT, LOGGER, VERSION_CHECK, AVERAGES, MAX_CUL, ONE_WIRE_BUS, DHT_BUS, BME280, CONFIG_IN_EEPROM, WEBCONFIG, JSONCONFIG, MDNS

Free space on SD card: 1377739 Bytes


Settings
General Advanced options On
General Read config from EEPROM On
General Write access (level) On (Standard)
General Check for updates Off
General OTA Update Off
Bus RX pin number 16
Bus TX pin number 17
Bus Type PPS
Bus Own address 66
Bus Destination address 0
Bus PPS: mode as room unit
Bus PPS: QAA model QAA 70
Bus Famille d'appareil 0
Bus Variante d'appareil 0
...


I will try to wait and see for the temperature transmition i set the parameter 15008 to 19 (via 192.168.1.108/I15008=19.5)
I still have lot of connection interuption, any idea ?