Solved this issue with the “HTTP Binding”. It is working fine, now I’m using this for control and reading parameters of the device.
In addition to the HTTP Binding you need the following Transfortmation Add-On connectors (category “other”):
- Javascript Transformation
- JSONPath Transformation
- RegEx Transformation
The http-thing is created with Base URL: http://[ip adress]/datastructure
Some channels need to be defined:
Here are some examples of channel configuration:
State Transformation
JSONPATH:$.Action.Power
Command Transformation
JS:| '{Action:{Power:' + input + '}}'
State Transformation
JSONPATH:$.Action.TargetHum
Command Transformation
JS:| '{Action:{TargetHum:' + input + '}}'