...
The rest of the script does not need to be changed/altered
How does it work? The script "inspects" the "Advertising reports" tab (payload list tab) using the filters applied and structures a JSON message out of the data:
{
"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
}
]
}
Scheduler
Apply a scheduler to the script to run