0.0.4 • Published 3 years ago

@poblouin/homebridge-people-mqtt v0.0.4

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 years ago

Homebridge People MQTT plugin

This plugin is used to detect occupancy using network devices like phones, watches and others. It syncs the state in a MQTT broker.

This is for my personnal use, but I let the repo public if it could be of use to someone else.

Config

You'll find the most up to date config in src/config.ts.

This is the basic config you should provide to this plugin to work.

interface INetworkDevice {
    name: string;
    ip: string;
    mac: string;
}

interface IPeopleMqttConfig extends PlatformConfig {
    brokerClientOptions: IClientOptions;
    devices: Array<INetworkDevice>;
    enableAnySensor?: boolean; // defaults to false
    enableNoneSensor?: boolean; // defaults to false
    pollingIntervalMs?: number; // defaults to 5 minutes
}

Note: You will find the IClientOptions on the MQTT library's documentation

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago

1.0.0

3 years ago