Giter Club home page Giter Club logo

Comments (6)

make-all avatar make-all commented on August 16, 2024

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.

botts7 avatar botts7 commented on August 16, 2024

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.

botts7 avatar botts7 commented on August 16, 2024

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.

make-all avatar make-all commented on August 16, 2024

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.

make-all avatar make-all commented on August 16, 2024

Please check with 0.2.0. It is using a newer underlying tuya library, which may handle this situation better.

from tuya-local.

make-all avatar make-all commented on August 16, 2024

Closed due to no feedback

from tuya-local.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.