We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to send TCP messages in JSON format? For example:
tcp://192.168.31.102:55443/{"id":1,"method":"toggle","params":[]}
Thanks
The text was updated successfully, but these errors were encountered:
Sure, that will work just fine. See examples in the readme here https://github.com/bwssytems/ha-bridge#multiple-call-construct
Sorry, something went wrong.
Did you get this to work?
Hi,
Yes it does work. Apparently i need to escape character like this..
tcp://192.168.31.101:55443/{\"id\":1,\"method\":\"toggle\",\"params\":[]}\r\n tcp://192.168.31.101:55443/{\"id\":1,\"method\":\"set_bright\",\"params\":[${intensity.percent},\"smooth\",500]}\r\n
tcp://192.168.31.101:55443/{\"id\":1,\"method\":\"toggle\",\"params\":[]}\r\n
tcp://192.168.31.101:55443/{\"id\":1,\"method\":\"set_bright\",\"params\":[${intensity.percent},\"smooth\",500]}\r\n
That is correct. Closing
bwssytems
No branches or pull requests
Is it possible to send TCP messages in JSON format?
For example:
tcp://192.168.31.102:55443/{"id":1,"method":"toggle","params":[]}
Thanks
The text was updated successfully, but these errors were encountered: