uzlonewolf

Results 283 comments of uzlonewolf

I'm actually not convinced the protocols are different. If that 2nd byte really is part of the timer then the difference between 0 and 100 (0x64) would be 0.039 seconds...

As for the JSON, it turns out those bulbs don't actually use JSON for those DPs. My guess is this is Tuya's way of describing the hex-encoded field; the JSON...

Ok, I finally got some low voltage devices in and hooked them up to my logic analyzer. All of these times were measured with a 5 MHz sample rate. First...

The 2nd device I got uses a Beken BK7231 chip and has firmware v2.9.6. This is the chip and firmware that's in almost every smart bulb I have. Unlike the...

For the music control, are you talking about the app-driven music mode or the device-based sound activated mode? I suspect app-driven mode simply uses local control and DPS 28 to...

Got almost everything implemented. Json/array handling got a bit convoluted as things like bulb scene data are integers inside a dict inside a list inside another dict, but it seems...

I can definitely add that, but I'm not really sure it's needed for the scanner. I'm probably going to put the raw values in a "dps_raw" key and modify the...

Done. I also pulled out a bunch of debugging print()s to help with the flood while scanning.

Thank you for the bug report, @spinza ! Yes, that does look like a good way to fix it.

Hmm, I wonder if it would be a good idea to expand bitmasks into an array of true/false values which you could set like `d["somebitmask"].someflag = True` or `d["somebitmask"]["someflag"] =...