uzlonewolf

Results 283 comments of uzlonewolf

Yes, the ones I have power up and start broadcasting like a normal device when reporting status changes. It's a really short window, only a few seconds, but enough to...

It broadcasts on the local network in addition to contacting Tuya's servers. The one I have is just a normal Tuya device that the host microcontroller powers down after a...

To use the Cloud to pull logs: ```python import tinytuya import json c = tinytuya.Cloud() v = 'v1.0' u = 'devices/{DEVICE ID HERE}/logs?end_time=1668835441&query_type=1&size=100&start_time=1668662641&type=1,2,3,4,5,6,7,8' r = c._tuyaplatform(u, ver=v) print( json.dumps(r, indent=2)...

Simply multiplying V*I gives you VA (volt-amperes), not watts. To get watts you need to include the power factor as @jasonacox wonderfully explained.

42: base64 decode "AQEAPgOIATIBrA==" is `01 01 00 3e 03 88 01 32 01 ac` "01 01 00 3e 03 88 01 32 01 ac" most likely breaks down as:...

As ThermostatDevice has a ton of stuff that this device does not, I would start with OutletDevice and copy/paste from ThermostatDevice as needed. We should probably make a device template...

Unfortunately WiFi uses a *lot* of power, which means battery-powered devices cannot remain connected to the network. If you just happen to catch them during the brief moment they connect...

Unfortunately Tuya devices in general do not like being offline. Some work fine, others kinda work but stop sending updates, some initially appear to work but then stop if rebooted...

Unfortunately TinyTuya doesn't really handle command success/fail well. This is a good candidate for an enhancement. Let's take a step back and look at all the possible command results: 1....

For this one I think we should at least return an error_json(), and it probably wouldn't be a bad idea to add an option like `d.except_on_error(True)` to tell it you...