homebridge-flume 1.2.0 → 1.2.4

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/CHANGELOG.md CHANGED
@@ -2,6 +2,37 @@
2
2
 
3
3
  All notable changes to homebridge-flume will be documented in this file.
4
4
 
5
+ ## 1.2.4 (2022-01-13)
6
+
7
+ ### Changed
8
+
9
+ - Bump `node` recommended versions to v14.18.3 or v16.13.2
10
+
11
+ ### Fixed
12
+
13
+ - Plugin crash for older versions of Homebridge
14
+
15
+ ## 1.2.3 (2022-01-03)
16
+
17
+ ### Changed
18
+
19
+ - HOOBS certified badge on README
20
+ - Plugin will log HAPNodeJS version on startup
21
+ - Bump `homebridge` recommended version to v1.3.9
22
+
23
+ ## 1.2.2 (2021-12-21)
24
+
25
+ ### Changed
26
+
27
+ - Some config options rearranged for easier access
28
+
29
+ ## 1.2.1 (2021-12-08)
30
+
31
+ ### Changed
32
+
33
+ - Bump `homebridge` recommended version to v1.3.8
34
+ - Bump `node` recommended versions to v14.18.2 or v16.13.1
35
+
5
36
  ## 1.2.0 (2021-12-01)
6
37
 
7
38
  ### Added
package/README.md CHANGED
@@ -7,7 +7,8 @@
7
7
 
8
8
  Homebridge plugin to integrate Flume devices into HomeKit
9
9
 
10
- [![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)
10
+ [![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)
11
+ [![hoobs-certified](https://badgen.net/badge/HOOBS/certified/yellow)](https://plugins.hoobs.org/plugin/homebridge-thermobit)
11
12
  [![npm](https://img.shields.io/npm/v/homebridge-flume/latest?label=latest)](https://www.npmjs.com/package/homebridge-flume)
12
13
  [![npm](https://img.shields.io/npm/v/homebridge-flume/beta?label=beta)](https://github.com/bwp91/homebridge-flume/wiki/Beta-Version)
13
14
  [![npm](https://img.shields.io/npm/dt/homebridge-flume)](https://www.npmjs.com/package/homebridge-flume)
@@ -39,17 +39,6 @@
39
39
  "required": true,
40
40
  "description": "Your Flume Client Secret, found at https://portal.flumetech.com."
41
41
  },
42
- "refreshInterval": {
43
- "title": "Refresh Interval",
44
- "type": "integer",
45
- "placeholder": 2,
46
- "description": "Number of minutes between updates. Must be 2 or more."
47
- },
48
- "disableDeviceLogging": {
49
- "type": "boolean",
50
- "title": "Disable Device Logging",
51
- "description": "Global logging setting for accessory status changes. If true then accessory status changes will not be logged."
52
- },
53
42
  "debug": {
54
43
  "title": "Debug Logging",
55
44
  "type": "boolean",
@@ -59,6 +48,17 @@
59
48
  "title": "Disable Plugin",
60
49
  "type": "boolean",
61
50
  "description": "If true, the plugin will remove all accessories and not load the plugin on restart."
51
+ },
52
+ "disableDeviceLogging": {
53
+ "type": "boolean",
54
+ "title": "Disable Device Logging",
55
+ "description": "Global logging setting for accessory status changes. If true then accessory status changes will not be logged."
56
+ },
57
+ "refreshInterval": {
58
+ "title": "Refresh Interval",
59
+ "type": "integer",
60
+ "placeholder": 2,
61
+ "description": "Number of minutes between updates. Must be 2 or more."
62
62
  }
63
63
  }
64
64
  },
@@ -66,14 +66,14 @@
66
66
  {
67
67
  "type": "fieldset",
68
68
  "title": "Required Settings",
69
- "items": ["username", "password", "clientId", "clientSecret"]
69
+ "items": ["username", "password", "clientId", "clientSecret", "debug", "disablePlugin"]
70
70
  },
71
71
  {
72
72
  "type": "fieldset",
73
- "title": "Optional Settings",
74
- "description": "Optional settings for the plugin, including global logging settings.",
73
+ "title": "Advanced Settings",
74
+ "description": "Advanced settings for the plugin, including refresh options.",
75
75
  "expandable": true,
76
- "items": ["refreshInterval", "disableDeviceLogging", "debug", "disablePlugin"]
76
+ "items": ["disableDeviceLogging", "refreshInterval"]
77
77
  }
78
78
  ]
79
79
  }
package/lib/index.js CHANGED
@@ -38,11 +38,12 @@ class FlumePlatform {
38
38
 
39
39
  // Log some environment info for debugging
40
40
  this.log(
41
- '%s v%s | Node %s | HB v%s%s...',
41
+ '%s v%s | Node %s | HB v%s | HAPNodeJS v%s%s...',
42
42
  this.lang.initialising,
43
43
  plugin.version,
44
44
  process.version,
45
45
  api.serverVersion,
46
+ api.hap.HAPLibraryVersion ? api.hap.HAPLibraryVersion() : '?',
46
47
  config.plugin_map
47
48
  ? ' | HOOBS v3'
48
49
  : require('os')
@@ -9,10 +9,10 @@ module.exports = {
9
9
  password: '',
10
10
  clientId: '',
11
11
  clientSecret: '',
12
- refreshInterval: 1,
13
- disableDeviceLogging: false,
14
12
  debug: false,
15
13
  disablePlugin: false,
14
+ disableDeviceLogging: false,
15
+ refreshInterval: 1,
16
16
  platform: 'Flume'
17
17
  },
18
18
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "homebridge-flume",
3
3
  "alias": "Flume",
4
- "version": "1.2.0",
4
+ "version": "1.2.4",
5
5
  "author": {
6
6
  "name": "Ben Potter",
7
7
  "email": "bwp91@icloud.com"
@@ -23,8 +23,8 @@
23
23
  "water leak detector"
24
24
  ],
25
25
  "engines": {
26
- "homebridge": "^1.3.8",
27
- "node": "^14.18.1 || ^16.13.0"
26
+ "homebridge": "^1.3.9",
27
+ "node": "^14.18.3 || ^16.13.2"
28
28
  },
29
29
  "repository": {
30
30
  "type": "git",