Skip to content

Commit

Permalink
Update routes_iSpindel_api.py (#380)
Browse files Browse the repository at this point in the history
Adds angle and battery values to the iSpindel output files. Addresses issues 360 and 361.
  • Loading branch information
BuckoWA authored Apr 19, 2024
1 parent 7894009 commit 305db6b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/main/routes_iSpindel_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ def process_iSpindel_data(data):
point = {
'time': time,
'temp': data['temperature'] if data['temp_units'] == 'F' else convert_temp(data['temperature'], 'F'),
'angle': data['angle'],
'battery': data['battery'],
'gravity': data['gravity'],
}

Expand Down

0 comments on commit 305db6b

Please sign in to comment.