在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:ActiveByte/homebridge-loxone-connect开源软件地址:https://github.com/ActiveByte/homebridge-loxone-connect开源编程语言:JavaScript 100.0%开源软件介绍:homebridge-loxone-connectHomebridge plugin for controlling Loxone. There are a few variants from the original loxone homebridge plugin, but they all have the same problem. Most of them are abandoned and they don't work completely. Those are the two main reason that i made this plugin, i also added a lot of fun and useful stuff. Feature requests are always welcome! The plugin will be able to communicate with the following items from your Loxone setup:
*Needs additional configuration, check assumptions. The only configuration required is the credentials to your Loxone miniserver. PrerequisitesHomebridge Follow all the installation steps there. InstallationInstall the plugin through npm or download the files from here. $ sudo npm install -g homebridge-loxone-connect Or update to latest version when already installed: $ sudo npm update -g homebridge-loxone-connect ConfigurationSee config-sample.json for an example configuration. Platform configuration
Options
Assumption aliases
For more information check assumptions. AssumptionsTo create the correct accessory type from Loxone items, some attribute parsing is required inside Loxone config. LightbulbTo make a lightbulb accessory you have to give a switch the prefix "Lighting" or you can give it the lightning category. *You can use a different category name as long as the category has the lightning icon. OutletTo make a lightbulb accessory you have to give a switch the prefix "Outlet" or you can give it the power category. *You can use a different category name as long as the category has the power icon. FanTo make a fan accessory you have to give a switch the prefix "Fan". LockTo make a lock accessory you have to give a switch the prefix "Lock". *automatic locking can be configured. Valve, SprinklersTo make a valve or sprinkler accessory you have to give a switch the prefix "Valve" or "Sprinklers". Sensors, Doorbell, TriggerFor the following accessory's you will have to use a "Virtual Status block" inside Loxone config to make the following sensors.
The controls will be named like you named them in Loxone Config. Rename them through the iOS Home app to make it more intuitive for using with Siri. Eg LIGHT_KITCHEN can be renamed to 'main light' and added to room Kitchen. Then you can ask Siri to 'turn on the main light in the kitchen'. LimitationsRoomsThe Homebridge/HAP protocol does currently not allow attaching the Loxone rooms to the accessories. That is a manual action to be done once using the IOS Home app (or the Eve app which is much more user-friendly). Special note: organizing into rooms can be done from Eve, but renaming the items should (unfortunately) be done from the IOS Home app. Name changes in Eve are not reflected in Home and thus not known by Siri. 100 itemsHomeKit has a limit of 100 accessories per bridge. If you have a large Loxone setup, try to filter unneeded items out either through a dedicated Loxone usergroup or in the checkCustomAttrs function. Visualization passwordCurrently node-lox-ws-api does not support Loxone blocks with a visualization password on it. We are looking into solving this issue. pushbuttonsSince Homekit has no pushbutton concept, I implemented pushbuttons as switches in Homekit. Telling Siri to put them On will send a pulse to the pushbutton. In Homekit, they will appear to be On for a second. Problem solvingIf you have troubles getting the states on your iOS device, try removing the files in your 'persists' folder (usually in ~/.homebridge/persist) and restarting homebridge. LicenseThe plugin is released under MIT license, which means you can do whatever you want with it as long as you give credit. CreditsThe original Loxone WS work was done by Sroose Attribution goes towards Tommaso Marchionni. The structure of this code is based on his openHAB plugin. The original HomeKit API work was done by Khaos Tian in his HAP-NodeJS project. The homebridge component on which this plugin is built was created by Nick Farina. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论