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

Handbuch zur BSB-LAN Hard- & Software (Anbindung v. Heizungsreglern, u.a. von Brötje & Elco):
https://1coderookie.github.io/BSB-LPB-LAN/

hylyah

The BSB_LAN_config :


/************************************************************************************/
/************************************************************************************/
/* Settings -   BEGIN                                                               */
/************************************************************************************/
/************************************************************************************/

// Upon first installation, rename this file from BSB_lan_config.h.default to BSB_lan_config.h and adjust settings accordingly
// Users who still use Arduino Mega2560 boards instead of Arduin Due: Please have a look at the very end of this configuration
// where certain modules are disabled by default due to limited flash memory.


/* Select language; so far German is the most complete, with English following.
* Available languages are: Czech (CS), German (DE), Danish (DA), English (EN), Spanish (ES), Finnish (FI),
* French (FR), Greek (EL), Hungarian (HU), Italian (IT), Dutch (NL), Polish (PL), Russian (RU), Swedish (SV),
* Slovenian (SI) and Turkish (TR).
* Incomplete languages will automatically be filled up with English translations first, and if no English translation
* is available, fallback will take place to German.
*/
#define LANG FR

/*
Allow to initialize program configuration by reading settings from EEPROM
byte UseEEPROM = 0; // Configuration is read from this config file.
                    // Configuration can be stored in EEPROM but will not used while UseEEPROM is zero.
                    // Set zero for fallback startup in case EEPROM configuration is broken.
byte UseEEPROM = 1; // Configuration will be read from EEPROM. This is the default.
*/
byte UseEEPROM = 1;

/*
*  Enter a MAC address, found either on the EthernetShield or use the one below.
*  Change this if you have more than one BSB-LAN adapter in your LAN, so that there aren't any address conflicts.
*  MAC address here only affects the LAN shield, it doesn't apply to the WiFi-ESP-solution.
*/
byte mac[6] = { 0x00, 0x80, 0x41, 0x19, 0x69, 0x90 };

/*
* Initialize the Ethernet server library
* with the IP address and port you want to use
* (port 80 is default for HTTP):
*/

uint16_t HTTPPort = 80;
bool useDHCP = false;                 // Set to false if you want to use a fixed IP.
byte ip_addr[4] = {192,168,1,249};     // Please note the commas instead of dots!!!  Set useDHCP to true if you want DHCP.
byte gateway_addr[4] = {192,168,1,1}; // Gateway address. This is usually your router's IP address. Please note the commas instead of dots!!! Ignored if first value is 0.
byte dns_addr[4] = {192,168,1,251};     // DNS server. Please note the commas instead of dots!!! Ignored if first value is 0.
byte subnet_addr[4] = {255,255,255,0};  // Subnet address. Please use commas instead of dots!!! Ignored if first value is 0.

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

#define MDNS_SUPPORT                   // Advertises the hostname in the local network. Disable this if you don't want your device to be found under this name in your network.
char mDNS_hostname[32] = "BSB-LAN";

#define DEBUG         // Compile with verbose DEBUG module if defined
byte debug_mode = 1;  // Debug mode: 0 - disabled, 1 - send debug messages to serial interface, 2 - send debug messages to telnet client
byte verbose = 1;     // If set to 1, all messages on the bus are printed to debug interface
byte monitor = 0;     // Bus monitor mode. This is only necessary for in-depth debug sessions.
bool show_unknown = true; // true - show all parameters, false - hide unknown parameters from web display (parameters will still be queried and therefore take time!)

/* SECURITY OPTIONS
* There are several options to control and protect access to your heating system. However, keep
* in mind, that even activating all three options are no guarantee that a versatile intruder with
* access to your (W)LAN won't be able to gain access. In any case, no encryption of data streams
* is provided from the Arduino itself. Use VPN or a SSL proxy if that is a must for you and connect
* the Arduino wired to the VPN server or SSL proxy. On the other hand, someone with this amount
* of criminal activity will probably have it easier just to access your heating system face-to-face ;)
*/

/*
* if PASSKEY length is non-zero, the URL has to contain the defined passkey as first element
* e.g.
* char PASSKEY[64] = "1234";
* http://192.168.178.88/1234/                - to view the main website (don't forget the trailing slash!)
* http://192.168.178.88/1234/K               - to list all categories
* http://192.168.178.88/1234/8700/8740/8741  - to list parameters 8700, 8740 and 8741 in one request
*/
char PASSKEY[64] = "";

/* activate IP-address-based access.
You can set any ip address as trusted.
Not used if first byte is 0
*/
byte trusted_ip_addr[4] = {0,0,0,0};
byte trusted_ip_addr2[4] = {0,0,0,0};

/* Activate HTTP-Auth authentication to provide username/password based access. No encryption!
* Credentials have to be entered in the form
* User:Password
*/
//char USER_PASS[64] = "User:Password";
char USER_PASS[64] = "hylyah:472253";      // HTTP-Auth will be disabled if USER_PASS string length is zero


// Compile module with one wire bus support.
#define ONE_WIRE_BUS
byte One_Wire_Pin = 0;         // Define the pin for one wire temperature sensors. 0 - disable oneWire bus

// Compile module with DHT temperature/humidity sensors support
#define DHT_BUS
// Define the pins for DHT temperature/humidity sensors (Up to 10)
uint8_t DHT_Pins[10] = {0};

// Compile module with BME280 temperature/humidity/pressure sensors support on I2C bus.
// Up to two sensors with 0x76 and 0x77 addresses.
#define BME280
byte BME_Sensors = 0; //Define number of BME280 sensors

// Compile module for calculation 24h averages for selected programs
#define AVERAGES
// Create 24h averages from these parameters and save data into averages.txt on SD-card.
float avg_parameters[40] = {
  8700,                         // Außentemperatur
  8326                          // Brenner-Modulation
};

/* Compile module for logging.
File logging requires a FAT32 formatted micro SD card inserted into the Ethernet shield's card slot.
Does: log bus telegrams to file
      log selected values to file
      store to SD and load selected 24h averages
      send selected values as UDP broadcast
      push selected values to an MQTT broker*/
#define LOGGER

#define UDP_LOG_PORT 6502 // fixed here, not configurable via web interface

// Use SD card adapter on ESP32-based boards instead of SPIFFS flash-based storage
//#define ESP32_USE_SD

// Log "raw" bus telegrams. Data saved in journal.txt on SD-card.
// Telegrams logged upon boot:
// int logTelegram = LOGTELEGRAM_OFF; // nothing to log,
// int logTelegram = LOGTELEGRAM_ON;  // log all telegrams,
// int logTelegram = LOGTELEGRAM_ON + LOGTELEGRAM_UNKNOWN_ONLY;           // log unknown telegrams,
// int logTelegram = LOGTELEGRAM_ON + LOGTELEGRAM_BROADCAST_ONLY;         // log broadcast telegrams,
// int logTelegram = LOGTELEGRAM_ON + LOGTELEGRAM_UNKNOWNBROADCAST_ONLY;  // log unknown broadcast telegrams only;
int logTelegram = LOGTELEGRAM_OFF;

// Logging data from parameters
// Interval and list of parameters can be redefined through /L command during runtime
// Data will be written to "datalog.txt"
unsigned long log_interval = 3600;  // Logging interval (to SD card, UDP and MQTT broker) in seconds
float log_parameters[40] = {
  8700,                   // Außentemperatur
  8743,                   // Vorlauftemperatur
  8314,                   // Rücklauftemperatur
//  20000,                  // Spezialparameter: Brenner-Laufzeit Stufe 1
//  20001,                  // Spezialparameter: Brenner-Takte Stufe 1
//  20002,                  // Spezialparameter: Brenner-Laufzeit Stufe 2
//  20003,                  // Spezialparameter: Brenner-Takte Stufe 2
//  20004,                  // Spezialparameter: TWW-Laufzeit
//  20005,                  // Spezialparameter: TWW-Takte
//  20050,                  // Spezialparameter 20050-20099: 24h-Durchschnittswerte
//  20100,                  // Spezialparameter 20100-20299: DHT22-Sensoren 1-50
//  20300                   // Spezialparameter 20300-20499: DS18B20-Sensoren 1-100
//  20500                   // Spezialparameter 20500-20699: MAX!-Sensoren 1-50
};

// Compile MQTT extension: activate sending log_parameters to MQTT broker every log_interval seconds
#define MQTT
byte mqtt_mode = 1; // MQTT: 1 - send messages in plain text format, 2 - send messages in JSON format, 3 - send messages in rich JSON format. Use this if you want a json package of your logging information printed to the mqtt topic
// JSON payload will be of the structure: {"MQTTDeviceID": {"status":{"log_param1":"value1"}}}
// rich JSON payload will be of the structure: {"MQTTDeviceID": {"id": "parmeter number from log values", "name": "parameter name from logvalues", "value": "query result", "desc": "enum value description", "unit": "unit of measurement", "error", error code}}
byte mqtt_broker_ip_addr[4] = {192,168,178,20}; // MQTT broker ip address. Please use commas instead of dots!!!
char MQTTUsername[32] = "User";                 // Set username for MQTT broker here or set empty string if no username/password is used.
char MQTTPassword[32] = "Pass";                 // Set password for MQTT broker here or set empty string if no password is used.
char MQTTTopicPrefix[32] = "BSB-LAN";         // Optional: Choose the "topic" for MQTT messages here. In case of empty string, default topic name will be used

// Optional: Define a device name to use as header in json payload. In case of empty string, "BSB-LAN" will be used.
// This value is also used as a client ID towards the MQTT broker, change it if you have more than one BSB-LAN on your broker.
char MQTTDeviceID[32] = "BSB-LAN";

// Logging mode: 0 - disabled, 1 - write values to SD card, 2 - write 24h averages to SD card, 4 - send values to MQTT, 8 -  send values to UDP. Can be any sum of these values.
byte LoggingMode = 0; //CF_LOGMODE_SD_CARD | CF_LOGMODE_SD_CARD_24AVG | CF_LOGMODE_MQTT | CF_LOGMODE_UDP


// Compile IPWE extension
#define IPWE
bool enable_ipwe = false;  // true - activate IPWE extension (http://xxx.xxx.xxx.xxx/ipwe.cgi)
// Parameters to be displayed in IPWE extension
float ipwe_parameters[40] = {
  8700,                   // Außentemperatur
  8743,                   // Vorlauftemperatur
  8314,                   // Rücklauftemperatur
//  8750,                   // Gebläsedrehzahl
//  8830,                   // Warmwassertemperatur
//  8740,                   // Raumtemperatur Ist
//  8741,                   // Raumtemperatur Soll
//  8326,                   // Brenner-Modulation
//  8337,                   // Startzähler Brenner
//  8703,                   // Aussentemperatur gedämpft
//  8704                    // Aussentemperatur gemischt
};

// If you prefer to use the log file plotting (/DG) used in BSB-LAN 2.1.3, disable the following #define.
// Otherwise a newer implementation will be used that does require (automated) loading of an additional
// Javascript library off the internet (currently 204 KB), but offers the following improvements:
// - better legibility for value numbers with plot lines close to each other (mouseover on plot)
// - user can interactively highlight plot lines for improved overview (mouseover on legend entries)
// - user can interactively disable plot lines for improved overview and vertical scaling (click on legend entries)
// - added zoom (mousewheel/pinch on plot) and pan capability (drag zoomed-in plot)
// - saves over 4 KB in compiled BSB-LAN sketch
#define USE_ADVANCED_PLOT_LOG_FILE

// Compile CUNO/CUNX/modified MAX!Cube extension.
#define MAX_CUL
bool enable_max_cul = false;                // enable or disable connection to CUNO/CUNX/modified MAX!Cube;
byte max_cul_ip_addr[4] = {192,168,178,5};     // IP of CUNO/CUNX/modified MAX!Cube. Please use commas instead of dots!!!
char max_device_list[20][11] = {               // list of MAX! wall/heating thermostats that should be polled
  "KEQ0502326",                                // use MAX! serial numbers here which have to have exactly 10 characters
  "KEQ0505080"
};


// defines the number of retries for the query command
#define QUERY_RETRIES  3

// Setting bus pins and bus type

byte bus_pins[2] = {0,0}; //First value - RX pin, second value - TX pin. 0,0 - auto select (19,18 for Due, 16,17 for NodeMCU, 36,17 for Olimex EVB and 68,69 for Mega).
uint8_t bus_type = 0;  // set bus system at boot: 0 = BSB, 1 = LPB, 2 = PPS
// BSB:
// - 'own_address' sets own address, defaults to 0x42 (LAN in serial monitor)
// - 'dest_address' sets destination address, defaults to 0 for heating system.
// LPB:
// - 'own_address and 'dest_address' set own and destination address (high nibble = segment, low nibble = device minus 1)
// - defaults to 0x42 for own address and 0x00 for destination address, i.e. segment 4, device 3 for Arduino/BSB-LAN and segment 0, device 1 for heating system
byte own_address = 0x42;
byte dest_address = 0x00;
// PPS:
// - set 'pps_write' to "1" to enable writing to heater - only use this if there is no other room controller (such as QAA50/QAA70) active.
bool pps_write = 0;
byte QAA_TYPE = 0x53;  // 0x53 = QAA70, 0x52 = QAA50, 0x5A = QAA10, 0x37 = QAA95, 0x66 = BMU, 0xEA = MCBA/REA70/DC225

/* Set the device family and device variant of your heating system. Only change this if you _really_ know what you are doing!
* Set fixed_device_family and fixed_device_variant to your device family and variant (parameters 6225 and 6226) here
* if heating system is not running when Arduino is powered on.
*/
uint16_t fixed_device_family = 0;
uint16_t fixed_device_variant = 0;

// defines default flag for parameters
// use "#define DEFAULT_FLAG FL_SW_CTL_RONLY" to control read/write functionality via configuration in web interface.
// use "#define DEFAULT_FLAG 0" to make (almost) all parameters writeable
// use #define DEFAULT_FLAG FL_RONLY to run the program always in read-only mode.
#define DEFAULT_FLAG FL_SW_CTL_RONLY

// include commands from BSB_lan_custom.h to be executed at the end of each main loop
//#define CUSTOM_COMMANDS

/*
* Check for new versions when accessing BSB-LAN's main page.
* Doing so will poll the most recent version number from the BSB-LAN server.
* In this process, it is unavoidable that your IP address will be transferred to the server, obviously.
* We nevertheless mention this here because this constitutes as 'personal data' and this feature is therefore disabled by default.
* Activating this feature means you are consenting to transmitting your IP address to the BSB-LAN server where it will be stored
* for up to two weeks in the server's log files to allow for technical as well as abuse analaysis.
* No other data (such as anything related to your heating system) is transmitted in this process, as you can see in the source code.
*/
#define VERSION_CHECK
bool enable_version_check = false;

#define ENABLE_ESP32_OTA
boolean enable_ota_update = false;


// "External" web server. Read files from SD-card. Only static content: html, js, css, jpg, etc.
//#define WEBSERVER

// Configuration will be stored in EEPROM
#define CONFIG_IN_EEPROM

// Compile web-based configuration and EEPROM config store module extension.
#define WEBCONFIG

// Compile JSON-based configuration and EEPROM config store module extension.
#define JSONCONFIG

#define RGT_EMULATOR
float rgte_sensorid[3][5] = {{0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}}; //Temperature sensor program IDs for RGT1/PPS - RGT3. If zero then RGT will not be emulated. If more than one program set per RGT then average will be calculated and used.

//Enable presence buttons and TWW/DHW push on selected pins.
// Pins on Mega can be (Digital) 2, 3, 18, 19, 20, 21
// On Due any Digital pins can be selected excluding 12, 16-21, 31, 33, 53.
// Make sure you aren't using pins which are already in use for sensors (default: 2, 3, 7) or change them accordingly.
#define BUTTONS
uint8_t button_on_pin[4] = {0, 0, 0, 0}; //Order: TWW push, presence ROOM1, presence ROOM2, presence ROOM3

// Variables for future use:
// Compile room unit replacement extension
#define ROOM_UNIT
byte UdpIP[4] = {0,0,0,0}; // (destination IP address for sending UDP packets to, the room unit replacement of FHEM user @fabulous uses that)
uint16_t UdpDelay = 15;    // (interval in seconds to send UDP packets)

// Compile off-site logger extension
#define OFF_SITE_LOGGER
byte destinationServer[128] = "";   // URL string to periodically send values to an off-site logger
uint16_t destinationPort = 80;      // port number for abovementioned server
uint32_t destinationDelay = 84600;  // interval in seconds to send values

/************************************************************************************/
/************************************************************************************/
/* Settings -   END                                                                 */
/************************************************************************************/
/************************************************************************************/


freetz

You have
#define WIFI
in your configuration, as Schotty assumed already. You have to disable that line (with // at the beginning), then Ethernet will be used.
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

hylyah

Oh ok.

Ethernet with default DHCP or IP/mask specified ?

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

freetz

Zitat von: falkomfs am 05 November 2022, 10:07:07
Werde mal schauen das ich das dieses Wochenende noch schaffe. Folgende Daten habe ich schon schnell gefunden.
15008 ist die Ist Temperatur des QAA
15020 ändert sich wenn Trinkwasser erwärmt wird
15021 ist Trinkwasser Temperatur
15030 Aussentemperatur passt
15032 passt, wird aber auf dem QAA nicht angezeigt
15035 ist die Eingestellte Temperatur und ändert sich auch beim drehen am Rädchen um 2 Grad, 15002 bleibt aber auf 0,0
15040 passt
15041 passt
15004 und 15005 ändern sich nicht

Danke, das, was Du da beobachtet hast, deckt sich auch mit den Logs, die Du mir geschickt hast. Und auch bei Deinem Regler ist es so, dass die Änderung über den Drehknopf als relative Temperaturdifferenz an die Heizung geschickt wird.
Ein Auszug aus Deinem Log:
FD 18 FF FF FF FF 00 C0 2F
Die Bytes 7 und 8 sind die Temperatur (00 C0, dez. 192). Temperaturwerte werden durch 64 geteilt, macht also 3. Sprich, der Regler muss rechts am Anschlag gewesen sein (3 Grad über der eingestellten Soll-Temperatur).
Später dann:
FD 18 FF FF FF FF 00 00 EF 1E
Hier sind die beiden Bytes auf 0, also 0 Grad Differenz zum Sollwert.
Zumindest bei Deinem Regler ist also alles, so wie wir es von PPS her kennen (@Schotty: Dann sollten wir den Regler auch mit auf die Liste der kompatiblen Regler hinzufügen, oder?).

Ich kann mir wie gesagt nach wie vor nicht vorstellen, dass das bei @Dieter68 anders ist, aber auch hier würden im Endeffekt auch nur ein Log-Mitschnitt helfen, um da Klarheit zu schaffen.
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

Zitat von: freetz am 10 November 2022, 10:32:48
@Schotty: Dann sollten wir den Regler auch mit auf die Liste der kompatiblen Regler hinzufügen, oder?
Ja klar, wenn da jetzt alles funktioniert, trage ich die ein.

Zitat von: falkomfs am 04 November 2022, 17:16:14
Die Heizung ist eine Brötje WGB20 ohne etwas dahinter.
Die genaue Bezeichnung müsste "Brötje EcoTherm Plus WGB20" sein - richtig?
Handbuch zur BSB-LAN Hard- & Software (Anbindung v. Heizungsreglern, u.a. von Brötje & Elco):
https://1coderookie.github.io/BSB-LPB-LAN/

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

Schotty

Danke, hatte ich gerade vergessen - aber die genaue Modellbezeichnung der Hzg bräuchte ich dann noch bestätigt (müsste aber die sein, ne andere gab's damit m.W. nicht).
Handbuch zur BSB-LAN Hard- & Software (Anbindung v. Heizungsreglern, u.a. von Brötje & Elco):
https://1coderookie.github.io/BSB-LPB-LAN/

Schotty

Handbuch zur BSB-LAN Hard- & Software (Anbindung v. Heizungsreglern, u.a. von Brötje & Elco):
https://1coderookie.github.io/BSB-LPB-LAN/

falkomfs

Zitat von: Schotty am 10 November 2022, 10:48:29
Danke, hatte ich gerade vergessen - aber die genaue Modellbezeichnung der Hzg bräuchte ich dann noch bestätigt (müsste aber die sein, ne andere gab's damit m.W. nicht).

ja ist laut Beschreibung diese Heizung.

RonaldN

#6296
Zitat von: an-erd am 08 September 2022, 21:04:20
Ich habe die Ursache identifizieren können. Wird der Befehl wie folgt gesendet, funktioniert es. Der "/" darf nicht mit angegeben werden.

pi@raspberrypi:~ $ mosquitto_pub -h 192.168.2.137 -u USER -P PASSWORD -m "S1610=41" -t BSB-LAN -d


Dies ist aus dem Handbuch nicht so leicht erkennbar, daher vielleicht einfach den Befehl für mosquitto hinzufügen, oder (und das fände ich konsistenter), den "/" erlauben und die Funktion anpassen. Das wäre dann in der Datei "mqtt_handler.h" in Zeile 296 (aktueller Master). Im Augenblick gibt diese mit "/" immer "0.0" zurück.
  float I_line=atof(C_payload);


Viele Grüße
Andreas

@Schotty: Ich habe mir das auch angesehen... In der Tat scheint die Syntax aus dem Handbuch Kapitel 5.2 MQTT nicht 1 zu 1 auf Mosquitto übertragbar zu sein...

Bei einem Aufruf mit "/" vor dem Parameter wird dieses als 0 interpretiert und das Datum / Uhrzeit ausgegeben...

mosquitto_pub -h 192.168.178.35 -u USER -m "/1010" -t BSB-LAN -d
Client null sending CONNECT
Client null received CONNACK (0)
Client null sending PUBLISH (d0, q0, r0, m1, 'BSB-LAN', ... (5 bytes))
Client null sending DISCONNECT

Hier die Ausgabe
BSB-LAN /1010
BSB-LAN/MQTT ACK_/1010
BSB-LAN/json {"BSB-LAN":{"id":0,"name":"Aktuelles Datum / Aktuelle Uhrzeit","value": "12.11.2022 13:28:26","desc": "","unit": "","error": 0}}


Wenn nun der "/" weggelassen wird, erfolgt die richtige Rückgabe...

mosquitto_pub -h 192.168.178.35 -u USER -m "1010" -t BSB-LAN -d
Client null sending CONNECT
Client null received CONNACK (0)
Client null sending PUBLISH (d0, q0, r0, m1, 'BSB-LAN', ... (4 bytes))
Client null sending DISCONNECT

Hier die Ausgabe
BSB-LAN 1010
BSB-LAN/MQTT ACK_1010
BSB-LAN/json {"BSB-LAN":{"id":1010,"name":"Komfortsollwert","value": "18.0","desc": "","unit": "°C","error": 0}}


Ich denke, dass es hilfreich wäre, wenn Du im Handuch den Aufruf für Mosquitto einarbeiten könntest, wie von Andreas vorgeschlagen...

Gruß
Ronald

Schotty

#6297
Hi Ronald,
danke, ich habe jetzt den Slash aus den Beispielen im Handbuch entfernt und werde die beiden Zeilen Eurer Mosquitto-Befehle mit reinnehmen.
Gruß

EDIT: Done - müsste jetzt so passen..
Handbuch zur BSB-LAN Hard- & Software (Anbindung v. Heizungsreglern, u.a. von Brötje & Elco):
https://1coderookie.github.io/BSB-LPB-LAN/

RonaldN

Zitat von: Schotty am 12 November 2022, 17:27:34
Hi Ronald,
danke, ich habe jetzt den Slash aus den Beispielen im Handbuch entfernt und werde die beiden Zeilen Eurer Mosquitto-Befehle mit reinnehmen.
Gruß

EDIT: Done - müsste jetzt so passen..

Hi Schotty

Vielen lieben Dank... Ich habe gerade gesehen, dass mir ein Fehler unterlaufen ist. In der ersten Abfrage steht nur der User drin und nicht das Password. Beim SET steht es drin...

Gruß
Ronald

vibraHome

Hallo Zusammen,

ich habe gestern versucht eine Brötje Heizung EcoTherm Plus WGB 20 E über den BSB-LAN Adapter anzusprechen.
Laut serieller Schnittstelle habe ich auch eine Verbindung bekommen.

Device family: 162
Device variant: 5

Starting MDNS service with hostname BSB-LAN
Setup complete
DSP1->HEIZ QUR      0D3D0519
DC 8A 00 0B 06 3D 0D 05 19 4F 8C
HEIZ->DSP1 ANS      0D3D0519 00 0A 6C
DC 80 0A 0E 07 0D 3D 05 19 00 0A 6C FD 6A
EM1->HEIZ INF      05000229 0A B3 F9 00 64 01 44
DC 83 00 12 02 05 00 02 29 0A B3 F9 00 64 01 44 5B 51
DSP1->HEIZ QUR      0D3D0519
DC 8A 00 0B 06 3D 0D 05 19 4F 8C
HEIZ->DSP1 ANS      0D3D0519 00 0A 6C

und so weiter.

Die Geräte-Identifikation meldet: LMS14.001A100

Wenn ich nun die Reglerspezische Parameterliste erstellen lassen will, bekomme ich nur folgende Ausgabe als Textdatei:

Version: 2.1.8-20220731102301
Scanne nach Geräten...

Fertig.

Was mach ich falsch?
Wie kann ich die Parameterliste erzeugen?

Der Adapter ist die Version  ESP32: NodeMCU "Joy-It"

Im Voraus vielen Dank für die Unterstützung

Thomas