-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Final fixes for SenseMe fan/light support ([Issue #97](#97)) * Adjusted acceptable value range on Heat and Cooling set points to allow for wider changes ([Issue #97](#97)) * Added automatic server restart if the Homebridge debug option is changed * Removed Simulated Device Dump from plugin actions (still remains in device actions) in Advanced Plugin Actions menu since the recent changes have rendered that somewhat inoperable * Removed 'use new library' option from plugin config until needed again * Removed 'performance options' from plugin menu as it is no longer needed * Removed 'development testing' from plugin menu in preparation for release * Changed Homebridge debug checkbox in the server advanced options to a combobox that will allow the user to debug Homebridge-Indigo, Homebridge server, neither or both to allow for a full comprehensive debug if there are issues that require seeing what Homebridge is doing * Changed server device re-caching to only happen when the included devices or actions are changed in a server rather than on any properly or attribute change * [Issue #99](#99) resolved * [Issue #97](#97) resolved
- Loading branch information
Colorado Four Wheeler
authored and
Colorado Four Wheeler
committed
Apr 19, 2018
1 parent
c013025
commit 8cc4be8
Showing
10 changed files
with
180 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
<!-- Provide a general summary in the Title above --> | ||
|
||
<!-- If you are having multiple issues please open multiple tickets instead of trying to cram it all into a single ticket since some issue may take longer than others to resolve. --> | ||
|
||
### Expected Behavior | ||
<!-- If you're describing a bug, tell us what should happen --> | ||
<!-- If you're suggesting a change/improvement, tell us how it should work --> | ||
|
||
### Current Behavior | ||
<!-- If describing a bug, tell us what happens instead of the expected behavior --> | ||
<!-- If suggesting a change/improvement, explain the difference from current behavior --> | ||
|
||
### Steps to Reproduce (for bugs) | ||
<!-- Please add a series of steps to reproduce the problem. --> | ||
|
||
### Versions | ||
<!-- Please provide the version of the plugin you are running (found in the Plugins menu under HomeKit Bridge). --> | ||
- **Plugin**: `YourVersion` | ||
|
||
### Configuration | ||
<!-- If relevant, include the contents of your config.json file between the two ``` lines below. | ||
- Retrieve the configuration for your server: | ||
- Open the Indigo Plugins menu | ||
- Select HomeKit Bridge | ||
- Select Advanced Plugin Actions | ||
- Select the server having issues in the first Device field | ||
- Select `Show Homebridge Configuration` from Device Actions | ||
- Click the `Execute Action` button | ||
- Copy contents of the log from your Indigo Event Log window | ||
- Remove any sensitive information, passwords, etc. | ||
- If output is long please extract only the relevant portions if possible | ||
--> | ||
```json | ||
|
||
``` | ||
|
||
### Homebridge Log / Command Output | ||
<!-- Paste relevant output between the two ``` lines below | ||
- Retrieve the log for your server: | ||
- Open the Indigo Plugins menu | ||
- Select HomeKit Bridge | ||
- Select Advanced Plugin Actions | ||
- Select the server having issues in the first Device field | ||
- Select `Show Homebridge Log` from Device Actions | ||
- Click the `Execute Action` button | ||
- Copy contents of the log from your Indigo Event Log window | ||
- Remove any sensitive information, passwords, etc. | ||
- If output is long please extract only the relevant portions if possible | ||
- However, please include the beginning of the log where the homebridge initialization happens if possible | ||
--> | ||
``` | ||
``` | ||
|
||
### Device Simulation Report | ||
<!-- Paste relevant output between the two ``` lines below | ||
- Retrieve the simulation data for your server: | ||
- Open the Indigo Plugins menu | ||
- Select HomeKit Bridge | ||
- Select Advanced Plugin Actions | ||
- Select the server having issues in the first Device field | ||
- Select `Simulate HomeKit For Server Item` from Device Actions | ||
- Select the device you are having problems with from the Server Device field | ||
- Click the `Execute Action` button | ||
- Copy contents of the log from your Indigo Event Log window | ||
- Remove any sensitive information, passwords, etc. | ||
- If output is long please extract only the relevant portions if possible | ||
--> | ||
``` | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
EPS HomeKit Bridge.indigoPlugin/Contents/Server Plugin/bin/hb/homebridge/runhomebridge.001
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/bin/bash | ||
|
||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | ||
|
||
export PATH="$DIR:/usr/bin:/bin:/usr/sbin:/sbin" | ||
export NODE_PATH="$( "$DIR/npm" -g root )" | ||
|
||
NAME="$1" | ||
|
||
if [[ "$NAME" == /* ]]; then | ||
CDIR="$NAME" | ||
else | ||
CDIR="$DIR/$NAME" | ||
fi | ||
|
||
LOG="$CDIR/homebridge.log" | ||
|
||
if [ -f "$LOG.6" ]; then /bin/mv -f "$LOG.6" "$LOG.7"; fi | ||
if [ -f "$LOG.5" ]; then /bin/mv -f "$LOG.5" "$LOG.6"; fi | ||
if [ -f "$LOG.4" ]; then /bin/mv -f "$LOG.4" "$LOG.5"; fi | ||
if [ -f "$LOG.3" ]; then /bin/mv -f "$LOG.3" "$LOG.4"; fi | ||
if [ -f "$LOG.2" ]; then /bin/mv -f "$LOG.2" "$LOG.3"; fi | ||
if [ -f "$LOG.1" ]; then /bin/mv -f "$LOG.1" "$LOG.2"; fi | ||
if [ -f "$LOG" ]; then /bin/mv -f "$LOG" "$LOG.1"; fi | ||
|
||
exec "$DIR/homebridge" -D -U "$CDIR" -P "$CDIR" > "$LOG" 2>&1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.