Skip to content

Commit

Permalink
Version 0.23.1 (Beta 23.1)
Browse files Browse the repository at this point in the history
* Fixed bug in SenseMe support where fans and lights were not
populating their HomeKit characteristics
* Updated Homebridge-Indigo2 to 0.2.4
  • Loading branch information
Colorado Four Wheeler authored and Colorado Four Wheeler committed Apr 8, 2018
1 parent 37a2efb commit c013025
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 12 deletions.
13 changes: 9 additions & 4 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
Release Notes
==========

Version 0.23.0 (Beta 23.0)
Version 0.23.1 (Beta 23.1)
==========
* Fixed bug in SenseMe support where fans and lights were not populating their HomeKit characteristics
* Updated Homebridge-Indigo2 to 0.2.4

Previous Release Notes
==========

Version 0.23.0 (Beta 23.0)
---------------
* **NOTE** As stated earlier, the entire HomeKit engine is being optimized and rewritten for various reasons. There is a new plugin configuration option that allows you to revert to the previous method if the new method is causing problem, but this is on a release-by-release basis, meaning that only changes in **this** release will roll back to using the old methods, the next release will not be able to roll back anything from this release. The functions impacted will be noted in the release notes as 'Library Change'. Please report any issues that are caused by the new library that are resolved by returning to the old methods. Each revision will re-enable this option automatically if it gets turned off.
* **NOTE** All minor revisions can still be rolled back for Library Changes until the next full beta version is released
* Removed all functions that were moved to the new package (Library Changes) made in the last three releases, they are now a permanent part of the plugin
Expand All @@ -14,9 +22,6 @@ Version 0.23.0 (Beta 23.0)
* [Issue #99](https://github.com/Colorado4Wheeler/HomeKit-Bridge/issues/99) partially addressed
* [Issue #97](https://github.com/Colorado4Wheeler/HomeKit-Bridge/issues/97) resolved (pending testing by end users)

Previous Release Notes
==========

Version 0.22.2 (Beta 22.2)
---------------
* **NOTE** As stated earlier, the entire HomeKit engine is being optimized and rewritten for various reasons. There is a new plugin configuration option that allows you to revert to the previous method if the new method is causing problem, but this is on a release-by-release basis, meaning that only changes in **this** release will roll back to using the old methods, the next release will not be able to roll back anything from this release. The functions impacted will be noted in the release notes as 'Library Change'. Please report any issues that are caused by the new library that are resolved by returning to the old methods. Each revision will re-enable this option automatically if it gets turned off.
Expand Down
2 changes: 1 addition & 1 deletion EPS HomeKit Bridge.indigoPlugin/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>PluginVersion</key>
<string>0.23.0</string>
<string>0.23.1</string>
<key>ServerApiVersion</key>
<string>2.0</string>
<key>IwsApiVersion</key>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -2223,6 +2223,10 @@ def special_SenseMeFanToggle (self, classes, sourceDict, getter, characteristic,
def special_SenseMeFanSpeed (self, classes, sourceDict, getter, characteristic, isOptional = False):
try:
if self.serverId == 0: return

obj = indigo.devices[self.objId]
self.setAttributeValue (characteristic, int(obj.states["speed"]))
self.characterDict[characteristic] = getattr (self, characteristic).value

valuesDict = {'speed': "=value="}
self.actions.append (HomeKitAction(characteristic, "between", 0, "homekit.runPluginAction", [indigo.devices[self.objId].pluginId, None, ["fanSpeed", self.objId, valuesDict]], 7, {self.objId: "state_speed"}))
Expand Down Expand Up @@ -2253,6 +2257,10 @@ def special_SenseMeFanSpeedXXX (self, classes, sourceDict, getter, characteristi
def special_SenseMeLightLevel (self, classes, sourceDict, getter, characteristic, isOptional = False):
try:
if self.serverId == 0: return

value = int(obj.states["brightness"])
self.setAttributeValue (characteristic, value)
self.characterDict[characteristic] = getattr (self, characteristic).value

valuesDict = {'lightLevel': "=value="}
self.actions.append (HomeKitAction(characteristic, "between", 0, "homekit.runPluginAction", [indigo.devices[self.objId].pluginId, None, ["fanLightBrightness", self.objId, valuesDict]], 16, {self.objId: "state_brightness"}))
Expand Down

0 comments on commit c013025

Please sign in to comment.