Comments (6)
The power monitoring reports what the device reports, regardless of whether the switch is off or on. I find mine fluctuate between 0.9 and 1.4W for a while after turning off before going to zero. I presume this usage is from the Wi-Fi module itself maintaining an active state for a while before entering low power mode.
However the new firmware may have different behaviour. If you are able to confirm the reported dps with tuyacli or by enabling debug logging in the HomeAssistant config, we can rule out the possibility that the device stops reporting power consumption completely when off, which may indeed cause HomeAssistant to keep reporting the old values.
from tuya-local.
I can confirm that there is a 10 minute delay after removing a load before home assistant updates to 0 for amps and watts
from tuya-local.
The Tuya App reports the change straight away. Also of note, if I open the tuya app and check power usage the device goes unavailable in home assistant. An when I kill the tuya app the attributes then update in home assistant and I dont have to wait the 10 mins for an update? Any ideas?
from tuya-local.
I guess the tuya app is sending some command to trigger the update right away. But without documentation of the command protocol, it is not something that we can easily figure out. I intend to switch the underlying tuya library to the maintained tuyaface library in future, which may help with issues like this.
from tuya-local.
Please check with 0.2.0. It is using a newer underlying tuya library, which may handle this situation better.
from tuya-local.
Closed due to no feedback
from tuya-local.
Related Issues (20)
- Smart socket only updating electrical stats at HomeAssistant if I keep my Tuya app opened HOT 4
- Unable to add RainPoint Water Timer HOT 4
- Unable to select the right type for Door/Window On/Off Sensor HOT 1
- Request support for Casdon TD Pro 2 device
- loratap_garage_door incorrect state reporting HOT 6
- Request support for Fey123-Chargeur EV HOT 1
- Request support for Klarstein Skyscraper Ice Smart 4 in 1 Air Cooler HOT 1
- Request support for lights that deliver all their parameters on a single line of json HOT 2
- Request support for EV charger [AFYEEV 32A 22kw] HOT 1
- Request support for Invisible Bluetooth Smart Lock HOT 1
- ZY-M100-WIFI24G - still not recognized as ZY-M100 in tuya local (previous issue #1913)
- Silvercrest kettle: Mapping mistakes HOT 2
- the latest version does not fix the problem with the delay of the LED strip controller "RGB+CCT (elx81iegjn4rynr3)" in the localtuya integration, everything works much better, but I would like to use this information
- Failed to fetch device status for Pool Heat Pump HOT 1
- Request support for Inkbird IBS_M2
- Request support for Arlec 2m Grid Connect Smart USB Strip Light (gateway required)
- Request support for Noeifevo Q21W EV charger
- Request support for ION WIFI Dimmer HOT 2
- Test new form
- Unable to add EV Charger
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tuya-local.