Adding a Sensor - Bluetooth-Low-Energy/Adding-a-Sensor

Configuring Bluetooth® Low Energy

NetCloud Feature
Connectivity
ft:locale
en-US
ft:sourceName
Paligo_Prod
Document Type
Article

In the following example, the RuuviTag is configured to send temperature to Microsoft Azure IoT Central using the console and NetCloud OS.

Note

RuuviTag is a Bluetooth® Low Energy sensor device created by the Finnish company Ruuvi.

  1. Log into NetCloud Manager.

  2. Select Devices in the left-side navigation panel.

  3. Select the desired router.

  4. Select the Remote Connect menu and then select Console.

  5. Select Open Console.

  6. Enter the following command to view the visible clients:

    [admin@E300-dae: /]$ get status/iot/bluetooth/visible_clients
  7. Find the MAC address for the RuuviTag to be added to Azure and display the sensors telemetry data:

    [admin@E300-dae: /]$ get status/iot/bluetooth/visible_clients/f5:72:50:c9:9a:f1
    {
        "acceleration": 1008.5157410769551,
        "acceleration_x": 28,
        "acceleration_y": 16,
        "acceleration_z": 1008,
        "addr_type": 1,
        "adv_data": "0201061bff99040513162f2bac66001c001003f0ae7664f0d0f57250c99af1",
        "battery": 2995,
        "bonding": 255,
        "data_format": 5,
        "humidity": 30.19,
        "mac": "f5:72:50:c9:9a:f1",
        "measurement_sequence_number": 61648,
        "mfg_data": "f19ac95072f5d0f06476aef00310001c0066ac2b2f1613050499",
        "movement_counter": 100,
        "pkt_type": 3,
        "pressure": 941.34,
        "rssi": -60,
        "temperature": 24.43,
        "txpower": 4,
        "type": "Ruuvitag"
  8. Add a RuuviTag sensor to Ericsson NetCloud Manager Azure IoT Central.

  9. Add the device on Measurement Configurations:

    1. Log into NetCloud Manager.

    2. Select Devices in the left-side navigation panel.

    3. Select the desired router.

    4. Select the Remote Connect menu and then select Device UI.

    5. Select Open Device UI.

    6. Log in to the device from the LOGIN screen. The default username is "admin". Default passwords are supplied with routers.

    7. Navigate to System > IoT > Microsoft Azure IoT Central.

    8. Under Measurement Configuration, select Add.

      image4.jpeg
    9. Select Enabled.

    10. Enter the Name and Router Endpoint:

      • Name – Name of the measurement parameter.

      • Router Endpoint – The Sensor syntax described above for RuuviTag is:

        status.iot.bluetooth.visible_clients.f5:72:50:c9:9a:f1.temperature
    11. Select Save.

      image5.jpeg

      RuuviTag sends temperature data to Microsoft Azure.