Overview Shelly BLU Button 1

The Shelly BLU Button 1 is a battery-powered wireless push-button using Bluetooth. It distinguishes between single, double and triple press as well as long press. Each of these four events has its own output whose behaviour can be set separately. In addition the button value output indicates which event occurred last.

Outputs

TA Button value Event that occurred last, as a number: 1 = once short, 2 = twice, 3 = three times, 4 = long. The value is reset to 0 after three seconds.
T1 Button bit 1x Reacts to a single short press.
T2 Button bit 2x Reacts to a double press.
T3 Button bit 3x Reacts to a triple press.
TL Button bit long Reacts to a long press.
BP Battery % State of charge of the battery in percent.
BA Battery alarm Is set to 1 as soon as the battery level is 10 % or less.

Parameters


MQTT topic Topic under which the gateway script publishes the values of this device. It consists of the prefix configured in the script and the Bluetooth address, for example shelly-blu-aa:bb:cc:dd:ee:ff. The easiest way is to copy it from the MQTT diagnostics.

Type 1x Behaviour of the output button bit 1x. Toggle flips the output on every button press. Pulse sets it to 1 and resets it after three seconds. Off and On send the fixed value 0 or 1 to the address on every button press, even if the value does not change.

Type 2x Behaviour of the output button bit 2x. Toggle flips the output on every button press. Pulse sets it to 1 and resets it after three seconds. Off and On send the fixed value 0 or 1 to the address on every button press, even if the value does not change.

Type 3x Behaviour of the output button bit 3x. Toggle flips the output on every button press. Pulse sets it to 1 and resets it after three seconds. Off and On send the fixed value 0 or 1 to the address on every button press, even if the value does not change.

Type long Behaviour of the output button bit long. Toggle flips the output on every button press. Pulse sets it to 1 and resets it after three seconds. Off and On send the fixed value 0 or 1 to the address on every button press, even if the value does not change.
The values of this device do not come directly from the sensor but via a Shelly device working as a Bluetooth gateway. Setup and the required script are described on the page Shelly BLU - basics and gateway script. In addition to the outputs listed, the command generate addresses creates an address named timeout. It is set to 1 when the device has not sent a message for a longer period of time.

See also MQTT devices - general.
See also Shelly BLU - basics and gateway script.
See also general parameters of all function blocks.