homebridge-easy-mqtt 1.4.0-beta.4 → 1.4.0-beta.6
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 +2 -3
- package/README.md +54 -23
- package/config.schema.json +384 -31
- package/dist/accessory/abstract/helper.js +6 -0
- package/dist/accessory/abstract/helper.js.map +1 -1
- package/dist/accessory/climate/active.d.ts +11 -0
- package/dist/accessory/climate/active.js +44 -0
- package/dist/accessory/climate/active.js.map +1 -0
- package/dist/accessory/climate/heaterCooler.d.ts +2 -6
- package/dist/accessory/climate/heaterCooler.js +3 -37
- package/dist/accessory/climate/heaterCooler.js.map +1 -1
- package/dist/accessory/climate/purifier.d.ts +19 -0
- package/dist/accessory/climate/purifier.js +112 -0
- package/dist/accessory/climate/purifier.js.map +1 -0
- package/dist/accessory/climate/{climate.d.ts → temperatureControl.d.ts} +3 -2
- package/dist/accessory/climate/{climate.js → temperatureControl.js} +7 -5
- package/dist/accessory/climate/temperatureControl.js.map +1 -0
- package/dist/accessory/climate/thermostat.d.ts +2 -2
- package/dist/accessory/climate/thermostat.js +3 -2
- package/dist/accessory/climate/thermostat.js.map +1 -1
- package/dist/accessory/valve.d.ts +14 -0
- package/dist/accessory/valve.js +71 -0
- package/dist/accessory/valve.js.map +1 -0
- package/dist/homebridge-ui/public/index.html +1 -1
- package/dist/homebridge-ui/public/ui.js +1 -1
- package/dist/i18n/en.d.ts +52 -0
- package/dist/i18n/en.js +54 -2
- package/dist/i18n/en.js.map +1 -1
- package/dist/i18n/fr.d.ts +52 -0
- package/dist/i18n/i18n.d.ts +52 -0
- package/dist/i18n/template.d.ts +52 -0
- package/dist/model/enums.d.ts +17 -2
- package/dist/model/enums.js +16 -0
- package/dist/model/enums.js.map +1 -1
- package/dist/model/types.d.ts +51 -21
- package/package.json +1 -1
- package/dist/accessory/climate/climate.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to homebridge-dummy will be documented in this file.
|
|
4
4
|
|
|
5
|
-
## 1.4.0-beta.
|
|
5
|
+
## 1.4.0-beta.6 (2025-09-18)
|
|
6
6
|
|
|
7
7
|
### Added
|
|
8
|
-
- Support for HeaterCooler
|
|
9
|
-
- Support for LightSensor
|
|
8
|
+
- Support for Air Purifier, HeaterCooler, LightSensor, and Valve
|
|
10
9
|
|
|
11
10
|
### Changed
|
|
12
11
|
- Optimized MQTT connections by sharing across multiple accessories when possible
|
package/README.md
CHANGED
|
@@ -188,7 +188,7 @@ As with topics, you will also need to populate the appropriate values based on t
|
|
|
188
188
|
- `topicGetCurrentTemperature*` - The current temperature of the sensor
|
|
189
189
|
- `temperatureUnits` - The temperature units of the incoming value supplied by the sensor, `C` for Celsius (default) `F` for Fahrenheit
|
|
190
190
|
|
|
191
|
-
###
|
|
191
|
+
### Temperature Control
|
|
192
192
|
- `temperatureUnits` - The temperature units of the incoming value supplied by the thermostat, `C` for Celsius (default) `F` for Fahrenheit
|
|
193
193
|
- `topicGetCurrentTemperature*` - Get the current temperature
|
|
194
194
|
- `topicGetCoolingThresholdTemperature` - Get the cooling threshold temperature
|
|
@@ -196,12 +196,24 @@ As with topics, you will also need to populate the appropriate values based on t
|
|
|
196
196
|
- `topicGetHeatingThresholdTemperature` - Get the heating threshold temperature
|
|
197
197
|
- `topicSetHeatingThresholdTemperature` - Set the heating threshold temperature
|
|
198
198
|
|
|
199
|
-
####
|
|
199
|
+
#### Thermostat
|
|
200
|
+
- `topicGetCurrentHeatingCoolingState*` - Get the current mode (i.e. cooling, heating, off)
|
|
201
|
+
- `topicGetTargetHeatingCoolingState*` - Get the target mode (i.e. auto, cooling, heating, off)
|
|
202
|
+
- `topicSetTargetHeatingCoolingState*` - Set the target mode (i.e. auto, cooling, heating, off)
|
|
203
|
+
- `topicGetTargetTemperature*` - Get the target temperature
|
|
204
|
+
- `topicSetTargetTemperature*` - Set the target temperature
|
|
205
|
+
- `topicGetCurrentRelativeHumidity` - Get the current humidity
|
|
206
|
+
- `topicGetTargetRelativeHumidity` - Get the target humidity
|
|
207
|
+
- `topicSetTargetRelativeHumidity` - Set the target humidity
|
|
208
|
+
- `valueModeAuto` - Auto mode
|
|
209
|
+
- `valueModeCool` - Cool mode
|
|
210
|
+
- `valueModeHeat` - Heat mode
|
|
211
|
+
- `valueModeOff` - Thermostat off
|
|
212
|
+
|
|
213
|
+
### Active Climate Control
|
|
214
|
+
`Temperature Control` topics above plus…
|
|
200
215
|
- `topicGetActive*` - Get whether or not the accessory is currently active
|
|
201
216
|
- `topicSetActive*` - Set whether or not the accessory is currently active
|
|
202
|
-
- `topicGetCurrentHeaterCoolerState*` - Get the current mode (i.e. inactive, idle, heating, cooling)
|
|
203
|
-
- `topicGetTargetHeaterCoolerState*` - Get the target mode (i.e. auto, heat, cool)
|
|
204
|
-
- `topicSetTargetHeaterCoolerState*` - Set the target mode (i.e. auto, heat, cool)
|
|
205
217
|
- `topicGetLockPhysicalControls` - Get whether or not the physical controls are locked
|
|
206
218
|
- `topicSetLockPhysicalControls` - Set whether or not the physical controls are locked
|
|
207
219
|
- `topicGetRotationSpeed` - Get the rotation speed as a percentage
|
|
@@ -210,29 +222,30 @@ As with topics, you will also need to populate the appropriate values based on t
|
|
|
210
222
|
- `topicSetSwingMode` - Set whether or not accessory is oscillating
|
|
211
223
|
- `valueStateActive*` - Accessory is currently active
|
|
212
224
|
- `valueStateInactive*` - Accessory is currently inactive
|
|
213
|
-
- `valueModeAuto` - Mode is auto
|
|
214
|
-
- `valueModeCool` - Mode is cool/cooling
|
|
215
|
-
- `valueModeHeat` - Mode is heat/heating
|
|
216
|
-
- `valueModeIdle` - Mode is idle
|
|
217
|
-
- `valueModeInactive` - Mode is inactive
|
|
218
225
|
- `valueControlLock` - Physical controls are locked
|
|
219
226
|
- `valueControlUnlock` - Physical controls are unlocked
|
|
220
227
|
- `valueSwingEnabled` - Accessory is oscillating
|
|
221
228
|
- `valueSwingDisabled` - Accessory is not oscillating
|
|
222
229
|
|
|
223
|
-
####
|
|
224
|
-
- `
|
|
225
|
-
- `
|
|
226
|
-
- `
|
|
227
|
-
- `
|
|
228
|
-
- `
|
|
229
|
-
- `
|
|
230
|
-
- `
|
|
231
|
-
- `
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
- `
|
|
235
|
-
- `
|
|
230
|
+
#### Air Purifier
|
|
231
|
+
- `topicGetCurrentPurifierState*` - Get the current mode (i.e. inactive, idle, purifying)
|
|
232
|
+
- `topicGetTargetPurifierState*` - Get the target mode (i.e. auto, manual)
|
|
233
|
+
- `topicSetTargetPurifierState*` - Set the target mode (i.e. auto, manual)
|
|
234
|
+
- `valueModeAuto` - Auto target mode
|
|
235
|
+
- `valueModeIdle` - Idle mode
|
|
236
|
+
- `valueModeInactive` - Inactive mode
|
|
237
|
+
- `valueModeManual` - Manual target mode
|
|
238
|
+
- `valueModePurifying` - Purifying mode
|
|
239
|
+
|
|
240
|
+
#### HeaterCooler
|
|
241
|
+
- `topicGetCurrentHeaterCoolerState*` - Get the current mode (i.e. inactive, idle, heating, cooling)
|
|
242
|
+
- `topicGetTargetHeaterCoolerState*` - Get the target mode (i.e. auto, heat, cool)
|
|
243
|
+
- `topicSetTargetHeaterCoolerState*` - Set the target mode (i.e. auto, heat, cool)
|
|
244
|
+
- `valueModeAuto` - Mode is auto
|
|
245
|
+
- `valueModeCool` - Mode is cool/cooling
|
|
246
|
+
- `valueModeHeat` - Mode is heat/heating
|
|
247
|
+
- `valueModeIdle` - Mode is idle
|
|
248
|
+
- `valueModeInactive` - Mode is inactive
|
|
236
249
|
|
|
237
250
|
### Others
|
|
238
251
|
|
|
@@ -258,6 +271,24 @@ As with topics, you will also need to populate the appropriate values based on t
|
|
|
258
271
|
- `valueFault` - Accessory has a fault
|
|
259
272
|
- `valueTampered` - Accessory has been tampered with
|
|
260
273
|
|
|
274
|
+
#### Valve
|
|
275
|
+
- `valveType` - One of `GENERIC_VALVE` (default), `IRRIGATION`, `SHOWER_HEAD`, or `WATER_FAUCET`
|
|
276
|
+
- `topicGetValveActive*` - For getting whether or not the valve is active
|
|
277
|
+
- `topicSetValveActive*` - For setting whether or not the valve is active
|
|
278
|
+
- `topicGetValveInUse*` - For getting whether or not the valve is in use
|
|
279
|
+
- `topicGetStatusFault` - For getting whether or not there is a fault
|
|
280
|
+
- `topicGetValveIsConfigured` - For getting wether or not valve is configured
|
|
281
|
+
- `topicSetValveIsConfigured` - For setting wether or not valve is configured
|
|
282
|
+
- `topicGetValveSetDuration` - For getting the set duration in seconds
|
|
283
|
+
- `topicSetValveSetDuration` - For setting the set duration in seconds
|
|
284
|
+
- `topicGetValveRemainingDuration` - For getting the time remaining in seconds
|
|
285
|
+
- `valueActive*` - Valve is active, e.g. "true", or "1", or "active"
|
|
286
|
+
- `valueInactive*` - Valve is not active e.g. "false", or "0", or "active"
|
|
287
|
+
- `valueInUse*` - Valve is in use, e.g. "true", or "1", or "used"
|
|
288
|
+
- `valueConfigured` - Valve is configured, e.g. "true", or "1", or "configured"
|
|
289
|
+
- `valueNotConfigured` - Valve is not configured, e.g. "false", or "0", or "unconfigured"
|
|
290
|
+
- `valueFault` - Valve has a fault, e.g. "error", or "-1"
|
|
291
|
+
|
|
261
292
|
## Logging/Debugging:
|
|
262
293
|
|
|
263
294
|
By default, devices will log activity, for example when a Switch is turned on or a LockMechanism is unlocked.
|