1.0.1 • Published 8 years ago

homebridge-udp-lightsensor v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

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