node-red-contrib-homebridge-automation 0.3.0-beta.6 → 0.3.0-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
- package/src/hbConfigNode.js +1 -1
package/README.md
CHANGED
|
@@ -199,7 +199,7 @@ With a plugin, you can see if it supports Real Time events, by opening the Home
|
|
|
199
199
|
|
|
200
200
|
- Add common supported types Window, Window Covering, Light Sensor #151, tks @HDeKnop
|
|
201
201
|
- HB-Control Node Turns Off then On when this message is received #152
|
|
202
|
-
- Added `Debug logging` that creates a file `homebridge-automation-endpoints.json`, which contains all the homebridge devices discovered. It can be used as part of troubleshooting device issues.
|
|
202
|
+
- Added `Debug logging` configuration option that creates a file `homebridge-automation-endpoints.json`, which contains all the homebridge devices discovered. It can be used as part of troubleshooting device issues.
|
|
203
203
|
|
|
204
204
|
# Backlog / Roadmap
|
|
205
205
|
|
package/package.json
CHANGED
package/src/hbConfigNode.js
CHANGED
|
@@ -56,7 +56,7 @@ class HBConfigNode {
|
|
|
56
56
|
const updatedDevices = await this.hapClient.getAllServices();
|
|
57
57
|
if (this.debugLogging && updatedDevices && updatedDevices.length && process.uptime() < 300) {
|
|
58
58
|
try {
|
|
59
|
-
const storagePath = path.join(process.cwd(), '
|
|
59
|
+
const storagePath = path.join(process.cwd(), 'homebridge-automation-endpoints.json');
|
|
60
60
|
this.warn(`Writing Homebridge endpoints to ${storagePath}`);
|
|
61
61
|
fs.writeFileSync(storagePath, JSON.stringify(updatedDevices, null, 2));
|
|
62
62
|
} catch (e) {
|