UDP server light sensor plugin for Homebridge
npm install homebridge-udp-lightsensorUDP server light sensor input plugin for Homebridge
npm install -g homebridgenpm install -g homebridge-udp-lightsensoraccessory: "UdpLightSensor"name: descriptive namelisten_port: UDP port to listen on for incoming messagesExample configuration:
``json``
"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