reinhard-brandstaedter / solarflow-statuspage

A simple statuspage with live-data from Zendure's Solarflow Hub for those who do not want to use the App
24 stars 6 forks source link

Authentication failed - since last update #50

Open AzraelsDisk opened 3 months ago

AzraelsDisk commented 3 months ago

Watchdog updated today to :last version - since this update I got the following error Running it on --online mode

Not sure if it is a problem of Zendure MQTT?

2024-06-18` 20:33:47,860:INFO: Authenticating with Zendure ... 2024-06-18 20:33:48,922:ERROR: Authentication failed! 2024-06-18 20:33:48,927:ERROR: <?xml version="1.0" encoding="UTF-8"?>

MethodNotAllowedThe specified method is not allowed against this resource.POSTOBJECTSYAQ6VTNBZ9RXTY5k0UAFKEhWaF62XS07bQw01YRJSEkMNWIpNQTERTPScRjjEwaqfVMc938NRmfxOxbJQrF6qqRIlg=

2024-06-18 20:33:48,927:INFO: Getting device list ... 2024-06-18 20:33:49,733:ERROR: Fetching device list failed! 2024-06-18 20:33:49,737:ERROR: <?xml version="1.0" encoding="UTF-8"?>

MethodNotAllowedThe specified method is not allowed against this resource.POSTOBJECTWTE5VJHTJ9PJ0BXCa0Kfsh7bbiOOiRHLKMpH3dhhESVSFZzNBM7Cj53xNZdGwGBdqGYZZesAI3Q3RdLivfTuhTLUAiM=

2024-06-18 20:33:49,737:ERROR: Connecting to Zendure's MQTT broker failed! Traceback (most recent call last): File "//solarflow-status.py", line 311, in zendure_mqtt_background_task auth = get_auth() File "//solarflow-status.py", line 298, in get_auth devices = api.get_device_ids() File "/zenapi/ZendureAPI.py", line 102, in get_device_ids for dev in devices: TypeError: 'NoneType' object is not iterable

z-master42 commented 3 months ago

Are you on the EU or the global server?

reinhard-brandstaedter commented 3 months ago

Interesting....nothing has changed in regards to the ZendureAPI.

reinhard-brandstaedter commented 3 months ago

Oh well this change indeed has now been built into the image. So that change seems to break something.

AzraelsDisk commented 3 months ago

GlobalAm 18.06.2024 um 22:36 schrieb z-master42 @.***>: Are you on the EU or the global server?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

AzraelsDisk commented 3 months ago

I have redeployed version 0.19 and its working proper - was there a change in the configfile?

reinhard-brandstaedter commented 3 months ago

I believe @jvinkovic 's cjange regarding the EU API broke things. Has the EU/Global API really the same endpoint "v2" now?

z-master42 commented 3 months ago

No, they are still v2 and eu. His approach was to remove the SF_API_VERSION and specify the entire server via ZEN_API. However, something still doesn't seem to fit, or there seem to be unused components in the code.

AzraelsDisk commented 2 months ago

can I do anything to support you, do you need additional logfiles?