Skip to content

Commit

Permalink
Merge pull request #1 from digiltd/readme-updates
Browse files Browse the repository at this point in the history
bulked out the readme a bit
  • Loading branch information
digiltd authored Dec 9, 2017
2 parents a1a3227 + 2e3142e commit d437f91
Showing 1 changed file with 33 additions and 12 deletions.
45 changes: 33 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,30 @@
# RFXcomIdGenerator
Generate RFXcom ID for Home Assistant

# usage
generateId.py -t type -s subtype -p parameters
Generate RFXcom IDs for Home Assistant

As great as Home Assistant is, the RFXcom detection can be a little tricky. For example the remote that comes with the Energenie Wireless Sockets (4 pack) does not get picked up by the RFX. So when the docs say to set `automatic_add` to `True` and press the button on the remote, this doesn't do anything. Because the remote signal is not being received by RFX, there is no way it can be passed to Home Assistant.

To get around this you have to create a new switch in Hass and then pair the device to the new switch as if it was a new remote control. Usually this involves pressing and holding a button on the recieving device untill it goes into pairing mode, then "turn on" the new switch using the Hass UI.

This excellent script by [Sennevds](https://github.com/Sennevds) helps generate the the IDs required by Hass when adding the new switches.

## Usage

`generateId.py -t type -s subtype -p parameters`

e.g.

to generate a code for a Lighting1 type device using ARC subtype, set to housecode A unit code 3

`python generateId.py -t Lighting1 -s ARC -p A,3`

### Supported types:

types supported at this moment:
- Lighting1
- Lighting5

subtypes supported:
### Supported subtypes:

- X10
- AC
- LightwaveRF
Expand All @@ -32,10 +48,15 @@ subtypes supported:
- ProMax
- IT

parameters are a comma separated list depending on type:
- Lighting1:
- housecode
- unit ID
- Lighting5:
- id
- unit code

### Parameters are a comma separated list (no spaced) depending on type:

Lighting1: housecode,unitID

e.g. `-p A,3` or `-p A,1`

Lighting5: id,unit_code

## For more details

https://community.home-assistant.io/t/how-to-define-id-for-rfxcom-s-component/7788

0 comments on commit d437f91

Please sign in to comment.