RealZimboGuy / ewelink-api-java

Java Api for the Sonoff ewelink
http://ewelink-api-java.co.zw/
15 stars 5 forks source link

lib is not able to authorize when setDeviceStatus(String deviceId, String status) status is called #3

Closed oncioiu closed 1 year ago

oncioiu commented 1 year ago

lib is successfully login, but when setDeviceStatus method is called, bellow error message is throw

responseLine = {"error":401,"errmsg":"no authorization"}

image

RealZimboGuy commented 1 year ago

@oncioiu is this with running the TestCode class file in the test package with your credentials?

image

oncioiu commented 1 year ago

No, I just use the lib as a gradle dependency. Please tell me if you need more info. image

oncioiu commented 1 year ago

Tried in this morning and everything was fine. Seems that "cloud" had problems. I will close the issue.