
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@switchbot/homebridge-switchbot-ble
Advanced tools
Homebridge integration for SwitchBot BLE series products
sudo apt-get install bluetooth bluez libbluetooth-dev libudev-dev
See the document of the @abandonware/noble for other operating systems details.
sudo npm install -g @switchbot/homebridge-switchbot-ble
Add this to your homebridge config.json
file
"platforms": [
{
"platform": "SwitchBotPlatform",
"name": "SwitchBotPlatform"
}
]
If it work, add devices.
"platforms": [
{
"platform": "SwitchBotPlatform",
"name": "SwitchBotPlatform",
"devices": [
{
"type": "bot",
"name": "Bot 2c",
"bleMac": "d4:cc:43:97:ae:2c"
},
{
"type": "bot",
"name": "Bot 51",
"bleMac": "e7:4d:36:cf:9e:51",
"scanDuration": 2000
}
]
}
]
Requird Settings
devices
- SwitchBot devices list.type
- Device type. Currently only bot
is supported.name
- Device name.bleMac
- Device mac address. You can find it in App settings.Optional Settings
scanDuration
- Scan timeout. BLE Central must first scan the advertising. Default is 1000
(unit: ms). Longer time to ensure device discovery but slower response.FAQs
Homebridge integration for SwitchBot BLE series products
The npm package @switchbot/homebridge-switchbot-ble receives a total of 9 weekly downloads. As such, @switchbot/homebridge-switchbot-ble popularity was classified as not popular.
We found that @switchbot/homebridge-switchbot-ble demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.