-
Notifications
You must be signed in to change notification settings - Fork 66
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
Weather411 unable to write data to InfluxDB v1.8 #199
Comments
Thanks for opening this! I cannot duplicate the error on my test systems (all work) including an intel+ubuntu system, but I'm not using docker swarm. Would you be willing to test a debug version that should expose more data on the exception stack?
|
This seems to be the issue. The default install for the Dashboard project and my tests use no username or password for InfluxDB. I just tested using user/pass and I am getting the same DEBUG error you are getting. While I research, I'm going to revert the latest to v0.1.2 in case there are others who have customized their install to use credentials. Thanks again for reporting this! |
I think I found the problem. The new influxdb-client requires the username and password to be sent via token for connections to InfluxDB 1.8. I was able to test by activating auth and a user/pass on a test DB. It is now working in my tests. I've pushed the changes in this commit: 831f88e You can test it by downloading:
I would love to hear if this fixes your problem. Thanks again for your help. |
Fix user/pass bug jasonacox#199
I will test now, thank you for the very prompt action on this!! Love this dashboard, only just got my Powerwall installed a few months ago, but this setup is fantastic!! |
Yep that seems to be working fine - great stuff - thanks very much!! |
Problem
After upgrading to v0.2.0 of weather411 I was not seeing any weather data in my Powerwall dashboard. Enabling debug logging and restarting showed the following;
To Reproduce
Surprised no one else is reporting this. Perhaps something to do with my setup.
Screenshots
If applicable, add screenshots to help explain your problem.
Host System
Additional context
The error "Cannot parse error response to JSON" doesn't show up in any good search, except here. I wonder if the weather script is incorrectly attempting to use InfluxDB v2 connection properties, when I am still on v1.8.
My
weather.conf
is unchanged from v0.1.2;I have reverted back to v0.1.2 and now my weather data is flowing thru to InfluxDB and my dashboard.
The text was updated successfully, but these errors were encountered: