tolwi / hassio-ecoflow-cloud

EcoFlow Cloud Integration for Home Assistant
381 stars 64 forks source link

(('accessKey is invalid',), {}) Beta Pre4 #287

Closed NathanWarrick closed 1 month ago

NathanWarrick commented 1 month ago

When entering my public API and private key I receive an error "(('accessKey is invalid',), {})" and no device is added to home assistant. Running HA 2024.8.1 image

tolwi commented 1 month ago

it's an ecoflow api server response

tensor5g commented 1 month ago

I am getting the same issue. I have verified my access and secret key are valid by doing a test API call

curl -X GET "https://api-a.ecoflow.com/iot-open/sign/device/list" \
-H "accessKey:$ACCESS_KEY" \
-H "timestamp:$TIMESTAMP" \
-H "nonce:$NONCE" \
-H "sign:$SIGN"

which returns

{"code":"0","message":"Success","data":[{"sn":"***","deviceName":"RIVER 2-1003","online":1,"productName":"RIVER 2"}],"eagleEyeTraceId":"***","tid":""}

Does the "Device group" name matter? I've tried setting it to match the device name, but that didn't help.

Are there any other endpoints you want me to test? Is there a way I can get you debug logs?

Thanks