Ok, then I didn't get the question right. (I put a hard point to OpenRemote connection in your post)pz1 wrote:My original question was not getting things to work (I know that), but to understand how the Apiary API is supposed to work in the end. That is the question for the Zwave>Me team.
As for my opinion for OR there is that OpenRemoteHandler(as Homkit module) that should manage the connection and provide data that OpenRemote require ('on/off' for switches, integers for levels etc., only for these reasons).
As for HA API, may be the good point to have ability to dig into object, as example of realization:
To have data - /ZAutomation/api/v1/devices/ZWay_bla_bla/data/metrics/level, etc.
To run command - /ZAutomation/api/v1/devices/ZWay_bla_bla/command/on, etc.