Git Product home page Git Product logo

homebridge-udp-sender's Introduction

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

Name Value Required Notes
accessory "Udp-Sender" yes Must be set to "Udp-Sender" and is required.
name (custom) yes Name of accessory that will appear in homekit app and is required.
ip "10.0.0.6" yes Must be set to the IP of your UDP Client and is required.
on_msg "R11" yes Must be set to the message to turn something on and is required.
off_msg "R10" yes Must be set to the message to turn something off and is required
state_msg "R1?" yes Must 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?"
   }
 ]

homebridge-udp-sender's People

Contributors

sinclair81 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.