Skip to content

Bluetooth Grundfos Alpha Adapter ​

This binding supports reading data from Grundfos Alpha pumps with a Grundfos Alpha Reader or Alpha3 pump with built-in Bluetooth. For Alpha3 pumps, it also supports changing the operating mode and control mode.

The reverse engineering of the Alpha Reader protocol was taken from https://github.com/JsBergbau/AlphaDecoder.

Supported Things ​

  • alpha3: The Grundfos Alpha3 pump
  • mi401: The Grundfos MI401 ALPHA Reader

Discovery ​

All pumps and readers are auto-detected as soon as Bluetooth is configured in openHAB and the devices are powered on.

Thing Configuration ​

alpha3 Thing Configuration ​

NameTypeDescriptionDefaultRequiredAdvanced
addresstextBluetooth address in XX:XX:XX:XX:XX:XX formatN/Ayesno
refreshIntervalintegerNumber of seconds between fetching values from the pump30noyes

Pairing ​

After creating the Thing, the binding will attempt to connect to the pump. To start the pairing process, press the blue LED button on the pump. When the LED stops blinking and stays lit, the connection has been established, and the Thing should appear online.

However, the pump may still not be bonded correctly, which could prevent the binding from reconnecting after a disconnection. On Linux, you can take additional steps to fix this issue by manually pairing the pump:

bash
bluetoothctl pair XX:XX:XX:XX:XX:XX
Attempting to pair with XX:XX:XX:XX:XX:XX
[CHG] Device XX:XX:XX:XX:XX:XX Bonded: yes
[CHG] Device XX:XX:XX:XX:XX:XX Paired: yes
Pairing successful

mi401 Thing Configuration ​

NameTypeDescriptionDefaultRequiredAdvanced
addresstextBluetooth address in XX:XX:XX:XX:XX:XX formatN/Ayesno

Channels ​

alpha3 Channels ​

ChannelTypeRead/WriteDescriptionUnit
rssiNumber:PowerRReceived Signal Strength IndicatordBm
flow-rateNumber:VolumetricFlowRateRThe flow rate of the pumpm³/h
pump-headNumber:LengthRThe water head above the pumpm
voltage-acNumber:ElectricPotentialRCurrent AC pump voltageV
motor-currentNumber:ElectricCurrentRCurrent drawn by the pump motorA
motor-speedNumber:FrequencyRCurrent rotation of the pump motorrpm
powerNumber:PowerRCurrent pump power consumptionW
energyNumber:EnergyRAccumulated electrical energy consumed by the pumpkWh
operating-timeNumber:TimeRAccumulated running time of the pumps
start-countNumberRAccumulated number of pump starts
operating-modeStringRWPump operating mode
control-modeStringRWPump control mode, including AUTOADAPT

Commands require an active Bluetooth connection and are discarded if that connection is lost; they are not replayed on reconnection.

Operating Mode ​

The operating-mode channel provides the following String options:

Operating ModeValue
NormalNORMAL
StopSTOP
MinMIN
MaxMAX

Control Mode ​

The control-mode channel provides the following String options:

Control ModeValue
Constant pressureCONSTANT_PRESSURE
Proportional pressurePROPORTIONAL_PRESSURE
Constant curveCONSTANT_CURVE
Radiator (AUTOADAPT)RADIATOR
Underfloor (AUTOADAPT)UNDERFLOOR
Combined radiator and underfloor (AUTOADAPT)RADIATOR_AND_UNDERFLOOR

mi401 Channels ​

ChannelTypeRead/WriteDescriptionUnit
rssiNumber:PowerRReceived Signal Strength IndicatordBm
flow-rateNumber:VolumetricFlowRateRThe flow rate of the pumpm³/h
pump-headNumber:LengthRThe water head above the pumpm
pump-temperatureNumber:TemperatureRThe temperature of the pump°C
battery-levelNumber:DimensionlessRThe battery level of the reader%

Full Example ​

mi401 Example ​

grundfos_alpha.things (assuming you have a Bluetooth bridge with the ID bluetooth:bluegiga:adapter1):

java
bluetooth:mi401:hci0:sensor1 "Grundfos Alpha Reader 1" (bluetooth:bluegiga:adapter1) [ address="12:34:56:78:9A:BC" ]

grundfos_alpha.items:

dsl
Number RSSI "RSSI [%.1f dBm]" <qualityofservice> { channel="bluetooth:mi401:hci0:sensor1:rssi" }
Number:VolumetricFlowRate Flow_rate "Flowrate [%.1f %unit%]" <flow> { channel="bluetooth:mi401:hci0:sensor1:flow-rate" }
Number:Length Pump_Head "Pump Head [%.1f %unit%]" <water> { channel="bluetooth:mi401:hci0:sensor1:pump-head" }
Number:Temperature Pump_Temperature "Temperature [%.1f %unit%]" <temperature> { channel="bluetooth:mi401:hci0:sensor1:pump-temperature" }
Number:Dimensionless Battery_Level "Battery Level [%d %%]" <battery> { channel="bluetooth:mi401:hci0:sensor1:battery-level" }

alpha3 Example ​

grundfos_alpha.things:

dsl
Bridge bluetooth:bluez:hci0 "Bluetooth BlueZ Adapter" [ address="12:34:56:78:9A:BC" ] {
    alpha3 alpha3 "Grundfos Alpha3" [ address="12:34:56:78:9A:DE" ]
}

grundfos_alpha.items:

dsl
Number:Power Alpha3_RSSI "RSSI" <qualityofservice> { channel="bluetooth:alpha3:hci0:alpha3:rssi", unit="dBm" }
Number:VolumetricFlowRate Alpha3_FlowRate "Flowrate" <flow> { channel="bluetooth:alpha3:hci0:alpha3:flow-rate", unit="m³/h" }
Number:Length Alpha3_Head "Pump Head" <water> { channel="bluetooth:alpha3:hci0:alpha3:pump-head", unit="m" }
Number:ElectricPotential Alpha3_Voltage "Voltage" <energy> ["Measurement", "Voltage"] { channel="bluetooth:alpha3:hci0:alpha3:voltage-ac", unit="V" }
Number:ElectricCurrent Alpha3_Current "Current" <energy> ["Measurement", "Current"] { channel="bluetooth:alpha3:hci0:alpha3:motor-current", unit="A" }
Number:Power Alpha3_Power "Power" <energy> ["Measurement", "Power"] { channel="bluetooth:alpha3:hci0:alpha3:power", unit="W" }
Number:Energy Alpha3_Energy "Energy" <energy> ["Measurement", "Energy"] { channel="bluetooth:alpha3:hci0:alpha3:energy", unit="kWh" }
Number:Frequency Alpha3_MotorSpeed "Pump speed" <fan> { channel="bluetooth:alpha3:hci0:alpha3:motor-speed", unit="rpm" }
Number:Time Alpha3_OperatingTime "Operating time" <time> { channel="bluetooth:alpha3:hci0:alpha3:operating-time", unit="d" }
Number Alpha3_StartCount "Start count" { channel="bluetooth:alpha3:hci0:alpha3:start-count" }
String Alpha3_OperatingMode "Operating mode" ["Control", "Mode"] { channel="bluetooth:alpha3:hci0:alpha3:operating-mode" }
String Alpha3_ControlMode "Control mode" ["Control", "Mode"] { channel="bluetooth:alpha3:hci0:alpha3:control-mode" }