0.1.3 • Published 6 years ago

homebridge-udp-sender v0.1.3

Weekly downloads
4
License
MIT
Repository
-
Last release
6 years ago

Homebridge-UDP-Sender

Send UDP packets e.g. to an ESP32 to control relays.

If you use Homebridge-UDP-Sender please donate: PayPal.Me/Sinclair81 !!

Installation

(Requires node >=6.0.0)

  1. Install homebridge using: sudo npm install -g --unsafe-perm homebridge
  2. Install homebridge-config-ui-x using: sudo npm install -g --unsafe-perm homebridge-config-ui-x
  3. Update your configuration file with this guide: https://smartapfel.de/homebridge/plugins-installieren/
  4. Install homebridge-udp-sender using: homebridge-config-ui-x's Webserver
  5. Update your configuration file with code like the sample below

Homebridge-UDP-Sender configuration parameters

NameValueRequiredNotes
accessory"Udp-Sender"yesMust be set to "Udp-Sender" and is required.
name(custom)yesName of accessory that will appear in homekit app and is required.
ip"10.0.0.6"yesMust be set to the IP of your UDP Client and is required.
on_msg"R11"yesMust be set to the message to turn something on and is required.
off_msg"R10"yesMust be set to the message to turn something off and is required
state_msg"R1?"yesMust be set to the message to get the state of something and is required.

Configuration

"accessories": [
    {
      "accessory": "Udp-Sender",
      "name": "Light 1",
      "ip": "10.0.0.6",
      "port": "5000",
      "on_msg": "R11",
      "off_msg": "R10",
      "state_msg": "R1?"
    },
    {
      "accessory": "Udp-Sender",
      "name": "LED Tree",
      "ip": "10.0.0.6",
      "port": "5000",
      "on_msg": "R71",
      "off_msg": "R70",
      "state_msg": "R7?"
   }
 ]
0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago