Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@

All notable changes to `@homebridge/hap-nodejs` will be documented in this file. This project tries to adhere to [Semantic Versioning](http://semver.org/).

## v2.1.1 (Pending Release)

### Changes

- chore: update hap characteristics and services

### Homebridge Dependencies

- `@homebridge/ciao` @ `v1.3.5`
- `@homebridge/dbus-native` @ `v0.7.3`
- `bonjour-hap` @ `v3.10.0`

## v2.1.1 (2026-03-21)

### Changes
Expand Down
5 changes: 5 additions & 0 deletions src/lib/Characteristic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ import type {
PM2_5Density,
PositionState,
PowerModeSelection,
PreferredWiFiList,
ProductData,
ProgrammableSwitchEvent,
ProgrammableSwitchOutputState,
Expand Down Expand Up @@ -1210,6 +1211,10 @@ export class Characteristic extends EventEmitter {
* @group Characteristic Definitions
*/
public static PowerModeSelection: typeof PowerModeSelection;
/**
* @group Characteristic Definitions
*/
public static PreferredWiFiList: typeof PreferredWiFiList;
/**
* @group Characteristic Definitions
*/
Expand Down
6 changes: 6 additions & 0 deletions src/lib/definitions/CharacteristicDefinitions.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -808,6 +808,12 @@ describe("CharacteristicDefinitions", () => {
});
});

describe("PreferredWiFiList", () => {
it("should be able to construct", () => {
new Characteristic.PreferredWiFiList();
});
});

describe("ProductData", () => {
it("should be able to construct", () => {
new Characteristic.ProductData();
Expand Down
19 changes: 18 additions & 1 deletion src/lib/definitions/CharacteristicDefinitions.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// THIS FILE IS AUTO-GENERATED - DO NOT MODIFY
// V=887
// V=888

import { Access, Characteristic, Formats, Perms, Units } from "../Characteristic";

Expand Down Expand Up @@ -2708,6 +2708,23 @@ export class PowerModeSelection extends Characteristic {
}
Characteristic.PowerModeSelection = PowerModeSelection;

/**
* Characteristic "Preferred Wi-Fi List"
*/
export class PreferredWiFiList extends Characteristic {

public static readonly UUID: string = "0000022E-0000-1000-8000-0026BB765291";

constructor() {
super("Preferred Wi-Fi List", PreferredWiFiList.UUID, {
format: Formats.TLV8,
perms: [Perms.NOTIFY, Perms.PAIRED_READ, Perms.PAIRED_WRITE],
});
this.value = this.getDefaultValue();
}
}
Characteristic.PreferredWiFiList = PreferredWiFiList;

/**
* Characteristic "Product Data"
*/
Expand Down
3 changes: 2 additions & 1 deletion src/lib/definitions/ServiceDefinitions.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// THIS FILE IS AUTO-GENERATED - DO NOT MODIFY
// V=887
// V=888

import { Characteristic } from "../Characteristic";
import { Service } from "../Service";
Expand Down Expand Up @@ -1581,6 +1581,7 @@ export class WiFiTransport extends Service {
this.addCharacteristic(Characteristic.WiFiCapabilities);

// Optional Characteristics
this.addOptionalCharacteristic(Characteristic.PreferredWiFiList);
this.addOptionalCharacteristic(Characteristic.WiFiConfigurationControl);
}
}
Expand Down
Loading