lasthead0 / ioBroker.xiaomi-gateway3

Adapter for Xiaomi Gateway 3 integration
MIT License
6 stars 4 forks source link

Wrong command for open telnet #11

Closed Anzic23 closed 2 years ago

Anzic23 commented 2 years ago

Describe the bug
I added a gateway, I try to open telnet using the built-in commands, it does not work. Ours is a similar command on the Internet, but with a difference in the id number, I tried to enter it, and hooray, the telnet opened. To Reproduce

  1. enter command from example {"id":0,"method": .....
  2. see error Expected behavior
    Add or fix telnet open method {"id":123,"method": ......

Versions:

Additional context
Add any other context about the problem here.

lasthead0 commented 2 years ago

This id is id of command but not of payload. There is doesn't matter what id because it will be replaced with random. This means that 123 has no effect. Also we can see "You may need to change id." at this page https://gist.github.com/zvldz/1bd6b21539f84339c218f9427e02270

Besides i need to see error, to undersand what happend exactly. For now i will left this as it is.