RFXMitter (Transmitter) HE

Forum about Domotiga Open Source Home Automation for Linux.

Moderator: RDNZL

Post Reply
sirius324
Starting Member
Starting Member
Posts: 5
Joined: Sun Oct 17, 2010 12:27 pm

RFXMitter (Transmitter) HE

Post by sirius324 »

Hello,

I've recently purchased a RFXCOM and i'm trying to use it together with Domotiga (Domitica).
When using the RFXCOM supplied software I'm able to transmit HE Signals, while in Domotiga i'm only able to select HE Protocol for RECEIVING.

The KAKU AWST 8802 supports receiving HE signals, if i'm chaning the interface from "Receciver" to "Transmitter" i'm getting a error message that this interface does not support sending HE signals, while it works using RFXCOM's supplied client.

Any ideas?? :-).

Thank you in advance!
User avatar
RDNZL
Forum Moderator
Forum Moderator
Posts: 1008
Joined: Sun Sep 24, 2006 1:45 pm
Location: Dordrecht, The Netherlands
Contact:

Re: RFXMitter (Transmitter) HE

Post by RDNZL »

The KAKU AWST 8802 only sends signals, it cannot receive anything.
What do you mean exactly?
Regards, Ron.
User avatar
RDNZL
Forum Moderator
Forum Moderator
Posts: 1008
Joined: Sun Sep 24, 2006 1:45 pm
Location: Dordrecht, The Netherlands
Contact:

Re: RFXMitter (Transmitter) HE

Post by RDNZL »

There is also an issue that protocols differ between modules in domotiga for receiver and rfxmitter.
I have to straigthen that out some day, so it could be that you need to select/define another protocol for the rfxmitter device, than the one for rfxreceiver.
Regards, Ron.
sirius324
Starting Member
Starting Member
Posts: 5
Joined: Sun Oct 17, 2010 12:27 pm

Re: RFXMitter (Transmitter) HE

Post by sirius324 »

Hello Ron,

Can you give me some guidance where I have to change what in order to get the XMitter with the AC /HE protocol?
I could think of creating a new device type.

I've had a look at CRFXCOM.class and I think I need to do some adjustments in order to be allowed to send the following Code:
--> 03F46A Unit=3
I've been fishing abit in the MySQL Database myself and I've added sending capabilities to the RFXMitter in the table interfaces.

What the best way to proceed? :)

Christian
sirius324
Starting Member
Starting Member
Posts: 5
Joined: Sun Oct 17, 2010 12:27 pm

Re: RFXMitter (Transmitter) HE

Post by sirius324 »

I've done some debugging back and forth, here are my results:

Following information has been retrieved with RFXMitter and Wireshark:

*Wiresharked Data to RFXCOM* / Adress that is visible in RFXTransmitter
21 00 3f bf 81 00 / HE Device=000FEFE Unit=2 OFF
21 00 3f ff c1 00 / HE Device=000FFFF Unit=2 OFF
21 00 00 00 01 00 / HE Device=0000000 Unit=2 OFF
21 00 00 00 00 00 / HE Device=0000000 Unit=1 OFF
21 00 00 00 10 00 / HE Device=0000000 Unit=1 ON
21 00 00 00 40 00 / HE Device=0000001 Unit=1 OFF
21 00 00 00 50 00 / HE Device=0000001 Unit=1 ON
21 00 00 00 90 00 / HE Device=0000002 Unit=1 ON
21 00 00 00 80 00 / HE Device=0000002 Unit=1 OFF
21 0f c1 1a 82 00 / HE Device=03F046A Unit=3 OFF
22 0f c1 1a 82 00 / HE EU Device=03F046A Unit=3 OFF

After that I've started to have a look athe the packages that RFXCOM retrieves from Domotiga Server,
i've defined my device as he HEEU device, since i've had there the possiblity to change the address freely. Issu there is that the HEEU device has a preamble of *22*, but I really require a *21* preamble and different Unit encoding... so that was not a success. :-/.

Anybody else an idea?
sirius324
Starting Member
Starting Member
Posts: 5
Joined: Sun Oct 17, 2010 12:27 pm

Re: RFXMitter (Transmitter) HE

Post by sirius324 »

in CRFXComTX.class I found the following code:

Code: Select all

290	      CASE "HEEU", "AC", "HE" ' HomeEasy EU protocol, AC and HomeEasy UK/KAKU without codewheel
291	        IF Left$(sAddress, 1) LIKE "[A-Z]" AND Right$(sAddress, 1) LIKE "[0-9]" THEN
292	          HEEU(sAddress, Main.sRFXComTXACAddress1, Main.sRFXComTXACAddress2, sCmd, iDeviceId)
this looks to be like a BUG, since we should preamble HEEU packages with 22 and HE packages with 21 for RFXCOM.
Only question is, how to fix this nicely? Create a new HE(sAddress, Main.sRFXComTXACAddress1, Main.sRFXComTXACAddress2, sCmd, iDeviceId) method with the same code has HEEU(*) or just a new parameter to HEEU() method? :-).

Any thoughts?
xiolo
Starting Member
Starting Member
Posts: 5
Joined: Sun Nov 20, 2011 11:51 am

Re: RFXMitter (Transmitter) HE

Post by xiolo »

Same issue here.

The code is still broken in the latest version of domotiga, and I had to configure my dimmable plug as a ARC rather than HE to make it work.

Any updates on how/when tis could be fixed for HE devices with a "learning" button?

Thanks
User avatar
RDNZL
Forum Moderator
Forum Moderator
Posts: 1008
Joined: Sun Sep 24, 2006 1:45 pm
Location: Dordrecht, The Netherlands
Contact:

Re: RFXMitter (Transmitter) HE

Post by RDNZL »

xiolo wrote:Same issue here.

The code is still broken in the latest version of domotiga, and I had to configure my dimmable plug as a ARC rather than HE to make it work.

Any updates on how/when tis could be fixed for HE devices with a "learning" button?

Thanks
I will investigate this and fix it...
Regards, Ron.
User avatar
RDNZL
Forum Moderator
Forum Moderator
Posts: 1008
Joined: Sun Sep 24, 2006 1:45 pm
Location: Dordrecht, The Netherlands
Contact:

Re: RFXMitter (Transmitter) HE

Post by RDNZL »

Found the problem and will update it soon.
Regards, Ron.
User avatar
RDNZL
Forum Moderator
Forum Moderator
Posts: 1008
Joined: Sun Sep 24, 2006 1:45 pm
Location: Dordrecht, The Netherlands
Contact:

Re: RFXMitter (Transmitter) HE

Post by RDNZL »

Can you try version 0.1.202?
Please look at the new example address in device editor for AC/HE devices.
It's similar to address format used in RFXmitter.exe now.
Regards, Ron.
Post Reply

Return to “DomotiGa Forum”