Skip to content

vonglasow/polar-bpm-h10

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Introduction

This is a small script to parse Polar H10 data and upload it on prometheus to create a graph with grafana, used with RaspberryPi 3b+

You need also:

Compilation

go build bpm.go

Usage

./bpm -b 01:AB:CD:EF:02:AB -j cardiac_frequency -m bpm -u http://192.168.1.2:9091 -v
Usage of ./bpm:
  -b string
    	Bluetooth mac address used with gatttool to connect and parse data
  -j string
    	Specify prometheus job. (default "cardiac_frequency")
  -m string
    	Specify prometheus metric. (default "bpm")
  -u string
    	pushgateway url to push bpm to prometheus
  -v	verbose

Help

Releases

No releases published

Packages

No packages published

Languages