markruys / gw2pvo

GoodWe to PVOutput
MIT License
45 stars 29 forks source link

403 Client Error: Forbidden for url #69

Open pumpkins001 opened 1 year ago

pumpkins001 commented 1 year ago

Anyone else getting this error? Appears to have stopped working 28th Nov 2022.

403 Client Error: Forbidden for url: https://semsportal.com/api/v1/PowerStation/GetMonitorDetailByPowerstationId ERROR Failed to call GoodWe API ERROR 'inverter'

Made no changes to script. Data is present in SEMS portal.

pumpkins001 commented 1 year ago

I've found the issue, SEMS have updated the API so the url is now v2 instead of v1. I've updated this in the respective file locations, but is anyone able to tell me how to "recompile" as such so that when it runs it uses v2 instead of v1?

Scampi-ml commented 1 year ago

I can make a fork and update it if you want

pumpkins001 commented 1 year ago

That would be awesome.

On Tue, 17 Jan 2023, 9:11 pm janvier123, @.***> wrote:

I can make a fork and update it if you want

— Reply to this email directly, view it on GitHub https://github.com/markruys/gw2pvo/issues/69#issuecomment-1385402701, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJB36HWLCCP3YPXCAXRHVFDWS2K6VANCNFSM6AAAAAAS3NLIQY . You are receiving this because you authored the thread.Message ID: @.***>

wiljums commented 1 year ago

API V2 has already been integrated? https://github.com/markruys/gw2pvo/pull/42 https://github.com/markruys/gw2pvo/commit/4b97b7a9e7acad0030b01e555603cc5440ab8be6

Scampi-ml commented 1 year ago

That would be awesome. On Tue, 17 Jan 2023, 9:11 pm janvier123, @.> wrote: I can make a fork and update it if you want — Reply to this email directly, view it on GitHub <#69 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJB36HWLCCP3YPXCAXRHVFDWS2K6VANCNFSM6AAAAAAS3NLIQY . You are receiving this because you authored the thread.Message ID: @.>

Sorry i did not receive any messages from github, i think ive fixed that, EDIT:

Ive made a better script at: https://github.com/Janvier123/goodwe2pvoutput