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
from pijuice import PiJuice | |
from prometheus_client import start_http_server, Gauge | |
import time | |
pj = PiJuice(1, 0x14) | |
battery_current = Gauge('pijuice_battery_current', 'Battery current') | |
charge_level = Gauge('pijuice_charge_level', 'Charge level') | |
battery_temperature = Gauge( |
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
### Keybase proof | |
I hereby claim: | |
* I am juanfont on github. | |
* I am juanfont (https://keybase.io/juanfont) on keybase. | |
* I have a public key ASA__s7YYbIZxL0gW-IALft6C4VGkFmEavlk7ODBdur46Qo | |
To claim this, I am signing this object: |