RFXCom Transciever & HE203 - Setting Dim level

Forum about Domotiga Open Source Home Automation for Linux.

Moderator: RDNZL

Post Reply
jdr0berts
Starting Member
Starting Member
Posts: 16
Joined: Fri Apr 13, 2012 1:17 pm

RFXCom Transciever & HE203 - Setting Dim level

Post by jdr0berts »

I have a HE203 fitted to a light and wish to switch it with the RFXCOm and Domotiga.

When using the rfx manager software and the AC lighting option to send commands, you can set the level (selectable from 1-16) to set the specific level of the light.

Is it possible to do this from Domotiga in anyway? I've tried setting a second parameter to Level, but all I end up with is the light going through a dimming cycle.

(I need to this to ensure the light switches on - if the light recieves an "On" command twice in succession, it goes into dimming mode where it cycles up and down through the dimming levels until it recieves another "On" command).

Cheers
James
mrqnapper
Member
Member
Posts: 234
Joined: Sat Jun 25, 2011 1:08 pm

Re: RFXCom Transciever & HE203 - Setting Dim level

Post by mrqnapper »

Hi, I experienced the same problem with this nice small device. As far as I know it is not "yet" possible to set the dim level for this device, I have as an "inbetween solution" that domotoga now first send an off command to the device and then after it is in the off position, it will send an on command to turn the device on. This works quit good. Since the device remembers the last dim level it will turn on in the same dim level as before. The only drawback is, that when the light is switched on manually, and domotiga performs the called event, the light will be off for a very short moment and returns on. Not ideal but it works.

To get a better system, I am now looking into, having these devices changed with some Fibaro z-wave switches to overcome this problem.
User avatar
b_weijenberg
Forum Moderator
Forum Moderator
Posts: 1744
Joined: Sun May 14, 2006 4:32 pm
Location: Netherlands

Re: RFXCom Transciever & HE203 - Setting Dim level

Post by b_weijenberg »

HomeEasy can be set to 16 dim levels using the RFXtrx433.
It can be done using the RFXmngr program and it should therefore also be possible to do this in DomotiGa.
User avatar
RDNZL
Forum Moderator
Forum Moderator
Posts: 1008
Joined: Sun Sep 24, 2006 1:45 pm
Location: Dordrecht, The Netherlands
Contact:

Re: RFXCom Transciever & HE203 - Setting Dim level

Post by RDNZL »

I will look into this..
Regards, Ron.
User avatar
b_weijenberg
Forum Moderator
Forum Moderator
Posts: 1744
Joined: Sun May 14, 2006 4:32 pm
Location: Netherlands

Re: RFXCom Transciever & HE203 - Setting Dim level

Post by b_weijenberg »

I can imagine that Ron could not buy all equipment supported by DomotiGa to test the functionalities.

For those who did not donate yet, at the bottom of this page http://www.domotiga.nl/ you will find the Papyal donate button ;-)
User avatar
RDNZL
Forum Moderator
Forum Moderator
Posts: 1008
Joined: Sun Sep 24, 2006 1:45 pm
Location: Dordrecht, The Netherlands
Contact:

Re: RFXCom Transciever & HE203 - Setting Dim level

Post by RDNZL »

Can you tell me a bit more about which devicetype you choose for that device in Domotiga, the address of device and what exactly happens, and what you see in debug logs, it´s a bit easier for me...
As far as I know you can just send a 'Dim 0-100' command to dim it directly (in code it gets recalculated to 1-16 values)
Regards, Ron.
jdr0berts
Starting Member
Starting Member
Posts: 16
Joined: Fri Apr 13, 2012 1:17 pm

Re: RFXCom Transciever & HE203 - Setting Dim level

Post by jdr0berts »

Hi,

Sorry for the delay - I've been away.

OK - I've gone through a series of tests with both RFXMGR and DOmotiga, and have both logs below.

Test procedure:
1) set light to max brightness using on-on-on switch.
2) turn light off using off switch
- then using either rfxmgr / domotiga "Control" tab:
3) Turn light on using Command "On" / switch on
4) Set brigtness to 8 / 50% using "Set Level" / dim slider
5) set brightness to 16 / 100% using "Set Level" / dim slider
6) turn light off using Command "Off" / switch off

The results for rfxmgr were as expected.

For domotiga control
Step 4) resulted in the light going through a dimming cycle
Step 5) resulted in the light stopping the dimming cycle at whatever level it was at when pressed.

Logs - rfxmgr:

Code: Select all

Lighting2
Type: AC
ID: 0 4D 91 02
Unit code: 11
Level: 16
Command: On

Lighting2 command:0B 11 00 04 00 4D 91 02 0B 01 0F 00 
------------------------------------------------

Lighting2
Type: AC
ID: 0 4D 91 02
Unit code: 11
Level: 8
Command: Set Level

Lighting2 command:0B 11 00 05 00 4D 91 02 0B 02 07 00 
------------------------------------------------

Lighting2
Type: AC
ID: 0 4D 91 02
Unit code: 11
Level: 16
Command: Set Level

Lighting2 command:0B 11 00 06 00 4D 91 02 0B 02 0F 00 
------------------------------------------------

Lighting2
Type: AC
ID: 0 4D 91 02
Unit code: 11
Level: 16
Command: Off

Lighting2 command:0B 11 00 07 00 4D 91 02 0B 00 0F 00 
------------------------------------------------
Logs - Domotiga:

Code: Select all

2012/05/28 21:57:11 [Devices] Interface for device with name 'Landing Light' is '35'
2012/05/28 21:57:11 [Devices] Address for device with name 'Landing Light' is '04D9102 11'
2012/05/28 21:57:11 [Devices] Device with address '04D9102 11' is 'Landing Light'
2012/05/28 21:57:11 [Devices] RFXCom Tranceiver Interface: 04D9102 11 On
2012/05/28 21:57:11 [Devices] Interface with name 'RFXCom Tranceiver' has id '35'
2012/05/28 21:57:11 [Devices] Device with address '04D9102 11' is 'Landing Light'
2012/05/28 21:57:11 [Devices] ValueUpdate() called for device with id '72' and name 'Landing Light'
2012/05/28 21:57:11 [Devices] Device change triggered for device with id '72' and value1 'On'
2012/05/28 21:57:23 [Devices] Interface for device with name 'Landing Light' is '35'
2012/05/28 21:57:23 [Devices] Address for device with name 'Landing Light' is '04D9102 11'
2012/05/28 21:57:23 [Devices] Device with address '04D9102 11' is 'Landing Light'
2012/05/28 21:57:23 [Devices] RFXCom Tranceiver Interface: 04D9102 11 Dim 100
2012/05/28 21:57:23 [Devices] Interface with name 'RFXCom Tranceiver' has id '35'
2012/05/28 21:57:23 [Devices] Device with address '04D9102 11' is 'Landing Light'
2012/05/28 21:57:23 [Devices] ValueUpdate() called for device with id '72' and name 'Landing Light'
2012/05/28 21:57:54 [Devices] Interface for device with name 'Landing Light' is '35'
2012/05/28 21:57:54 [Devices] Address for device with name 'Landing Light' is '04D9102 11'
2012/05/28 21:57:54 [Devices] Device with address '04D9102 11' is 'Landing Light'
2012/05/28 21:57:54 [Devices] RFXCom Tranceiver Interface: 04D9102 11 Dim 48
2012/05/28 21:57:54 [Devices] Interface with name 'RFXCom Tranceiver' has id '35'
2012/05/28 21:57:54 [Devices] Device with address '04D9102 11' is 'Landing Light'
2012/05/28 21:57:54 [Devices] ValueUpdate() called for device with id '72' and name 'Landing Light'
2012/05/28 21:57:54 [Devices] Device change triggered for device with id '72' and value1 'Dim 48'
2012/05/28 21:57:56 [Devices] Interface for device with name 'Landing Light' is '35'
2012/05/28 21:57:56 [Devices] Address for device with name 'Landing Light' is '04D9102 11'
2012/05/28 21:57:56 [Devices] Device with address '04D9102 11' is 'Landing Light'
2012/05/28 21:57:56 [Devices] RFXCom Tranceiver Interface: 04D9102 11 Dim 48
2012/05/28 21:57:56 [Devices] Interface with name 'RFXCom Tranceiver' has id '35'
2012/05/28 21:57:56 [Devices] Device with address '04D9102 11' is 'Landing Light'
2012/05/28 21:57:56 [Devices] ValueUpdate() called for device with id '72' and name 'Landing Light'
2012/05/28 21:58:17 [Devices] Interface for device with name 'Landing Light' is '35'
2012/05/28 21:58:17 [Devices] Address for device with name 'Landing Light' is '04D9102 11'
2012/05/28 21:58:17 [Devices] Device with address '04D9102 11' is 'Landing Light'
2012/05/28 21:58:17 [Devices] RFXCom Tranceiver Interface: 04D9102 11 Off
2012/05/28 21:58:17 [Devices] Interface with name 'RFXCom Tranceiver' has id '35'
2012/05/28 21:58:17 [Devices] Device with address '04D9102 11' is 'Landing Light'
2012/05/28 21:58:17 [Devices] ValueUpdate() called for device with id '72' and name 'Landing Light'
2012/05/28 21:58:17 [Devices] Device change triggered for device with id '72' and value1 'Off'
jdr0berts
Starting Member
Starting Member
Posts: 16
Joined: Fri Apr 13, 2012 1:17 pm

Re: RFXCom Transciever & HE203 - Setting Dim level

Post by jdr0berts »

I've had another look at this, but not got anyway further.

I've attached a screenshot of the device config - if anyone has any ideas, it would be much appreciated.

Thanks
James
Attachments
LandingLight.png
LandingLight.png (37.02 KiB) Viewed 9806 times
User avatar
RDNZL
Forum Moderator
Forum Moderator
Posts: 1008
Joined: Sun Sep 24, 2006 1:45 pm
Location: Dordrecht, The Netherlands
Contact:

Re: RFXCom Transciever & HE203 - Setting Dim level

Post by RDNZL »

I will check this tomorrow.
Regards, Ron.
jdr0berts
Starting Member
Starting Member
Posts: 16
Joined: Fri Apr 13, 2012 1:17 pm

Re: RFXCom Transciever & HE203 - Setting Dim level

Post by jdr0berts »

Thanks again Ron.

I've also tried this with the type dropdown for Value1 as Level.

Cheers
James
Post Reply

Return to “DomotiGa Forum”