在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:RoeiOfri/homebridge-palgate-opener开源软件地址:https://github.com/RoeiOfri/homebridge-palgate-opener开源编程语言:Python 53.6%开源软件介绍:ATTENTION!!!Currently there's an authentication issue with the plugin due to a change Pal has made in the backend, new authentication flow is still under investigation! If you have an old token it might stop working soon or already did stop working. Currently there's no workaround. If you think you can contribute for a solution please open an Issue in my repo. homebridge-palgate-openerPalGates homebridge plugin This plugin enables connection between Pal Gate App Controled systems and Apple HomeKit. Before installing the homebridge plugin you must extract the device ID to recieve a token. Extract device ID and TokenExtracting device ID and token from pi/linux/mac/windowsPlease note #1: this tool was tested on MAC but it should work on any distribution. Please note #2: Tool was written in Python 3.x, please make sure you run it with Python 3.x. Please note #3: Make sure requests module is install in you venv/system (pip install requests)* From shell run:
Via a container: docker build . -t palgate-extract docker run -it --rm palgate-extract Extracting device ID and Token from Homebridge Terminal
Extraction tool output example:
In this example we have two gates:
The address is for information purposes and is not needed. Plugin-in configurationConfigure plugin via UI
Manual configuration (configuration.yaml file)
Explanation
Please note:
Attention!Obtaining token via the tool will cause Pal Gate phone APP token to be revoked hence it will no longer work for your phone number (using the app) until you will re-sign to the Pal Gate app which will cause the HomeKit token to be revoked (thus HomeKit plugin will not work). FAQCan I control more than one Pal Gate barriers?Yes you can! just insert the block more than once with different name and with the same token and deviceID and it should work just fine. Will I still be able to use the PalGate app on my phone?No, if you reopen the app you will be asked to re-authorize therefore the token obtained via CLI will get revoked and HomeKit will not be able communicate with the gate any more. Will I still be able to use voice-dial to open the gate?Yes you can, it has nothing to do with this plugin. I re-signed to PalGate app and now I can't control the gate via HomeKit, what do I do?Just re-run the tool, update the config file with the new token and you're good to go! DisclaimerThis plugin was created for my own personal use. I'm not affiliate by the company nor this plugin. This plugin is self developed and is not related to Pal Gate Systems in any way. I'm not responsible for any damage and/or data loss and/or any security breach etc etc caused by using this plugin. Please use at your own risk and on your own responsibility. Like my work? consider buying me a coffee ;)https://paypal.me/roeiohttps://www.buymeacoffee.com/roeio |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论