When I have 2.2 supported I will have a look at this. Thanks for the update
Hi,
Just to be sure I have well understood what all of you are saying :
In order to add my BSB-LAN esp32 module to HA, I need to flash it with v1.0 firmware from the github repository ?
Hello,
Iâam trying to connect the HA BSB-LAN module to my BSB-LAN but I have this error (log logâŠ)
I am 100% sur of my IP and login/passwordâŠ
I donât think this will be possible. So itâs not yet compatible. I hope to work on the firmware support soon.
If someone can give a list of the parameters that are needed than this would speed up development.
(this way I donât need to upgrade my firmware)
"""BSBLAN constants."""
DEVICE_INFO_API_V1 = {
"6224": "device_identification",
"6225": "controller_family",
"6226": "controller_variant",
}
DEVICE_INFO_API_V2 = {
"6224": "device_identification",
"6225": "controller_family",
"6226": "controller_variant",
}
# dict of parameter needed for climate device.
# need to update values and request less?
HEATING_CIRCUIT1_API_V1 = {
"700": "hvac_mode",
"710": "target_temperature",
"711": "target_temperature_high",
"712": "target_temperature_low",
"714": "min_temp",
"730": "max_temp",
"900": "hvac_mode2",
"8000": "hvac_action",
"8700": "outside_temperature",
"8740": "current_temperature",
"8749": "room1_thermostat_mode",
}
HEATING_CIRCUIT1_API_V2 = {
"700": "hvac_mode",
"710": "target_temperature",
"711": "target_temperature_high",
"712": "target_temperature_low",
"714": "min_temp",
"730": "max_temp",
"900": "hvac_mode2",
"8000": "hvac_action",
"8700": "outside_temperature",
"8740": "current_temperature room1",
"8749": "room1_thermostat_mode",
}
SENSORS_API_V1 = {
"8700": "outside_temperature",
"8740": "current_temperature",
}
SENSORS_API_V2 = {
# get sensor values
"8700": "outside_temperature",
}
HEATING_CIRCUIT2 = [
"1000",
"1010",
"1011",
"1012",
"1014",
"1030",
"1200",
"8001", # status_heating_circuit2
"8770",
]
# homeassistant values
HVAC_MODE_DICT = {
0: "off",
1: "auto",
2: "eco", # presetmode?
3: "heat",
}
HVAC_MODE_DICT_REVERSE = {
"off": 0,
"auto": 1,
"eco": 2,
"heat": 3,
}
I need all the v2 info, Now itâs the same as v1. If this can be provided!!
Thanks
Diagnostics is coming soon in an update. Need to be merged. This would help with trouble shoot. I guess you have also a newer firmware? it only supports v1
Oh⊠I am in V2âŠ
There is a documentation to using BSB-LAn V2 with mqtt ?
Partially, look at my and others comments above.
I tried to figure out yesterday how to setup a MQTT select for HVAC_MODE
(as it was mentioned above), but I couldnât make it work. It received the mode from BSBLAN, but I couldnât set it with the select.
Update: I looked at those codes and actually you need the new MQTT sensor definition, those are the depreciated ones.
Hello,
It work with REST sensor so it is good for me.
Now I am looking how to create a switch/REST to change value.
Look here for examples, there are a lot.
So actually v3.0 is out and you need to start with a fresh config and custom_defs.h from Fred for your language.
Yes I Just updated my device!!
I have to wait for the device specific file. This makes it a bit scary if with this integration we can monitor all sorts of devices. Maybe the manual setup mqtt and rest is the better option?
I will have a look if I can identify devices and find the right basic parameters.
I have never used the integration as I am using v2.x. But the main question, what do you want to control or read from a heater. I think the above listed example sums up the most common values. But might be a query for some other parameters could work, and some way let the user to add more parameters to monitor?
There is a conversion issue, it thinks 19 is in Fahrenheit and converts it to -7.2 Celsius.
Hi,
it seems I do not get the ESP32 to send the data.
My HA instance says, the ESP is up and running via developer entity check
source_type: router
ip: 192.168.1.53
mac: 7C:9E:BD:61:4C:90
host_name: BSB-Heizung
last_time_reachable: 2022-11-15T16:26:34+00:00
connected_to: fritz.box
connection_type: WLAN
ssid: xxxxxx
icon: mdi:lan-connect
friendly_name: BSB-Heizung
But my mqtt sensor in configuration.yaml is still âunknownâ
mqtt:
sensor:
- name: "mqtt temp bsb"
state_topic: "BSB-LAN/8700"
unit_of_measurement: °C
device_class: temperature
Any idea whatâs wrong?
Maybe I am struggling again with YAML syntax?
Regards
Joerg
EDIT:
It seems - after some checks with MQTT explorer - that it should be
mqtt:
sensor:
- name: "mqtt temp bsb"
state_topic: "BSB-LAN/8700.00"
unit_of_measurement: °C
device_class: temperature
The current version doesnât support version 3.0 yet. I am working on this.
The wrong unit is because BSBLAN project changed the string they used to identify unit. The new version that is almost ready will fix this and support the latest master. There was a bug in latest release of the firmware so please upgrade to the latest master commit.
pull request is done! waiting for merge