Commit d60761da authored by Alan Mitchell's avatar Alan Mitchell
Browse files

SNR is already stored in the decoded readings.

parent 05928443
......@@ -325,9 +325,6 @@ def store_readings_things(request):
for fld, val in data['fields'].items():
readings.append([ts, f'{eui}_{fld}', val])
# Also extract the best SNR of the gateways that received this.
readings.append([ts, f'{eui}_snr', data['snr']])
msg = storereads.store_many({'readings': readings})
return HttpResponse(msg)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment