Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
energy
bmon
Commits
d60761da
Commit
d60761da
authored
Feb 22, 2021
by
Alan Mitchell
Browse files
SNR is already stored in the decoded readings.
parent
05928443
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
bmsapp/views.py
bmsapp/views.py
+0
-3
No files found.
bmsapp/views.py
View file @
d60761da
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment