[BETA] [RELEASE] Somfy TaHoma Switch Driver

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

Hello Keith, I just tried to push my edits onto a feature branch but I don't seem to have the right to push a new branch. Do you want me to push on main?

Didn't know I could create a pull request from a fork repository. Done => Feature/zigbee blind support by debarrylt · Pull Request #3 · bitlush/hubitat · GitHub.

In addition to the support of the zigBee blinds, I have also updated the TaHoma Switch driver with an event listener and modified the RTS/Venetian blinds to properly show up in Google Home

@debarryl - I've merged all your changes - nice job!

1 Like