The latest Grundfos Alpha 3 pumps have built in BLE
Would be nice if we could read the sensors and maybe control the pump settings
Is it possible to convert the code from ESPHome to Home Assistant BLE?
esphome:dev
← jan-hofmeier:alpha3
opened 09:36PM - 07 Sep 22 UTC
# What does this implement/fix?
This adds a `alpha3` component. This componen… ts allow to collect live performance data from a Grundfos Alpha 3 (model B) circulator pump over Bluetooth LE.
It supports collection of:
- flow rate
- head pressure
- power consumption
- speed (RPM)
## Types of changes
- [ ] Bugfix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Other
**Related issue or feature (if applicable):** fixes <link to issue>
**Pull request in [esphome-docs](https://github.com/esphome/esphome-docs) with documentation (if applicable):** esphome/esphome-docs#2278
## Test Environment
- [x] ESP32
- [ ] ESP32 IDF
- [ ] ESP8266
## Example entry for `config.yaml`:
<!--
Supplying a configuration snippet, makes it easier for a maintainer to test
your PR. Furthermore, for new integrations, it gives an impression of how
the configuration would look like.
Note: Remove this section if this PR does not have an example entry.
-->
```yaml
# Example config.yaml
esp32_ble_tracker:
scan_parameters:
duration: 1min
active: false
ble_client:
- mac_address: "xx:xx:xx:xx:xx:xx"
id: radiator_pump
sensor:
- platform: alpha3
ble_client_id: radiator_pump
flow:
name: "Radiator Pump Flow"
head:
name: "Radiator Pump Head"
power:
name: "Radiator Pump Power"
speed:
name: "Radiator Pump Speed"
```
## Checklist:
- [x] The code change is tested and works locally.
- [x] Tests have been added to verify that the new code works (under `tests/` folder).
If user exposed functionality or configuration variables are added/changed:
- [x] Documentation added/updated in [esphome-docs](https://github.com/esphome/esphome-docs).
2 Likes
Briked
February 20, 2023, 2:15pm
3
Hi djfanatix,
Did you manage to get any solution to control the Grundfos Alpha3 from Home assistant?
Thanks
Callen
June 20, 2023, 7:56pm
5
It will be available in the next ESPHome version (hopefully). But you can use it already if you add it as a custom component.
esphome:dev
← jan-hofmeier:alpha3
opened 09:36PM - 07 Sep 22 UTC
# What does this implement/fix?
This adds a `alpha3` component. This componen… ts allow to collect live performance data from a Grundfos Alpha 3 (model B) circulator pump over Bluetooth LE.
It supports collection of:
- flow rate
- head pressure
- power consumption
- speed (RPM)
## Types of changes
- [ ] Bugfix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Other
**Related issue or feature (if applicable):** fixes <link to issue>
**Pull request in [esphome-docs](https://github.com/esphome/esphome-docs) with documentation (if applicable):** esphome/esphome-docs#2278
## Test Environment
- [x] ESP32
- [ ] ESP32 IDF
- [ ] ESP8266
## Example entry for `config.yaml`:
<!--
Supplying a configuration snippet, makes it easier for a maintainer to test
your PR. Furthermore, for new integrations, it gives an impression of how
the configuration would look like.
Note: Remove this section if this PR does not have an example entry.
-->
```yaml
# Example config.yaml
esp32_ble_tracker:
scan_parameters:
duration: 1min
active: false
ble_client:
- mac_address: "xx:xx:xx:xx:xx:xx"
id: radiator_pump
sensor:
- platform: alpha3
ble_client_id: radiator_pump
flow:
name: "Radiator Pump Flow"
head:
name: "Radiator Pump Head"
power:
name: "Radiator Pump Power"
speed:
name: "Radiator Pump Speed"
```
## Checklist:
- [x] The code change is tested and works locally.
- [x] Tests have been added to verify that the new code works (under `tests/` folder).
If user exposed functionality or configuration variables are added/changed:
- [x] Documentation added/updated in [esphome-docs](https://github.com/esphome/esphome-docs).
tikismoke
(tikismoke)
July 19, 2023, 4:14pm
6
Hi,
Could an esp connect to more than one pump with this components?
Also could it be used with Ethernet and not wifi.
Because I do not have wifi where the pumps are located but can have Ethernet. I understand that esphome support only Ethernet or wifi at the same time (found in esphome doc). But could it use Bluetooth and ethernet at the same time?
Last interrogations will it work or need some debug/reverse engineering a little to work with magna pump series?
Can anyone confirm compatibility with the ALPHA 15-58 F (model 92603115)?
Also does anyone have a method for getting the BLE MAC addresses beyond adding the following to the ESP config?
esp32_ble_tracker:
text_sensor:
- platform: ble_scanner
name: "BLE Devices Scanner"
I managed to get it working, don’t use the ESPhome device for other purposes (scanning, tracking,… BLE devices) only use the supplied code, that was my error
Would you mind posting your ESP config contents?
What model pump do you have?
What was your method to identify the BLE mac address of the pump?
Monster_D
(Gernot)
December 3, 2023, 7:00am
10
I would be interested as well …
To find Mac address:
Enable device tracker in HA
device_tracker:
- platform: bluetooth_le_tracker
ESPHome
esphome:
name: esp32-grundfos
friendly_name: ESP Grundfos
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "--secret---"
ota:
password: "--secret--"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Esp32-Grundfos Fallback Hotspot"
password: "--secret--"
captive_portal:
esp32_ble_tracker:
ble_client:
- mac_address: 80:6F:xx:xx:xx
id: radiator_pump
sensor:
- platform: alpha3
ble_client_id: radiator_pump
flow:
name: "Radiator Pump Flow"
head:
name: "Radiator Pump Head"
speed:
name: "Radiator Pump Speed"
power:
name: "Radiator Pump Power"
voltage:
name: "Radiator Pump Voltage"
current:
name: "Radiator Pump Current"
Thank you! What model pump do you have?
nidur
January 5, 2024, 12:59pm
14
I was thinking about upgrading my pump at home that I use for the floor heating system to the alpha 3 model b. But I was hoping to be able to control the pump speed with home assistant, not only monitor. I see that the ESPhome component says it is for monitoring only. Perhaps someone knows if controlling it is an option aswell. Regards
hansQ
February 25, 2024, 2:20pm
15
The pump offers already different options to adapt the flow volume automatically. So there is no reason to buy this pump and then contoll the speed manually. → check the user manual
@djfanatix do you think it might work also for other BLE-enabled Grundfos equipment like a submersible pump with MI 301 GO accessory? As far as I understand this GO software is the same for all the BLE-enabled equipment, what do you think it might require to adopt the code for MI 301 GO?