Skip to main content
Version: 1.0.1

Device LED feedback

This document describes the various static LED animations for the Smart Sensor. These animations are shown during:

  • boot up
  • commissioning
  • OTA update
  • errors
  • state changes
  • user-interaction with the button (already covered in the button actions document)

Animation definition

Each animation is defined over a cycle which can be repeated. The duration of a cycle is left to the implementer to match the animation duration. led-animations

Boot-up animations

Following boot-up events are defined in sequence:

EventColourAnimationDuration
Power-upSauter Tri-ColourBreathing1.5s (Total)
Network initializationOrangeBreathingUntil a working mesh or MQTT network is configured. Skipped if configured.
Sensor ready / Commissioning doneGreenBlinking5s

Network initialization means either:

  • The gateway has received MQTT connection information (Server, port, security)
  • A node or a gateway has been provisioned with BLE Mesh network keys

Commissioning animations

Commissioning animations are shown during provisioning of the device with the mobile app.

When user enters the 'Add a new node' screen, unprovisioned devices will be lit up in the same colour as shown in the app.

Before configuring a certain device, breating animation will also be shown just to double-check that the right device is selected.

Upon successful provisioning, the device will show a blinking green animation for 5 seconds.

OTA update animations

OTA update animations are shown during OTA update of the device.

EventColourAnimationDuration
Device is awaiting firmware updateOrangeChasingUntil update
OTA update failedRedChasing1h

A device awaiting update timeouts after 10 minutes and then soft reboots.

If the device reboots due to timeout (meaning the OTA update was not successful), after booting the device will display a red chasing animation for an hour (instead of a green blinking animation indicating that the device is provisioned).

Error animations

EventColourAnimationDuration
Internal error - Service neededRedBlinkingUntil reboot
    -> failed initialization of BLE Mesh Server or Client
    -> failed initialization of sensors (hardware problem)
Lost communication (Mesh or MQTT)OrangeBlinkingUntil communication is restored

Communication loss is not enforced during firmware update mode. A loss of communication can be either:

  • No longer connected to an MQTT broker
  • A node is no longer communication with the BLE Mesh Network.

State changes

NFC Tap animation is shown when mobile phone or some other NFC device is close to the NFC antenna of the Smart Sensor.

EventColourAnimationDuration
NFC Tap (if powered on)TurquoiseBreathing once500ms