Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
@switchbot/homebridge-switchbot
Advanced tools
The SwitchBot plugin allows you to access your SwitchBot device(s) from HomeKit.
The Homebridge SwitchBot plugin allows you to access your SwitchBot Device(s) from HomeKit with Homebridge.
@switchbot/homebridge-switchbot
token
to Clipboardtoken
into the config parametersecret
to Clipboardsecret
into the config parameterdeviceId
deviceId
into the Device Configbluetoothctl
must be installed on the device, otherwise it cannot communicate via Bluetooth. Enable it with sudo bluetoothctl power on
.
If errors occur, while enabling it, restart the process:
rfkill block bluetooth
rfkill unblock bluetooth
Also make sure, that the computer can discover the SwitchBot device:
sudo bluetoothctl
scan on
This lists all discovered Bluetooth devices. The BLE address of the SwitchBot device should be included in this list, otherwise your computer does not discover it.
Security & Privacy -> Privacy
to the node executable, eg /usr/local/bin/node
(This is what is intended in documentation for the noble bluetooth package prerequisites by "Add terminal app", however for HomeBridge it is node
that needs the permission granted, not terminal
.
Without this step, then you will receive the following error when the swichbot plugin launches, which will cause Homebridge or the child bridge process to restart:Error: Failed to initialize the Noble object: unauthorized
at Noble.<anonymous> (file:///usr/local/lib/node_modules/@switchbot/homebridge-switchbot/node_modules/node-switchbot/src/switchbot.ts:244:19)
at Object.onceWrapper (node:events:629:26)
at Noble.emit (node:events:514:28)
at Noble.onStateChange (/usr/local/lib/node_modules/@switchbot/homebridge-switchbot/node_modules/@stoprocent/noble/lib/noble.js:92:8)
at NobleMac.emit (node:events:514:28)
deviceId
& deviceName
to Device ConfigEnable Bluetooth Low Energy (BLE) Connection
on Device ConfigdeviceId
& deviceName
to Device ConfigEnable Bluetooth Low Energy (BLE) Connection
on Device ConfigdeviceId
& deviceName
to Device ConfigEnable Bluetooth Low Energy (BLE) Connection
on Device ConfigdeviceId
& deviceName
to Device ConfigEnable Bluetooth Low Energy (BLE) Connection
on Device ConfigOn
or Off
deviceId
& deviceName
to Device ConfigEnable Bluetooth Low Energy (BLE) Connection
on Device Config4.0.0 (2024-10-11)
deviceType
based config
deviceType
based config settings can be over written by individual device settings set by the deviceIdremoteType
based config
remoteType
based config settings can be over written by individual device settings set by the deviceIddeviceType
based config.
Curtain
, Blind Tilt
, Color Bulb
, Strip Light
, Hub
, Meter
, Meter Plus
, Humidifier
, Contact Sensor
, Motion Sensor
, Water Detector
, Ceiling Light
, or Lock
; you will need to re-setup your config for that deviceId**Fan
, DIY Fan
, Light
, DIY Light
, Air Conditioner
, DIY Air Conditioner
, or Others
; you will need to re-setup your config for that deviceId**node-switchbot
, so made changes to refect that.K10+ Pro
deviceType SupportFull Changelog: https://github.com/OpenWonderLabs/homebridge-switchbot/compare/v3.8.3...v4.0.0
FAQs
The SwitchBot plugin allows you to access your SwitchBot device(s) from HomeKit.
The npm package @switchbot/homebridge-switchbot receives a total of 0 weekly downloads. As such, @switchbot/homebridge-switchbot popularity was classified as not popular.
We found that @switchbot/homebridge-switchbot demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.