Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

{
  "DC:2C:6E:0F:C0:3D": [
    {
      "reporter": "KNOT_A",
      "ts": 1678454558807,
      "rssi": -40
    }
  ],
  "2C:C8:1B:4B:BB:0A": [
    {
      "reporter": "KNOT_A",
      "ts": 1678454559374,
      "rssi": -40
    }
  ]
}

This message, then, After the payload list is "searched" and the JSON message is structured, this message is sent to the ThingsBoard MQTT broker, where the data will be visualized later on.

To run the script, use the command:

...