Giter Site home page Giter Site logo

Comments (5)

Petros15 avatar Petros15 commented on June 10, 2024

Same here. It's a v1 bulb and it suddenly became irresponsive. Updating to the latest integration version did not solve the problem. The bulb now behaves erraticaly. It doesn't always register commands, its status is not updated properly and it also often returns "TapoError.ERR_DEVICE: Rate limit exceeded" in addition to the "hue" error.

Soft resetting the bulb and reinstalling it in both the Tapo app and HA did not help.

from home-assistant-tapo-p100.

norbee37 avatar norbee37 commented on June 10, 2024

Here too. Both errors show up and at some point the device gets unavailable. Though strangely at least in the beginning it actually toggles couple of times then stops working.

from home-assistant-tapo-p100.

Kisinu avatar Kisinu commented on June 10, 2024

Same here. I guess it all started after last tapo integration update.

service light/turn_on. 'NoneType' object has no attribute 'hue'

from home-assistant-tapo-p100.

serin113 avatar serin113 commented on June 10, 2024

This is probably a duplicate of #746: it has the same NoneType'd self.device.hs object error, and affects the same firmware (1.3.0) and hardware (L530 v1.0).

There's PR #748 which seems to fix the NoneType error, but doesn't fix the erratic behavior of the bulb: the "rate limit exceeded" error, and the color resetting to white when adjusting the brightness.

from home-assistant-tapo-p100.

serin113 avatar serin113 commented on June 10, 2024

This is probably a duplicate of #746: it has the same NoneType'd self.device.hs object error, and affects the same firmware (1.3.0) and hardware (L530 v1.0).

There's PR #748 which seems to fix the NoneType error, but doesn't fix the erratic behavior of the bulb: the "rate limit exceeded" error, and the color resetting to white when adjusting the brightness.

Some updates on this:

I tried reverting to earlier versions to trace where this issue started: v3.0.0 doesn't have it, but v3.1.0 and above do.

#748 fixes this specific issue, since the recently introduced new interface does allow the hs object to be none: https://github.com/petretiandrea/plugp100/blob/0c092b33e233b7881188b05e9b01f967e043ca8b/plugp100/new/components/light_component.py#L41

    @property
    def hs(self) -> Optional[HS]:
        if self._state.hue is not None and self._state.saturation is not None:
            return HS(self._state.hue, self._state.saturation)
        return None

Why the L530E (v1.0) doesn't have hue & saturation isn't obvious to me, but it's the exact same issue I have with the default Tapo integration (home-assistant/core#111757). I'm guessing this issue was introduced by a recent firmware update, because even reverting to a previously working version of this integration didn't fix the color+brightness resetting.

The python-kasa project has recently merged a fix for this exact model, maybe it'll help with the new interface (but it's not in a release yet): python-kasa/python-kasa#840

from home-assistant-tapo-p100.

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.