Energenie ENER314-RT Two-way Pi-mote plugin for the Homebridge project based on homebridge-platform-energenie.
Uses pyenergie to control ENER314-RT.
- Install homebridge using:
npm install -g homebridge
- Install this plugin using:
npm install -g homebridge-platform-ener314-rt
- Update your configuration file. See the sample below.
Configuration sample:
delay
is the time in milliseconds between each command. As Pi-mote can only send one command at the time, this allows things like scenes with multiple commands to work by queueing the commands.
switches
is the list of the commands to send for turning sockets on/off.
Note: Some sockets may respond only to on
commands and turning on/off is done by using different socket id (usually when n
is for on then n+1
is for off).
{
"bridge": {
"name": "#####",
"username": "",
"port": 51826,
"pin": ""
},
"description": "",
"platforms": [
{
"platform": "ENER314-RT",
"name": "ENER314-RT Platform",
"delay": 500,
"switches": [
{
"name" : "Switch One",
"socket": 1
}
]
}
]
}
Credit goes to
Published under the MIT License.