homebridge-hubitat-makerapi

  • A9_131960
    了解作者
  • 105.2KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-06-12 12:08
    上传日期
人居桥 这基于@ tonesto7 homebridge-hubitat-tonesto7 Current App version: 0.4.14 目录 变更记录 人居应用: v0.1.0-从我的tonesto7版本移植了应用程序,并添加了Websocket频道。 当前不支持返工的设备分类,HSM和模式!!! v0.1.2-修复了一个小时后不更新HomeKit中的图块的错误v0.1.7-修复了与Siri的问题,在日志输出中显示版本号v0.1.8-解决了设置恒温器温度的问题,如果设备具有属性switch和level并且设备类型包含单词“ fan control”,则将其设置为Fan v0.1.9-新增了过滤属性和功能的功能v0.1.10-固定汉普顿湾风扇组件v0.1.11-v0.1.17-几次尝试与凌乱的粉丝搞混... v0.2.0-迁移到动态Homebridge平台,该平台无需在Ma
homebridge-hubitat-makerapi-master.zip
  • homebridge-hubitat-makerapi-master
  • index.js
    40.5KB
  • images
  • posturl.png
    11.3KB
  • dashboard.png
    54.1KB
  • package.json
    878B
  • LICENSE
    11.1KB
  • .gitignore
    1.4KB
  • accessories
  • he_st_accessories.js
    89.2KB
  • exclude_capability.js
    3.6KB
  • lib
  • freePort.js
    622B
  • api-homebridge-hubitat-makerapi.js
    6.2KB
  • HomeKitTypes-Bridge.js
    17.9KB
  • npm_version_check.js
    4.5KB
  • communityTypes.js
    16.3KB
  • Logger.js
    5.5KB
  • receiver-homebridge-hubitat-makerapi.js
    27.2KB
  • InternalError.js
    841B
  • validate.js
    13.7KB
  • util_http.js
    4.1KB
  • HomeKitTypes.js
    111.4KB
  • ignore-attributes.js
    1.1KB
  • README.md
    20.7KB
内容介绍
# homebridge-hubitat-makerapi This is based off of @tonesto7 homebridge-hubitat-tonesto7 [![npm version](https://badge.fury.io/js/homebridge-hubitat-makerapi.svg)](https://badge.fury.io/js/homebridge-hubitat-makerapi) **```Current App version: 0.4.14```** ##### Table of Contents **[Change Log](#change-log)**<br> **[Installation](#installation)**<br> **[Configuration File Parameters](#configuration-file-parameters)**<br> **[Capability Filtering](#capability-filtering)**<br> **[Attribute Filtering](#attribute-filtering)**<br> **[Troubleshooting](#troubleshooting)**<br> # Change Log #### Hubitat App: ***v0.1.0*** - Ported app over from my tonesto7 version and added Websocket channel. Reworked Device Classification, HSM and modes currently not supported!!!<br> ***v0.1.2*** - Fixed bug of not updating tiles in HomeKit after an hour expired<br> ***v0.1.7*** - Fixed issuse with Siri, Show version number in logging output<br> ***v0.1.8*** - Fixed issue with setting Thermostat temperature, make a device a Fan if it has the attributes switch and level and the device type contains the words "fan control"<br> ***v0.1.9*** - Added ability to filter out attributes and capabilities<br> ***v0.1.10*** - Fixed Hampton Bay Fan Component<br> ***v0.1.11 - v0.1.17*** - Several attempts to mess with messy fans...<br> ***v0.2.0*** - migrated to dynamic homebridge platform that removes the need of restarting homebridge after a device selection was changed in MakerAPI, configure homebridge to use Celsius, fixed fan tile on/off functionallity, ability to create switch tiles for modes and switching of modes, HSM integration, reduced load on Hubitat at plugin start by removing dependency on full detail API call, plugin startup speed improved, perform daily version check against NPMJS and print logging statement on newer versions available<br> ***v0.2.1 - v0.2.4*** - Fixed attribute filtering for cached devices <br> ***v0.2.5*** allows correct usage of DNS host names instead of IP address to connect to hubitat, fans that support setLevel use setLevel instead of setSpeed to allow finer granularity, code baselined with homebridge-hubitat-hubconnect plugin to allow faster cross-sharing of improvements<br> ***v0.2.6*** Fixed issue with multi sensors not updating temperature and humidity, fixed issue that temperature can't go negative<br> ***v0.2.7 - v.0.2.8*** problems with deasync module, removed it<br> ***v0.2.9*** fixed on/off for hampton bay controller, fixed water valve<br> ***v0.2.10*** Hampton Bay Fan Controllers say they have speed level even though they are off, let's fix that<br> ***v0.2.11*** Added some debug for fans....<br> ***v0.2.13*** Fixed garage door implementation and set obstruction when status is unknown/stopped<br> ***v0.2.14*** Added "debug" mode to see calls to MakerAPI in output. See description below on how to enable it. <br> ***v0.2.15*** Added ability to write logging to file<br> ***v0.2.16*** Fixed rounding issue for thermostats in auto mode<br> ***v0.2.17*** Added support for colorTemperature bulbs<br> ***v0.2.18*** Added thermostat fan switch support (thanks @swiss6th), added ping/pong for websockets (thanks @asj)<br> ***v0.2.19*** Added some additional testing on websocket status to track down an issue...<br> ***v0.3.0*** Added Button support, limited to "push" for 1 button, see ***"programmable_buttons"*** for advanced programmable button support (thanks to @swiss6th for the code base)<br> ***v0.3.1*** fixed double usage of switch if a button also has the switch attribute<br> ***v0.3.2*** Another try to deal with websocket issues<br> ***v0.3.3*** Fixed programmed buttons implementation, further testing on websocket connection, reloading of attribute states via HTTP if websocket connection is "broken", some refactoring<br> ***v0.4.0*** Adapted to new MakerAPI event-stream released with Hubitat release 2.1.6, websocket connection is used as fallback if MakerAPI stream is not supported, new configuration options for "local_ip" and "local_port" added, clean reload after lost communication with hub<br> ***v0.4.1*** Fixed an issue during start and concurrent requests to MakerAPI<br> ***v0.4.2*** Added automatic detection of free port to listen on for event stream<br> ***v0.4.5*** Added diagnostic website hosted by plugin to see/download log files and enable debug logging<br> ***v0.4.6*** Fixed thermostat low battery warnings, fixed iOS13 duplicate calling of setThermostatOperationgMode, some UI changes in diagnostic website<br> ***v0.4.7*** Fixed null attribute on battery for thermostats<br> ***v0.4.8*** Fixed setting Thermostat temperatures in auto mode, fixed Alarm Tile in Home App when HSM is disarmed with 'Disarm All' by RM, better detection of local_ip based on app_url host<br> ***v0.4.9*** Fixed Alarm Tile reset when custom rule alert was canceled<br> ***v0.4.10*** Fixed thermostat setpoint in auto mode for Thermostats<br> ***v0.4.11*** Fixed exception on button events<br> ***v0.4.12*** Validation of values for accessoires to prevent warning messages in Homebridge 1.3<br> ***v0.4.13*** Fixed null reference for validation of values<br> ***v0.4.14*** Fix for newer output on MakerAPI with version 2.2.6<br> # Explanation: ### Direct Updates This method is nearly instant. When properly setup, you should see something like this in your Homebridge startup immediately after the PIN: ``` [2019-4-12 14:22:51] [Hubitat] homebridge-hubitat-makerapi server listening on 20009 [2019-4-12 14:22:51] Homebridge is running on port 51826. ``` <br> # Installation ## 1. Hubitat MakerAPI App Configuration * Under the Hubitat Web Interface, Click on <u><b>```Apps```</b></u> in the left side menu. * Click on the button <u><b>```+Add Built-In App```</b></u> * Select <u><b>```Maker API```</b></u> from the list of apps * Enable <u><b>```Allow Access via Local IP Address```</b></u> * Tap <u><b>```Done```</b></u> and you are finished with the App configuration. * Go into the newly added Maker API app * Select the devices you would like to have available via HomeKit * Enable <u><b>```Include Location Events```</b></u> to support HSM and chaning of modes ## 2. Homebridge Plugin Installation: 1. Install homebridge using: ```sudo npm i -g homebridge``` (For Homebridge Install: [Homebridge Instructions](https://github.com/nfarina/homebridge/blob/master/README.md)) 2. Install Hubitat plugin using: ```sudo npm i -g homebridge-hubitat-makerapi``` 3. Create your config.json configuration file. The config.json file has to be stored in the folder ~/.homebridge 4. To help creating your inital configuration file, **<a href="https://dantapps.github.io" target="_blank" rel='nofollow' onclick='return false;'>click here</a>** for some assistance. 5. Start homebridge using the command: ```homebridge``` # Configuration File Parameters <h4 style="padding: 0em .6em; margin-bottom: 5px;"><u>Example of all settings. Not all settings are required. Read the breakdown below. There is also a tool to help you creating a config.json file located <a href="https://dantapps.github.io" target="_blank" rel='nofollow' onclick='return false;'>here</a></u></h4> <div style=" overflow:auto;width:auto;border-width:.1em .1em .1em .8em;padding:.2em .6em;"><pre style="margin: 0; line-height: 125%"><span style="color: #f8f8f2">{</span> <span style="color: #f92672">&quot;platform&quot;</span><span style="color: #f8f8f2">:</span> <span style="color: #e6db74">&quot;Hubitat-MakerAPI&quot;</span><span style="color: #f8f8f2">,</span> <span style="color: #f92672">&quot;name&quot;</span><span style="color: #f8f8f2">:</span> <span style="color: #e6db74">&quot;Hubitat&quot;</span><span style="color: #f8f8f2">,</span> <span style="color: #f92672">&quot;app_url&quot;</span><span style="color: #f8f8f2">:</span> <span style="color: #e6db74">&quot;http://192.168.10.169/apps/api/YOUR_APPS_ID/&quot;</span><span style="color: #f8f8f2">,</span> <span style="color: #f92672">&qu
评论
    相关推荐