I received my GEM last week and I have been playing with trying to capture the data output into Influxdb and graphing it with grafana.
I have btmon.py successfully sending data to a local influxdb instance; here's what btmon.cfg looks like:
Code: Select all
[source]
device_type = gem
ip_read = true
ip_host = 192.168.86.35
ip_port = 80
ip_mode = client
include_current = true
reverse_polarity = true
[influxdb]
influxdb_out = true
influxdb_host = localhost
influxdb_port = 8086
influxdb_upload_period = 10
influxdb_database = energyMeter
influxdb_measurement = energy
influxdb_mode = row
influxdb_db_schema = ecmreadext
- Does my btmon.cfg configuration look ok? What does everyone else use in their config to make things easier to work with in Influxdb (maps? Keys?)
- If I understand "influxdb_map" correctly, I should add this line to rename the GEM naming of channel 32 Amps to "Main Amps"?:
influxdb_map = serialnumber_ch32_a, MainAmps
- What is "influxdb_tags" used for exactly? How do you use them?
Thanks for the help!
Cheers.