Hey guys, trying to clean up the code to properly retrieve information such as the battery level, I am facing a weird error and I'm not sure what I'm missing.
Running this httpGet command (apiGet("/setup/devices/zigbee://xxxx-xxxx-xxxx/58314/1/states")) gets me an undefined 400 error:
TaHoma Switch callApi response error: groovyx.net.http.HttpResponseException: status code: 400, reason phrase: Bad Request, r = [error:Unknown object., errorCode:UNSPECIFIED_ERROR] token=xxxxxxxxxxxx
However, running the same command via the somfy swagger TaHoma developer web page works just fine...
I'm not sure what is different in the request...
- Any idea?
- Any one can test on their end?
** You likely need a zigbee device for these functions to do anything