-
Notifications
You must be signed in to change notification settings - Fork 670
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
influx db2 is working? #1160
Comments
InfluxDB has not been tested intensively and was implemented by a supporter additionally. To my knowledge most of the users are taking the data over the MQTT interface. I would need to test the influxdb (setup a server etc.). As my main computer is down, this will take quite some time. But I leave this issue open for the time being. |
Actually it does not work with influxdb v1 either. I have configured the connection but neither measurement or data in existing measurements are created. In addition, even with full log enabled I cannot see any traces in the logs according to failed or successful write attempt. |
It works with such config {22-10-15 11:42}pi-unifi:~ pi% influxd version
InfluxDB v1.8.10 (git: 1.8 688e697c51fd) Measurements > select * from gas LIMIT 4;
name: gas
time main/value
---- ----------
1665824667000000000 1907002
1665824847000000000 1907002
1665825027000000000 1907002
1665825207000000000 1907002 |
The original question is about InfluxDB2! Since it was implemented for InfluxDB 1, it most likely will not work for influx DB2 as there are changes on the API from 1 to 2! I have such a DB running for my Homeassistant and can try it out sometimes. In any way, pull requests to extend support to InfluxDB 2 are welcome! |
I think, INfluxDB v2 is rather a new feature than an issue. Because the API changed quite a lot and is not downwards compatible (neither in the interface, nor in the db itself). |
closing as I better spend my time on other issues |
V12.0.1
I tried to activate the influxdb setting, but i am not sure, if it works with the V2 Database
No entries in my database until now and no error in the log only: 2022-10-11T14:45:28: FlowControll.doFlow - ClassFlowInfluxDB
Influxdb
Uri http://x.x.x.x:8086
database daten
measurement gas
user username
password yes_set
I can open the influxdb-gui with these parameters without any problem. The database should work.
The text was updated successfully, but these errors were encountered: