This is a Py3Status Module to connect to ConnectorDB and pull back various statistics.
At the moment, it only retrieves steps, however I plan to get it to pull more data over time.
Download the connector_db.py
file and place it into your Py3Status Modules Directory
Configure your i3 status bar with the following:
order += "connector_db"
connector_db {
username = "ConnectorDB User Name"
password = "ConnectorDB Password"
connectordb_server = "ConnectorDB URL"
mobile_device = "Name of device running ConnectorDB App"
}
Now reload i3wm
This is wonderful!
BTW: you don't need a transform to query by timestamp, you can run
Since ConnectorDB indexes data by timestamp, this query will be extremely fast even with millions of datapoints!