Re: Grafana Dashboard now working... very quick
Posted: Mon Nov 27, 2017 10:09 am
Is there a way to add channels together in graphana? I have my 220a CT's on separate channels.
Brultech Forum
https://brultech.com/community/
The Grafana version is several months old now so there may be more improvements.networkingdude wrote:Is there a way to add channels together in graphana? I have my 220a CT's on separate channels.
Can you try my fork and see if you experience the same issue?mminehan wrote:I just some clarification with regards to btmon running on a Raspberry Pi.
I have influxDB and Grafana all up and running on the Raspberry Pi and am writing data to it from Homeseer (automation software). So that part of it is fine.
Now I am trying to get the data from my GEM into influxDB on the Pi.
I have installed btmon (3.3.1). But I kept getting an error: InfluxDBClient not loaded, cannot write to InfluxDB'.
Then I realized I also had to install a client: InfluxDB-Python.
But now I am getting the following error: Exception in InfluxDBProcessor: write_points_with_precision() got an unexpected keyword argument 'tags'
I'm not sure where the problem lies. So any help appreciated.
Open up btmon.py and do a search. Type in write_points and remove the ", tags = self.tags" part of the argument. I don't think it's needed as we're not passing in tags through the configuration.mminehan wrote:Hi Ben,
Thanks for the reply. That is the fork I am using (3.3.1) with you email details in the notes section.
I wonder if it is a problem with the influxDB-python client?
Marty
Here is my config file:pi@raspberrypi:~/btmon $ python ./btmon.3.3.1.py -c btmon.cfg
2018/06/06 14:07:14 btmon: 3.3.1
2018/06/06 14:07:14 python: 2.7.9 (default, Sep 17 2016, 20:26:04)
[GCC 4.9.2]
2018/06/06 14:07:14 platform: linux2
2018/06/06 14:07:14 polarity is reversed
2018/06/06 14:07:14 device type: gem
2018/06/06 14:07:14 device list: ['']
2018/06/06 14:07:14 packet format: gem48ptbin
2018/06/06 14:07:14 schema: ecmread
2018/06/06 14:07:14 SOCKET: timeout: 60
2018/06/06 14:07:14 SOCKET: server host: 192.168.1.21
2018/06/06 14:07:14 SOCKET: server port: 8000
2018/06/06 14:07:14 InfluxDB: upload period: 10
2018/06/06 14:07:14 InfluxDB: host: 192.168.1.93
2018/06/06 14:07:14 InfluxDB: port: 8086
2018/06/06 14:07:14 InfluxDB: username:
2018/06/06 14:07:14 InfluxDB: map:
2018/06/06 14:07:14 InfluxDB: schema: ecmreadext
2018/06/06 14:07:26 Exception in InfluxDBProcessor: 404: 404 page not found
2018/06/06 14:07:36 Exception in InfluxDBProcessor: 404: 404 page not found
And I checked. There is a database called 'testing' in my InfluxDB ('show databases')[source]
ip_read = true
device_type = gem
ip_host = 192.168.1.21
ip_port = 8000
ip_mode = client
include_current = true
reverse_polarity = true
[influxdb]
influxdb_out = true
influxdb_host = 192.168.1.93
influxdb_port = 8086
influxdb_upload_period = 10
influxdb_database = testing
influxdb_measurement = energy
influxdb_mode = row
influxdb_db_schema = ecmreadext
Change influxdb_host = 192.168.1.93 to:mminehan wrote:Ok....not quite working:
Here is my config file:pi@raspberrypi:~/btmon $ python ./btmon.3.3.1.py -c btmon.cfg
2018/06/06 14:07:14 btmon: 3.3.1
2018/06/06 14:07:14 python: 2.7.9 (default, Sep 17 2016, 20:26:04)
[GCC 4.9.2]
2018/06/06 14:07:14 platform: linux2
2018/06/06 14:07:14 polarity is reversed
2018/06/06 14:07:14 device type: gem
2018/06/06 14:07:14 device list: ['']
2018/06/06 14:07:14 packet format: gem48ptbin
2018/06/06 14:07:14 schema: ecmread
2018/06/06 14:07:14 SOCKET: timeout: 60
2018/06/06 14:07:14 SOCKET: server host: 192.168.1.21
2018/06/06 14:07:14 SOCKET: server port: 8000
2018/06/06 14:07:14 InfluxDB: upload period: 10
2018/06/06 14:07:14 InfluxDB: host: 192.168.1.93
2018/06/06 14:07:14 InfluxDB: port: 8086
2018/06/06 14:07:14 InfluxDB: username:
2018/06/06 14:07:14 InfluxDB: map:
2018/06/06 14:07:14 InfluxDB: schema: ecmreadext
2018/06/06 14:07:26 Exception in InfluxDBProcessor: 404: 404 page not found
2018/06/06 14:07:36 Exception in InfluxDBProcessor: 404: 404 page not found
And I checked. There is a database called 'testing' in my InfluxDB ('show databases')[source]
ip_read = true
device_type = gem
ip_host = 192.168.1.21
ip_port = 8000
ip_mode = client
include_current = true
reverse_polarity = true
[influxdb]
influxdb_out = true
influxdb_host = 192.168.1.93
influxdb_port = 8086
influxdb_upload_period = 10
influxdb_database = testing
influxdb_measurement = energy
influxdb_mode = row
influxdb_db_schema = ecmreadext
Marty