logo elektroda
logo elektroda
X
logo elektroda

[Solved] How do I configure Homebridge and the plugin so that the AFE T5 status is disabled in HomeKit?

ufoludek75 1050 1
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 17399475
    ufoludek75
    Level 6  
    Hello

    Set as per the title.

    The way it currently works is that:
    1. I activate a relay with AFE T5 from the Home application.
    2. he short-circuits the output for the specified time.
    3. in the app, the status of the button changes to on,
    4. then I click again, the relay short-circuits, in the application the state of the button turns off.

    What forumers do you recommend to use a plugin for homebrige so that the status of the device (temporarily shorted) is presented correctly in HomeKit (i.e. always "off")?

    Greetings,
  • ADVERTISEMENT
  • #2 17420238
    ufoludek75
    Level 6  
    The solution was given by a formumer on another apple friendly forum ;)

    https://www.npmjs.com/package/homebridge-delay-switch

    This plugin adds a virtual switch and a virtual motion sensor.
    Two automations need to be created:
    1. activating the relay activates the virtual switch, the virtual switch activates the virtual motion sensor with a delay
    2. activation of the virtual motion sensor deactivates the relay

    The OffValue section must be deactivated in the plugin configuration. Otherwise the switch will short-circuit again in the automatic sequence when the virtual motion sensor switches off the relay.
ADVERTISEMENT