How to make a tailored version of Ruuvitag-Sensor for Raspberry Pi?

Personally I use InfluxDB & Grafana running on the cloud and I use Grafana’s Telegram integration to send me a text if one of the values is outside of acceptable range. I’m sure there’s a lot of approaches too.