geko
(Geko)
January 6, 2015, 7:53pm
5
You got it. I think it’s a fairly small effort to fix the software. It’s just a matter of priorities and unfortunately it seems to very low on their list.
So, I’ve proven to myself that one can send raw TCP data with sendHubCommand(). Whatever data I pass to sendHubCommand() is delivered unmodified, which is as raw as it get. This is how my app talks to Mochad X10 gateway in this demo:
The question now is how to receive anything back. Currently, the hub sends back empty response, which is enough to confirm that data was sent successfully, but it would be much more useful if I could get data back from the socket.
I know that sendHubCommand() takes an undocumented options argument, so the question is if there’s a magic option that can make the hub send reply back to the app?
1 Like