(Solved) Http binding for Homepilot

For the exercise, you could look to see how an existing binding chats with some remote HTTP service. A weather binding, perhaps.

1 Like

yes but where are the OH3 developers? I will do that if they say they will support HTTP Binding in OH3

What does that have to do with it?

If you want to discuss developments, this forum has a development section. There’s no reason for a developer to look at a solved thread about homepilot in the Items section.

I finally got it also working with the Android App. Change the fourth last line to:
var String myData = ‘{“name”:“GOTO_POS_CMD”,“value”:"’ + (receivedCommand as Number).intValue() + ‘"}’

The App transfers the value with a decimal point and the tenth. But the JSON may only contain Integer values.