It looks like I am creating another connection with the database and it won't update than
Any ideas? I see that it updates intermittent. So every 1/2/3/4/5 days it sends data to influxdb but it does not send on every changement of the data.
Maybe I close the connection wrong or it keeps open wrong?
Someone an idea about this?