RFXcom - a little help

1,265 views
Skip to first unread message

jeremys...@googlemail.com

unread,
Jun 30, 2013, 10:44:58 AM6/30/13
to ope...@googlegroups.com
Ok, bit of a noob here, but I'm trying to set up my RFXcom (433) device. I can't figure out how to add devices onto it (got a load of Homeeasy etc type devices that are as yet unmarried to anything). 

Wondering if I might need to do this in RFXmngr app, but I can't even get into that! At a guess it's maybe because I don't have a window manager on my server, it's inaccessible and I do everything on it via SSH. I've installed mono-complete but it still generates errors if I try to launch the app.

I've also got a Mac, and I've considered plugging into that, but I don't really want to start putting loads of VB runtimes on it if I don't have to.

Any pointers, is this even achievable from Linux CLI?

David

unread,
Jul 2, 2013, 9:43:52 AM7/2/13
to ope...@googlegroups.com, jeremys...@googlemail.com
Hi Jeremy,

The rfxmngr app is very usefull to detemine the configuration for the rfx transmitter. But unfortunately only available in windows.
You can also try the rfxcom binding in openHAB. You need to set the following parameters in openhab.cfg:
  • rfxcom:serialPort=/dev/tty<your usb>
  • rfxcom:setMode=0D01000403534000000F01000000  (this supports the following protocols: X10,ARC,AC,HomeEasy EU)

And add the rfxcom binding to the addons directory.
If you start openHAB you should see rfxcom messages. If you run in debug mode (<logger name="org.openhab.binding.rfxcom" level="DEBUG" />) you should see the HomeEasy messages in the log.

Regards,
David


Op zondag 30 juni 2013 16:44:58 UTC+2 schreef jeremys...@googlemail.com het volgende:

jeremy...@telius.co.uk

unread,
Jul 2, 2013, 9:51:10 AM7/2/13
to ope...@googlegroups.com, jeremys...@googlemail.com
Thanks David. So if I can see the HomeEasy messages, how do I go about adding them to the system? (Sorry, new to this!) - is it that they send out a unique ID, and that I need to send that ID to them to toggle or something like that? Sorry if this is a dumb question ;)

David

unread,
Jul 2, 2013, 2:51:28 PM7/2/13
to ope...@googlegroups.com, jeremys...@googlemail.com, jeremy...@telius.co.uk
The wiki has a nice explanation for the configuration of items.
http://code.google.com/p/openhab/wiki/RFXCOMBinding

Op dinsdag 2 juli 2013 15:51:10 UTC+2 schreef jeremy...@telius.co.uk het volgende:

jeremys...@googlemail.com

unread,
Jul 5, 2013, 10:06:22 AM7/5/13
to ope...@googlegroups.com, jeremys...@googlemail.com
Sorry to sound dumb, but where to I put that XML tag for the debug mode?


On Tuesday, 2 July 2013 14:43:52 UTC+1, David wrote:

jeremys...@googlemail.com

unread,
Jul 5, 2013, 10:50:11 AM7/5/13
to ope...@googlegroups.com, jeremys...@googlemail.com
Ah just found it, logback.xml - yes that figures :)

jeremys...@googlemail.com

unread,
Jul 5, 2013, 10:51:38 AM7/5/13
to ope...@googlegroups.com, jeremys...@googlemail.com
Wohoo! :) 

15:48:28.311 DEBUG o.o.b.r.i.RFXComConnection[:133] - Data received:
Raw data = 0B1100020046573E03010F70
 - Packet type = LIGHTING2
 - Seq number = 2
 - Sub type = AC
 - Id = 4609854
 - Unit code = 3
 - Command = ON
 - Dim level = 15
 - Signal level = 7

jeremys...@googlemail.com

unread,
Jul 5, 2013, 2:29:01 PM7/5/13
to ope...@googlegroups.com, jeremys...@googlemail.com
Ok making some progress now. I think I'm just missing part of the logic somewhere - I've got in my items file:

Switch he_cont_1 { rfxcom="<4609854.1:Command" }


This works fine in that when I use the remote control it toggles the status on the openhab console. But when I toggle the switch on the UI defined as:


Switch item=he_cont_1


It just tells me that there is no provider in the binding. I'm guessing that I need to define the 'out' statement as per the info on the binding page, but I'm unclear where I need to allocate this. I've tried putting it like  


rfxcom="<4609854.1:Command, >4609854.1:Command"    


but it doesn't like it. Do I have to also create a rule? I was guessing not as the switch has the same name on the UI, but I might just be confusing myself..?





19:13:02.958 WARN  o.o.b.r.internal.RFXComBinding[:225] - Provider is not in binding 'org.openhab.binding.rfxcom.internal.RFXComGenericBindingProvider@f3cf72'

Pauli Anttila

unread,
Jul 5, 2013, 2:42:36 PM7/5/13
to ope...@googlegroups.com
There was pretty much the same discussion yesterday in another thread...


Br,
Pali

--
You received this message because you are subscribed to the Google Groups "openhab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openhab+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Visit this group at http://groups.google.com/group/openhab.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

jeremys...@googlemail.com

unread,
Jul 6, 2013, 8:19:46 AM7/6/13
to ope...@googlegroups.com
Very similar indeed! Thanks Pali, hadn't spotted that... :)
Pali

To unsubscribe from this group and stop receiving emails from it, send an email to openhab+unsubscribe@googlegroups.com.

jeremys...@googlemail.com

unread,
Jul 5, 2013, 10:00:02 AM7/5/13
to ope...@googlegroups.com, jeremys...@googlemail.com
This is what I've had from RFXcom:

The HomeEasy plug scan hold up to 6 remotes. (if unused remotes are
programmed reset the module to remove all paired remotes)
I suppose it is possible to create a HomeEasy (AC code) device in OpenHAB.
Configure a random ID and unit number for the module,
Put the module in learning mode,
Transmit an ON command in OpenHAB. The unit is now paired.
Note: do not use HomeEasy EU in the UK because this is a totally different
protocol used by HomeEasy on the main land.
Ask the developers of OpenHAB to add debug mode so that you are able to see
the commands received.


On Sunday, 30 June 2013 15:44:58 UTC+1, jeremys...@googlemail.com wrote:
Reply all
Reply to author
Forward
0 new messages