Breezyken Posted January 8 Posted January 8 I have had this plugin running for a couple of years now, but I had to reinstall with EISY and a new desktop PC. Error indicates bad parameters in api call, but I have verified the configuration and all password variations. Maybe you can see something I am missing. The documentation needs updating and the api calls there no longer work. I could use an updated api example to assist in troubleshooting. I have attached the plugin startup log, and these are the significant lines; MainThread udi_interface.interface WARNING interface:db_getNodeDrivers: controller not found in database. Thread-4 (start) udi_interface ERROR query:get_data: request failed: Expecting value: line 1 column 1 (char 0) DavisWeather_1-7-2025_91748_PM.zip Quote
bpwwer Posted January 8 Posted January 8 You'll get more info about what is failing if you switch the log level of the plug-in to debug. It will then log what is being returned by the query. The error message indicates that what is being returned isn't in the format expected so it could be an error message. The request being made is: https://api.weatherlink.com/v1/NoaaExt.json?user=<Device ID>&pass=<Password>&apiToken=<API Token> You can try that in the browser using your parameters and see what it returns. There is a newer API available and a newer plugin that uses it. It's possible that this version of the API has been discontinued and no longer works. If that's the case I'll have to remove the plug-in. The version that uses the new API version is in the non-production store and named Davis_V2 Quote
Solution Breezyken Posted January 8 Author Solution Posted January 8 Thanks Bob. Found a lower case that needed to be upper; my error. I made several different v1 calls and they still work, so I'll stick with that as well. Now to make use of the data in a program! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.