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
accessory
: "UdpLightSensor"name
: descriptive namelisten_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.
- cooper for sending UDP packets on ADC input change from an ESP8266
- homebridge-analog-lightsensor
- homebridge-udp-contactsensor
- homebridge-gpio-cmd etc. for GPIO outputs
- homebridge-pwm-fan
MIT