Security News
The Push to Ban Ransom Payments Is Gaining Momentum
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
homebridge-am43-blinds-bluez
Advanced tools
Readme
Builds off of https://github.com/renssies/homebridge-am43-blinds but in typescript instead, with some additional features, but (due to BLE differences between plaforms) it'll likely only work on Raspberry Pi (/ other linux) based homebridge instances.
A homebridge plugin to control the AM43 based blind motors in HomeKit, these include the A-OK, Zemismart, Upndown and other blinds motors that use Bluetooth and the Blinds Engine app.
This Homebridge plugin uses the Bluetooth on your homebridge device to search for, and connect to the AM43 blinds via the "Blind Engine" part of the Settings
in homebridge-config-ui
.
node-ble
doesn't support limiting discovered devices by a service UUID, I've created my Own Fork to handle this - it definately limits the results, but I'm not sure if it only seems to work because the blinds are already connected. It's entirely possible that it won't connect to anything for anyone else."Device is not responding"
even after the device is doing what you asked. Not sure why this happens, the connection is fast & reliable.Blind Engine
UI there can be 2 toast notification for each action, this doesn't seem to cause any errors so should be fine.This plugin requires Node version 14 or newer and Homebridge version 1.3.0 or newer. It must be run on a linux system with bluez (e.g. a Raspberry PI).
Before installing set up node-ble by creating the following file in /etc/dbus-1/system.d/node-ble.conf
(assuming that your homebridge instance is run as homebridge
)
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<policy user="homebridge">
<allow own="org.bluez"/>
<allow send_destination="org.bluez"/>
<allow send_interface="org.bluez.GattCharacteristic1"/>
<allow send_interface="org.bluez.GattDescriptor1"/>
<allow send_interface="org.freedesktop.DBus.ObjectManager"/>
<allow send_interface="org.freedesktop.DBus.Properties"/>
</policy>
</busconfig>
See the node-ble docs for more information
Running homebridge with DEBUG=AM43
should cause motor-level debug logs to be output.
So to run homebridge in debug mode use the command DEBUG=AM43 homebridge -D
to log debug messages of the AM43 plugin. Or DEBUG=* homebridge -D
to log messages of all plugins.
The logs can be found in ~/.homebridge
or any custom folder you've specified. They should also be available in the Homebridge Config UI (if homebridge-config-ui-x
is installed)
FAQs
A homebridge plugin to control AM43 based shade motors in HomeKit. These include the A OK and Zemismart bluetooth based motors. This plugin requires a Homebridge host that supports Bluetooth 4.0
We found that homebridge-am43-blinds-bluez demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
Application Security
New SEC disclosure rules aim to enforce timely cyber incident reporting, but fear of job loss and inadequate resources lead to significant underreporting.
Security News
The Python Software Foundation has secured a 5-year sponsorship from Fastly that supports PSF's activities and events, most notably the security and reliability of the Python Package Index (PyPI).