In [1]:
from influxdb import client as influxdb
In [2]:
db = influxdb.InfluxDBClient("sandbox.influxdb.com", 8086, "root", "root", "solstaden")
In [4]:
db.query("list series","u")
Out[4]:
In [6]:
db2 = influxdb.InfluxDBClient("livinglab2.powerprojects.se",8086,"grafana","grafana123","test")
In [22]:
Out[22]:
In [20]:
db2.query("select * from /.*/ where time = 1403810574120190000 and sequence_number = 6350001","u")
Out[20]:
In [23]:
db2.write_points_with_precision(,'u')
In [33]:
db2.query("select value from series1 where time > 1403810562317765000 order asc limit 2","u")
Out[33]:
In [ ]: