UDP server light sensor input plugin for Homebridge
- Install Homebridge using
npm install -g homebridge
- Install this plugin
npm install -g homebridge-udp-lightsensor
- Update your configuration file - see below for an example
name: descriptive name
listen_port: UDP port to listen on for incoming messages
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.
- cooper for sending UDP packets on ADC input change from an ESP8266
- homebridge-gpio-cmd etc. for GPIO outputs