Adding RFXcom device

Hi!

Does anyone have any experience setting up a RFXcom device? I tried to add a switch using both the hex and decimal ID, but both seem to be failing.

Log:
nov 23 17:42:17 raspberrypi hass[745]: INFO:homeassistant.components.light.rfxtrx:Add switch1 rfxtrx.light
nov 23 17:42:17 raspberrypi hass[745]: ERROR:homeassistant.components.light:Error while setting up platform rfxtrx
nov 23 17:42:17 raspberrypi hass[745]: Traceback (most recent call last):
nov 23 17:42:17 raspberrypi hass[745]: File “/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity_component.py”, line 136, in _setup_platform
nov 23 17:42:17 raspberrypi hass[745]: self.hass, platform_config, self.add_entities, discovery_info)
nov 23 17:42:17 raspberrypi hass[745]: File “/usr/local/lib/python3.4/dist-packages/homeassistant/components/light/rfxtrx.py”, line 29, in setup_platform
nov 23 17:42:17 raspberrypi hass[745]: rfxobject = rfxtrx.get_rfx_object(entity_info[‘packetid’])
nov 23 17:42:17 raspberrypi hass[745]: File “/usr/local/lib/python3.4/dist-packages/homeassistant/components/rfxtrx.py”, line 76, in get_rfx_object
nov 23 17:42:17 raspberrypi hass[745]: binarypacket = bytearray.fromhex(packetid)
nov 23 17:42:17 raspberrypi hass[745]: ValueError: non-hexadecimal number found in fromhex() arg at position 6

RFXcom details:
Packettype = Lighting2
subtype = AC
Sequence nbr = 3
ID = 0E510D6 decimal:15012054
Unit = 2
Command = Off
Signal level = 7 -64dBi

configuration.yaml
rfxtrx:
device: /dev/ttyUSB21
debug: True

light: # Note: As the switch identifies itself as “Lighting2” I decided to add “light”, also tried “switch”. Both return the same error.
platform: rfxtrx
devices:
switch1:
name: switch1
packetid: 0E510D6

Hi,

What your version of RFXTRX ? This issue can resolve your problem => github.com/balloob/home-assistant/issues/533 ?

Thanks
BA

It seems to be version 0.2 which was retrieved last week when I started working on this device.

As for the link. Checked that a couple of weeks ago, but not sure whether it has anything to do with my problem.

Final update: I started all over and reinstalled the Pi. I also noticed my RFXCOM device wasn’t using the latest firmware.

@scodie, So how did you manage to add rfxtrx devices?

Yes, it works fine now. Have replaced all wallswitched by kaku (click on, click off) switches and also added temperatur/humidy sensors.