Giter VIP home page Giter VIP logo

Comments (3)

rsauget avatar rsauget commented on July 1, 2024 1

Hi,
Thanks for your feedback!
I'm currently redeveloping the plugin thanks to Ubiant who provided me with API docs.
I integrated a "tolerance" in the current beta v3.0.0-beta1 which defaults to 0.05 (5%) and that you can override in plugin config.
Can you give it a try?

from homebridge-flexom.

valeriansaliou avatar valeriansaliou commented on July 1, 2024 1

Update after using v3.0.0-beta3 over the weekend: everything went smooth, I am not seeing the blinds forever-loading issue now. Note that I have set the factor to 0.15, as when I leave the blinds closed at a 45deg angle to let light in, they are usually reported as 10%-something open by Flexom APIs.

Just seeing this error that occured today at the exact same time:

[12/12/2021, 11:23:55] [Flexom] Logout failed {"err":{}}
[12/12/2021, 11:23:55] [Flexom] Logout failed {"err":{}}
[12/12/2021, 11:23:55] [Flexom] Logout failed {"err":{}}
[12/12/2021, 11:23:55] [Flexom] Logout failed {"err":{}}
[12/12/2021, 11:23:55] [Flexom] Logout failed {"err":{}}
[12/12/2021, 11:23:55] [Flexom] Logout failed {"err":{}}
[12/12/2021, 11:23:55] [Flexom] Logout failed {"err":{}}
[12/12/2021, 11:23:55] [Flexom] Logout failed {"err":{}}
[12/12/2021, 11:23:55] [Flexom] Logout failed {"err":{}}
[12/12/2021, 11:23:55] [Flexom] Logout failed {"err":{}}

I'd tend to think there was a WebSocket connection termination by the server or some network error. I don't have further logs about this. But controls are still working at the moment, without requiring any Homebridge restart, so everything is fine.

from homebridge-flexom.

valeriansaliou avatar valeriansaliou commented on July 1, 2024

Hey there! Sorry I didn't get notified by GitHub. I saw the repository and package disappear suddently, I thought you got a take-down notice, super happy its back online, with the API docs you had been given!

Oh, just before I update to v3.0.0-beta1, as a quick note, I had to patch the code I was running on my Homebridge as I was being 429-ed on all my requests due to this plugin fetching Ubiant's APIs too frequently. Possibly because I have many IoT accessories to poll for their states (lights + blinds). Would also be super cool to have the poll interval configurable, as I do not need in my case to poll that frequently. This would definitely help alleviate 429s.

Edit: sorry, didn't see #8 ; trying this out rn!

Other than that, didn't get any other issues, using this daily!

from homebridge-flexom.

Related Issues (11)

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.