Skip to content

Modbus protocol integration to homebridge for light controll

Notifications You must be signed in to change notification settings

mysty0/homebridge-modbus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Modbus Lights

Simple homebridge plugin for controlling lights or other switchable accessories through modbus tcp. You can register multiple floors with lights and specify their register and amount

Config example:

}  
  "platforms": [
    {
      "platform" : "ModbusLights",
      "name" : "modbus",
      "log": "./log/",
      "floors": [
        {
          "prefix": "Light ",
          "ip": "192.168.1.200",
          "register": 2,
          "count": 8
        },
        {
          "prefix": "Light 2-",
          "ip": "192.168.1.201",
          "register": 2,
          "count": 7
        }
      ]
    }
  ]
}
  • log - where the light log with all turn off and turn on events will be saved
  • prefix - prefix for light name for specific floor
  • ip - modbus ip address
  • register - modbus reigister index
  • count - amount of the bits that are lights

About

Modbus protocol integration to homebridge for light controll

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published