hairyhenderson / jarvis_exporter

A Prometheus exporter for the Fully Jarvis standing desk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Docker Build hairyhenderson/jarvis_exporter on DockerHub

jarvis_exporter

A Prometheus exporter for the Fully Jarvis standing desk. With a bit of simple custom hardware, it can export the desk's current height, as a Prometheus metric!

Based on the excellent reverse-engineering done by @phord at https://github.com/phord/Jarvis.

Docker Images available for Linux on x86-64, arm64, armv7 (Raspberry Pi), and armv6 (Pi Zero) platforms.

Dashboard configuration

With jarvis_exporter, you can create a Grafana dashboard that looks like this:

Grafana dashboard displaying stand/sit ratio and other metrics

This dashboard has been exported to `dashboard/desk_metrics.json.

Note that this dashboard in particular also uses some metrics exported by a simple script that I wrote to export the display brightness (and whether or not the display is asleep). It's scheduled to run every minute via cron, and uses the brightness tool to read the current brightness. The output is then scraped by node_exporter's textfile collector.

Hardware

A description of the hardware I've put together is coming soon, but for now see this discussion for some hints!

TODO

  • Support multiple UARTs for reading from both handset & desk (probably on a Raspberry Pi)

License

The MIT License

Copyright (c) 2021-2023 Dave Henderson

About

A Prometheus exporter for the Fully Jarvis standing desk

License:MIT License


Languages

Language:Go 81.6%Language:Makefile 7.3%Language:Dockerfile 6.7%Language:Shell 4.4%