Git Product home page Git Product logo

Comments (12)

Necroneco avatar Necroneco commented on July 2, 2024

上面的报错可能是bug,问一下这个kai_guan是什么设备?

后面的Disconnect已经好几分钟后了,应该和上面无关,既然重连成功了,那应该没有问题,除非非常频繁

from homeassistant-terncy-component.

rxwen avatar rxwen commented on July 2, 2024

from homeassistant-terncy-component.

lifetimr avatar lifetimr commented on July 2, 2024

开关是小燕的旋钮开关,Disconnect出现之前小燕的所有设备事件都在HA中失效,直到我手动变更了HA内开关的继电器状态,才出现的Disconnect报错。
感觉像是手动更改设备之后,HA才感知到与小燕的网关失联了。

from homeassistant-terncy-component.

Necroneco avatar Necroneco commented on July 2, 2024

哦 好吧,我第一版测试的时候,旋钮似乎是不支持长按的,所以就没把 long_press 分配上去,这个我稍后加一下就好,小问题。


重连这个是的,目前可能是需要有手动触发才会发现断连。
这个重连机制也是前不久才加上的,既然能用,后面可能可以考虑加个心跳检测进去。

from homeassistant-terncy-component.

rxwen avatar rxwen commented on July 2, 2024

from homeassistant-terncy-component.

xzshow avatar xzshow commented on July 2, 2024

from homeassistant-terncy-component.

lifetimr avatar lifetimr commented on July 2, 2024

感谢大佬,能加心跳检测的话简直太棒了。

from homeassistant-terncy-component.

rxwen avatar rxwen commented on July 2, 2024

from homeassistant-terncy-component.

Necroneco avatar Necroneco commented on July 2, 2024

旋钮我记得是不支持长安的。

嗯,所以这个怎么触发的也挺奇怪的。我看了下小燕app里也没有旋钮的长按,那我还是直接过滤掉吧。

from homeassistant-terncy-component.

Necroneco avatar Necroneco commented on July 2, 2024

感谢大佬,能加心跳检测的话简直太棒了。

不过就算加心跳,也不能太频繁,所以还是会出现这种情况的。不过既然自动重连之后就都能用了,那还算好吧 不是什么大问题了~

from homeassistant-terncy-component.

rxwen avatar rxwen commented on July 2, 2024

from homeassistant-terncy-component.

lifetimr avatar lifetimr commented on July 2, 2024

感谢大佬们

from homeassistant-terncy-component.

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.