From 305db6b0cb8a59552ee9bc1c478e786c206d5b1a Mon Sep 17 00:00:00 2001 From: Todd <66568100+BuckoWA@users.noreply.github.com> Date: Thu, 18 Apr 2024 20:16:10 -0700 Subject: [PATCH] Update routes_iSpindel_api.py (#380) Adds angle and battery values to the iSpindel output files. Addresses issues 360 and 361. --- app/main/routes_iSpindel_api.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/main/routes_iSpindel_api.py b/app/main/routes_iSpindel_api.py index c9cc4e2..274f509 100644 --- a/app/main/routes_iSpindel_api.py +++ b/app/main/routes_iSpindel_api.py @@ -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'], }