3.1 and/or 3.4 packet trace?
Hey,
I'm trying to validate a Tuya protocol implementation, but don't have any 3.1 or 3.4 versioned devices. Everything I've bought is 3.3 or 3.5.
Is anybody able to provide a packet trace between tinytuya and a device, preferably with the key so I can validate the encryption.
Otherwise, can anybody recommend some cheap devices known to use these versions that are purchasable on Amazon?
Thanks!
You're unlikely to find any v3.1 devices on Amazon. What I did is went to eBay, searched "smart plug," filtered to used only, and picked a couple lots of the oldest, yellowest ones I could find (after googling the actual model # to make sure they were Tuya). Worked great :)
I'll see if I can scare up some packet traces. v3.4 is going to be tricky to validate with a trace as it uses the same 3-way handshake as v3.5 devices. Actually, this may be a good excuse to add v3.1/3.3/3.4 to my "fake device" script.
I've got the 3-way handshake fully working, so shouldn't be a problem if I have the key (and local nonce) prior to key negotiation
Also the 3.1 advice is useful, thanks! So I'm guessing these are discontinued and not in retail circulation anymore?
Correct. Even v3.3 devices are beginning to become hard to come by.
I've bought lots of bulbs recently from various brands for various fixtures, and they're all 3.3. I had to buy a smart plug before finding a 3.5 device in the wild.
I've actually had the opposite experience - nearly every bulb I've bought recently has been v3.5, and non-bulb devices have been either 3.4 or 3.5. I guess it's going to depend on how old the store's stock is.