homebridge-udp-lightsensor

1.0.1 • Public • Published

homebridge-udp-lightsensor

UDP server light sensor input plugin for Homebridge

Installation

  1. Install Homebridge using npm install -g homebridge
  2. Install this plugin npm install -g homebridge-udp-lightsensor
  3. Update your configuration file - see below for an example

Configuration

  • accessory: "UdpLightSensor"
  • name: descriptive name
  • listen_port: UDP port to listen on for incoming messages

Example configuration:

    "accessories"[
        {
            "accessory": "UdpLightSensor",
            "name": "Lighting",
            "listen_port": 8267
        }
    ]

Creates a LightSensor service named Lighting.

Listens for UDP datagrams on port 8267, and reports the light level as the payload interpreted as an ASCII string representing the light level in lux.

See also

License

MIT

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i homebridge-udp-lightsensor

      Weekly Downloads

      2

      Version

      1.0.1

      License

      MIT

      Last publish

      Collaborators

      • rxseger