Open ceaswaran opened 4 years ago
The interaction is totally local. However the behavior you see is expected from my experience and from reading around tuyapi related issues on google. Blame It on tuya fw. Best choice is to flash to esphome or tasmota. I can’t recall if this happens using the tuya app.
Thanks, @subzero79 I tried this method because I cannot flashTasmoto or esphome to the device as the product that I bought (Without knowing I bought) uses TW-02-based (WinnerMicro W600-based) micro chip & not ESP 8266 based.
Hi, there is couple of details why only "local" power statistics doesn't work and also possible solution with command 18. https://github.com/codetheweb/tuyapi/issues/417 https://github.com/jasonacox/tinytuya/issues/8
Great job with this node! Is there a way to send Command 18 via the node? I have the same issue with power values not refreshing when the internet is blocked (intentionally) from the plug.
Also, is there a way to poll a particular dps for current value?
cheers Joe
I managed to configure this node in node-red for my PowerMonitoring Plug It works fine. I am able to Turn ON/OFF view the Voltage/ Current/Watts value.
But When I disconnect the internet access for the device (Plug). I am able to control (ON/OFF) the device locally thru lan, but not see the Voltage/ Current/Watts values.
These power values are always Nan when the Internet to the device is disconnected.
I tried to make the Nodred config simple as below:
HA Config as follows:
Please help