OpenWonderLabs / homebridge-switchbot

The Homebridge SwitchBot plugin allows you to access your SwitchBot Device(s) from HomeKit. Homebridge.
https://www.switch-bot.com/
ISC License
229 stars 47 forks source link

Support Request: Refresh rate #943

Closed Mathieu-271 closed 3 months ago

Mathieu-271 commented 4 months ago

Describe Your Problem

Hello All, I am using switchbot contact sensor and noticed that the status was not getting updated in my Home app. After searching in the Switchbot plugin setting menu, I found that we can set the refresh rate ; default seems to be 360s so I changed it to 6s. Now I can see that the homebridge dashboard is updated when door is open. However since the minimum refresh rate is 5s, is there way to have the contact sensor status to be update immediately (or at least in the second order)? If there is any other work around please let me know ! Thanks in advance !!

*I am using a Switchbot Hub2

Relevant log output

No response

Config for homebridge-switchbot

{
    "name": "SwitchBot",
    "credentials": {
        "token": MyToken",
        "secret": "MyKey",
        "notice": "Keep your Token & Secret a secret!"
    },
    "options": {
        "refreshRate": 6
    },
    "platform": "SwitchBot"
}

Screenshots

No response

Device & Model

Contact sensor

Node.js Version

v18.16.0

NPM Version

v9.5.1

Homebridge Version

v1.7.0

Homebridge SwitchBot Plugin Version

v3.4.0

Homebridge Config UI X Plugin Version

No response

Operating System

Raspbian

github-actions[bot] commented 4 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 3 months ago

This issue has been closed as no further activity has occurred.