homebridge-rfxcom-accessories
TypeScript icon, indicating that this package has built-in type declarations

2.5.0 • Public • Published

Homebridge RFXCOM Accessories

This Homebridge plugin allows to control devices compatible with RFXCOM.
Here is the list of implemented devices:

  • RFY (Somfy RTS)
  • Weather sensors

How to use

You can add this plugin to your Homebridge instance by adding the following npm package:

npm install homebridge-rfxcom-accessories

Configuration

Global configuration of this plugin containing Homebridge parameters and RFXCOM parameters.

{
  "name": "Somfy RFXCOM",
  "platform": "RFXCOMAccessories",
  "tty": "/dev/ttyUSB0",
  "debug": false
}

Devices

RFXCOM can handle multiple type of devices and each one have its own configuration.

RFY (Somfy RTS)

RFY Somfy RTS can control blinds, awning, ...
You need to associate first your RFXCOM to the wanted device with an external tool.
You can use Domoticz to setup your RFXCOM or the official tool RFXMngr running only on Windows.

{
  "devices": {
    "rfy": [
      {
        "name": "Store",
        "deviceId": "0x000610/1",
        "openCloseDurationSeconds": "20",
        "forceCloseAtStartup": true
      }
    ]
  }
}

Weather sensors

RFXCOM can receive broadcast values by sensors.
You can find supported devices here.

You need to discover devices by cheking Homebridge logs.
You will see an info log WeatherSensor event received: followed by event values.
Finally, you'll be able to configure in plugin Settings the wanted WeatherSensor device with name and id.

{
  "devices": {
    "weatherSensors": [
      {
        "name": "Salon",
        "id": "0x7201"
      }
    ]
  }
}

Switch on/off

You can create a switch for devices that supports on/off commands.
Supported devices are here (needs switchOn and switchOff commands).

You can find type and subtype here.
The subtype is the index of your device in the array.
For example, with ELRO AB400D device, the right configuration will be:

  • type Lighting1
  • subtype 2

For id, you'll find all the documentation here.

{
  "devices": {
    "switch": [
      {
        "name": "Fan",
        "type": "Lighting1",
        "subtype": "2",
        "id": "A 1",
        "forceOffAtStartup": true
      }
    ]
  }
}

Package Sidebar

Install

npm i homebridge-rfxcom-accessories

Weekly Downloads

6

Version

2.5.0

License

MIT

Unpacked Size

63.4 kB

Total Files

32

Last publish

Collaborators

  • loick111