This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
Simple script to transform openscale csv export files to a format accepted by garmin connect at | |
https://connect.garmin.com/modern/import-data | |
Note: When importing the language needs to be set to English, otherwise the import fails. | |
Set everything to metric units and to YYYY-MM-DD date format. | |
If you want to compute BMI for the file give your height (im meters) as second parameter. |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
license: gpl-3.0 | |
height: 600 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/python | |
import subprocess | |
import RPi.GPIO as GPIO | |
import time | |
import argparse | |
import daemon | |
import socket | |
import json | |
class GPIOPin: |