This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@poblouin/homebridge-people-mqtt
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

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

Package Sidebar

Install

npm i @poblouin/homebridge-people-mqtt

Weekly Downloads

4

Version

0.0.4

License

Apache-2.0

Unpacked Size

45.4 kB

Total Files

33

Last publish

Collaborators

  • poblouin