在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:renssies/homebridge-am43-blinds开源软件地址:https://github.com/renssies/homebridge-am43-blinds开源编程语言:JavaScript 100.0%开源软件介绍:This plugin is considered a work in progress, it works, but it has some stability issues. See "Known Issues" and "Troubleshooting" below.Homebridge AM43 BlindsA 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 computer to search for, and connect to the AM43 blinds. RequirementsThis plugin requires Node version 10 or newer and Homebridge version 0.4.46 or newer. Homebridge version 1.0 is recommended. It also requires that the machine that hosts Homebridge has a Bluetooth radio that supports the Bluetooth Low Energy (BLE) protocol. Most machines with Bluetooth 4.0 or newer support this protocol. This includes Macs (that support AirDrop) and Raspberry Pi version 3 or newer. Some systems might also work with an external Bluetooth 4.0 USB adapter. For compatibility check the noble package that is used by this plugin. Bluetooth adapters with the CSR8510 chipset are supported by most systems, including Raspberry Pi with Raspberry Pi OS. InstallationFirst make sure to set up the blinds using the blinds engine app, including the upper and lower limit. Kill the app after the setup is finished. Having the app open will make the blinds invisible to this plugin. When running Homebridge on Debian, Ubuntu, or Raspberry Pi you will first need to follow the following steps. macOS Users can skip these steps.
Step 1 must be completed before you can continue with The plugin can be installed using the homebridge-config-ui-x or by using the following command: npm install -g homebridge-am43-blinds If you have issues installing the plugin, add After that you will need to enter the following details into the ~/.homebridge/config.json: {
"platforms":[
{
"platform": "am43-blinds",
"allowed_devices": []
}
]
} Now start or restart homebridge and watch the logs. Homebridge will report that any AM43 motors that have been found will not be usable until added to the {
"platform": "am43-blinds",
"allowed_devices": ["02-86-68-35-3c-51"]
} Please note that the identifiers in DebuggingRunning homebridge with So to run homebridge in debug mode use the command The logs can be found in Known Issues
Todo
TroubleshootingThere are some issues with the plugin, but try the following tips before making an issue: Move the homebridge device closer to the motor or use an external adapter.Some devices have a very bad Bluetooth range. Some Raspberry Pi boards reportedly only have a range of 3 meters (10 feet). In some houses, the technical rooms or rooms with the incoming connections can also have a type of fireproofing which lowers the range of Bluetooth and wifi even more. If moving the homebridge device closer isn't an option you can always use a compatible external Bluetooth dongle. Do make sure the dongle supports Bluetooth version 4.0 or newer. You can combine this with a USB extension cable to get the desired range. A Bluetooth dongle with the CSR8510 chipset is supported by most Linux distributions, including Raspberry Pi OS. When using an external dongle on Linux (including Raspberry Pi) you will have to switch it manually. On Raspberry Pi you can follow these steps. For other linux platforms see here for more details. You will need to make sure the On Raspberry Pi you can disable the built-in bluetooth by placing Some other device is using the blinds motorThe blinds motor only supports one connection. So before it can be found and used by homebridge you will have to force stop the blind engine app and make sure no other homebridge instance is connecting to the motor. If this doesn't work turn off Bluetooth on the devices that use and have used the blind engine app. The motor gets into the "No response" state after working before.This is likely because your homebridge device has issues reconnecting to the device after it is disconnected to save power. You can add ThanksI have to thank buxtronix/am43, binsentsu/am43-ctrl and TheBazeman/A-OK-AM43-Blinds-Drive for the resources to get this plugin working. Also thanks to these contributors: |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论