Giter VIP home page Giter VIP logo

Comments (6)

rsauget avatar rsauget commented on July 19, 2024

Hi,
Ubiant provided me with API docs and it appears they have a websocket system to listen for events.
I published release 3.0.0-beta.1 using this websocket and removing all pollers.
Can you give it a try?

from homebridge-flexom.

valeriansaliou avatar valeriansaliou commented on July 19, 2024

Hello,

Just tried 3.0.0-beta.3. Controls from the Home app are working fine as before.

However, with the addition of the WS service I'd expect Ubiant's WS server to push a light on/off event as soon as a I press the manual mechanical light control switch on the wall, which does not seem to be the case. There's no instant switch in the Home app, nor any log in Homebridge telling about the change of state from true to false or the other way. Is that expected?

from homebridge-flexom.

rsauget avatar rsauget commented on July 19, 2024

That is not implemented yet, indeed.
I need some more time πŸ˜‰
However, whenever you leave and re-open Home app (or Control Center for that matter), state is refreshed.

from homebridge-flexom.

valeriansaliou avatar valeriansaliou commented on July 19, 2024

If you need some help with this, let me know :)

from homebridge-flexom.

rsauget avatar rsauget commented on July 19, 2024

Hi @valeriansaliou,
v3.0.0 final release is out πŸŽ‰
Event listener is now available, so device state should update in Home app from external action.

from homebridge-flexom.

valeriansaliou avatar valeriansaliou commented on July 19, 2024

Excellent! Thanks for everything, upgrading right now :)

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.