Skip to content
This repository has been archived by the owner on May 26, 2018. It is now read-only.

Commit

Permalink
* (bluefox) fix homepilot adapter (rollo)
Browse files Browse the repository at this point in the history
* (bluefox) update ical npm
  • Loading branch information
GermanBluefox committed Jan 18, 2015
1 parent 96a0b6f commit 618beff
Show file tree
Hide file tree
Showing 259 changed files with 43,965 additions and 1,576 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ Actual the development is almost stopped, because of new project ioBroker.

## Changelog

### 1.0.50 [2015.01.18]
* (bluefox) fix homepilot adapter (rollo)
* (bluefox) update ical npm

### 1.0.49 [2015.01.04]
* (bluefox) mqtt: new adapter

Expand Down
8 changes: 4 additions & 4 deletions adapter/homepilot/homepilot.js
Original file line number Diff line number Diff line change
Expand Up @@ -1974,13 +1974,13 @@ function pollStatus() {
for (var u = 0; u < devs.length; u++) {
var n = devs[u].did - 10000;
if (devices[n].isState) {
logger.verbose("adapter homepilot: set initial state - position " + devices[num].position);
logger.verbose("adapter homepilot: set initial state - position " + devices[n].position);
setState(devices[n].DPs.LEVEL, (devices[n].position == 100));
} else if (devices[num].isRollo) {
logger.verbose("adapter homepilot: set initial state - position " + devices[num].position + ", calc state " + ((100 - devices[num].position) / 100));
} else if (devices[n].isRollo) {
logger.verbose("adapter homepilot: set initial state - position " + devices[n].position + ", calc state " + ((100 - devices[n].position) / 100));
setState(devices[n].DPs.LEVEL, (100 - devices[n].position) / 100);
} else {
logger.verbose("adapter homepilot: set initial position " + devices[num].position + ", calc state " + (devices[num].position / 100));
logger.verbose("adapter homepilot: set initial position " + devices[n].position + ", calc state " + (devices[n].position / 100));
setState(devices[n].DPs.LEVEL, devices[n].position / 100);
}
}
Expand Down
1 change: 1 addition & 0 deletions node_modules/ical/.npmignore

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

Binary file added node_modules/ical/.package.json.un~
Binary file not shown.
4 changes: 4 additions & 0 deletions node_modules/ical/.travis.yml

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

67 changes: 64 additions & 3 deletions node_modules/ical/ical.js

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

78 changes: 9 additions & 69 deletions node_modules/ical/node-ical.js

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

2 changes: 2 additions & 0 deletions node_modules/ical/node_modules/request/.npmignore

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

12 changes: 12 additions & 0 deletions node_modules/ical/node_modules/request/.travis.yml

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

Loading

0 comments on commit 618beff

Please sign in to comment.