mhansen / rtl_433_prometheus

Prometheus time-series DB exporter for rtl_433 433MHz radio packet decoder
MIT License
19 stars 14 forks source link

Add support for integer battery levels. #4

Closed zopieux closed 4 years ago

zopieux commented 4 years ago

Example code from rtl_433 that outputs int "battery": https://github.com/merbanan/rtl_433/blob/master/src/devices/ambientweather_tx8300.c#L112

NOTE: parent commit is PR #3 so I could have green tests. Please merge this first, so I can rebase my PR on top of it.

mhansen commented 4 years ago

Looks good to me. I might have messed up the merge order, as this now shows conflicts that need to be resolved before i can merge. Maybe if you pull —rebase then push, I can merge?

zopieux commented 4 years ago

Rebasing right now, hang tight.

zopieux commented 4 years ago

Done :-) Thanks for your quick reviews!

mhansen commented 4 years ago

Thank you for upstreaming this :-)