matthewwall / weewx-influx

uploader for influxdb
GNU General Public License v3.0
45 stars 22 forks source link

Upload to Influx 2.4.0 fails (configuration issue?) #32

Open ChlaegerIO opened 1 year ago

ChlaegerIO commented 1 year ago

I tried to set up weewx with weewx-influx (on my Raspberry Pi) to upload the data to my influx server (kleger.vsos.ethz.ch), but I was not successful until now. Weewx runs correctly and adds my weather station data to its database. The upload via Influx however fails after 3 tries. errors_weewx

This is my current configuration (I have also tried different number of arguments) in the weewx.conf: [[Influx]] server_url = kleger.vsos.ethz.ch:8086 database = KlegerWetter username = Timo password = ...

I have InfluxDB 2.4.0 installed on my server. I am not quite sure what is the database argument. Here I have the organisation, but I have also tried with the bucket I have created. And which source do you use in InfluxDB (it is not python), is it mqtt consumer? influx_overview influx_source

Edited: I just saw the not merged extention for buckets and token for InfluxDB v2. I is this ready to use?

I also tried to run only the python script with python influx <arguments>. But here it does not find the weewx library. influx_standalone

pabun commented 1 year ago

This version did not work with influx2, I'm using https://github.com/david-lutz/weewx-influx2 which works - issue there is, that after certain time it stops working and I need to restart the container

steflp commented 1 year ago

thanks a lot for influx V2 ;)