kueblc / mocktuyacloud

Framework to emulate Tuya cloud services
121 stars 23 forks source link

Mirabella Genio Bulb Failure - Logs and Captures #4

Closed drushbrook closed 5 years ago

drushbrook commented 5 years ago

Here is the log and captures as per failures mentioned in #3

the tcpdumps are gzipped to allow attachment to the issue.

I provisioned the device and captured both the mobile app traffic and the bulb traffic. provision.pcap.gz

I then rebooted the device and captured the bulb traffic.

reboot.pcap.gz

I have put in both the secKey and the localKey for the bulb in config.js - it redirected but no upgrade request was made - unfortunately I didn't do a network capture of the redirect process.

bulb.redirect.log

I then restarted both mocktuyacloud and the device and captured the network. log after restart of both mocktuya and bulb.log

capture after restart of both mocktuyacloud and reboot of device.pcap.gz

drushbrook commented 5 years ago

I didn't see any trigger of protocol 15 - not sure if I'm setting it up wrong to force the update.

kueblc commented 5 years ago

Thanks for the report and detailed logs! I'll look into it this afternoon.

GeorgeIoak commented 5 years ago

@drushbrook How did you setup your capturing? For me my PC has built-in WiFi and Ethernet so I created a HotSpot on my PC and then had my phone connect to that HotSpot. I then used WireShark to monitor the traffic on the HotSpot interface.

drushbrook commented 5 years ago

tcpdump on my router - it runs Tomato by Shibby

drushbrook commented 5 years ago

These bulbs can be flashed using tuya-convert. https://github.com/ct-Open-Source/tuya-convert/issues/7