在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:giu1io/homebridge-ankuoo-rec-switch开源软件地址:https://github.com/giu1io/homebridge-ankuoo-rec-switch开源编程语言:JavaScript 100.0%开源软件介绍:homebridge-ankuoo-rec-switchHomebridge plugin that integrates with Ankuoo Rec Switch Update 2021-07-24This package has been deprecated and the repository will be archived. I don't own a working Ankuoo Rec Switch anymore so I can't continue the development of this plugin. See the update below for more information and a possible path forward. Update 2019-03-07The correct decryption key has been found by ljalves (see this issue). If I can I will update the plugin to incorporate their work. In the meantime I advise you to take a look to the custom firmware that they developed for the switch that includes additional functionality like MQTT. That would make for a better integration with homebridge if you decide to use it. Installation
ConfigurationSee All fields are required.To determine the onCode and offCode for your switch you have to sniff the packets transmitted from the mobile app to the switch (protocol UDP, port 18530) when you turn on and off the switch. The packet content (hex) will have the following structure:
Fields:
FAQCan I use this plugin with more than one Ankuoo switch?In theory it should work, however I haven't tested it because I only own one switch. If you find any issues please let me know I will try to fix them. The switch is 'on' but my iPhone says it's 'off' (or vice versa)With the knowledge I have right now (see next question) there's is not a reliable way to determine the switch status. The plugin assumes that all your switches are off when you start homebridge, then uses broadcast packets sent by the switch to keep track of the on/off status. If one of this packets gets lost or if the switch was on when you started homebridge, then the status will be inconsistent. To fix this turn off your switch and then restart homebridge. Why do I have to sniff the packets to find the on/off codes?The packet structure is known (source), because it's basically the same for all the manufactures that use yunext.com as a platform. However, the AES 128bit key used to encrypt the payload it's not the same ("0123456789abcdef"). If you find the key used to encrypt the payload please let me know and I will gladly update my plugin to not require this codes anymore. I would even rewrite it as a platform so you have to only set username and password and it does the rest by itself. I'm not convinced of your explanation...There is a post on my blog explaining everything that I have tried to get this to work. If you see something that I've missed, please let me know. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论