AgentDVR-Plugins icon indicating copy to clipboard operation
AgentDVR-Plugins copied to clipboard

Unable to read openweathermap response?

Open xtopherbrandt opened this issue 9 months ago • 5 comments

The plugin is displaying the error message below. A Postman call to the 3.0 api with my appid, lat and long produces a response.

I can't see anything being logged to help debug the issue.

Image

xtopherbrandt avatar Apr 14 '25 02:04 xtopherbrandt

erghhh looks like we needed to update the models for their api - have pushed an update

ispysoftware avatar Apr 14 '25 03:04 ispysoftware

Something is still not working. I removed and installed the new version and still get the same error message.

Looking through the code, on line 245 of main.cs there's a comment about the 3.0 api not working.

xtopherbrandt avatar Apr 14 '25 04:04 xtopherbrandt

i think probably you downloaded the older version might need to wait a bit for the cache to update

Image

ispysoftware avatar Apr 14 '25 04:04 ispysoftware

Just updated again and still getting the same error message about not having a definition for weather.

The plugin version should be Weather v1.7.3.0?

Is there a way to put the API response in the logs just to make sure I'm getting a valid response?

On Sun, 13 Apr 2025 at 21:22, sean t @.***> wrote:

i think probably you downloaded the older version might need to wait a bit for the cache to update

— Reply to this email directly, view it on GitHub https://github.com/ispysoftware/AgentDVR-Plugins/issues/4#issuecomment-2800436757, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLWSY5HJQWVEBQG232CZI32ZMZWVAVCNFSM6AAAAAB3BZG2YWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMBQGQZTMNZVG4 . You are receiving this because you authored the thread.Message ID: @.***> ispysoftware left a comment (ispysoftware/AgentDVR-Plugins#4) https://github.com/ispysoftware/AgentDVR-Plugins/issues/4#issuecomment-2800436757

i think probably you downloaded the older version might need to wait a bit for the cache to update

— Reply to this email directly, view it on GitHub https://github.com/ispysoftware/AgentDVR-Plugins/issues/4#issuecomment-2800436757, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLWSY5HJQWVEBQG232CZI32ZMZWVAVCNFSM6AAAAAB3BZG2YWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMBQGQZTMNZVG4 . You are receiving this because you authored the thread.Message ID: @.***>

xtopherbrandt avatar Apr 14 '25 15:04 xtopherbrandt

If it was using the new code you'd be getting an object reference error or an error deserializing the response not a definition error. You'd only get that same error if it's using the older library still.,

I just tried it here with a clean install and downloaded the plugin - worked fine. I'm not using the data endpoint URL option in the config - i'm just setting the API Key under OneCall. Not sure if that will make a difference.

I'd try stopping Agent, delete the weather folder from plugins and re-install it via the website.

ispysoftware avatar Apr 14 '25 23:04 ispysoftware

closing this as haven't heard back..

ispysoftware avatar May 02 '25 04:05 ispysoftware

Sorry, no news is good news. It is working now. Took me a while to get everything updated and reset. Thanks for the support!

On Thu, 1 May 2025 at 21:12, sean t @.***> wrote:

ispysoftware left a comment (ispysoftware/AgentDVR-Plugins#4) https://github.com/ispysoftware/AgentDVR-Plugins/issues/4#issuecomment-2846269635

closing this as haven't heard back..

— Reply to this email directly, view it on GitHub https://github.com/ispysoftware/AgentDVR-Plugins/issues/4#issuecomment-2846269635, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLWSY6H3M2P6HY2I2MJRRD24LWD3AVCNFSM6AAAAAB3BZG2YWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQNBWGI3DSNRTGU . You are receiving this because you authored the thread.Message ID: @.***>

xtopherbrandt avatar May 02 '25 14:05 xtopherbrandt