Max Isom

Results 388 comments of Max Isom

Yep. To find the prefix and suffix for new devices, you'll have to fire up Wireshark and sniff the packets going to your device. The data portion of the packet...

Oh wow thanks. I was going to say "sorry for the confusion, I meant that you shouldn't include the TCP packet metadata", but then I looked at `requests.json` 🙄. Oops....

Updated with b766439f. I've now whittled them down to this: ``` "outlet": { "status": { "prefix": "000055aa000000000000000a00000046", "command": {"gwId": "", "devId": ""}, "suffix": "000000000000aa55" }, "on": { "prefix": "000055aa00000000000000070000009b", "command":...

@jepsonrob thanks, that's really helpful. ### Receiving Broadcasted Messages For anyone interested, you can receive the UDP broadcasted packets with a simple script: ``` const dgram = require('dgram'); const server...

FYI, the UID is now no longer required when constructing an instance thanks to @jepsonrob.

`` Hey guys, just before you get any farther I wanted to make a quick comment. I will not allow working API keys extracted from the source code of other...

OK, thanks for the clarification. 😀 > On Dec 6, 2017, at 11:50, Marcus Lum wrote: > > No worries @codetheweb, wasn't planning on hard-coding those keys into anything, Just...

Perhaps, but I doubt we can without also having an API key.

https://github.com/codetheweb/tuyapi/issues/516 might help. Happy to accept a PR if the documentation needs to be updated. :)

Hmm, that looks right to me. It's spelled right, but if you copied parts of the command it's possible the dashes are m-dashes instead of regular dashes. Try typing out...