LWRF wireless 1-gang dimmer switch?

Posted on
Sun Nov 02, 2014 9:57 am
matei offline
Posts: 22
Joined: May 05, 2014

LWRF wireless 1-gang dimmer switch?

Hi all,

Could anyone point me in the right direction regarding the setup of a LightwaveRF wireless 1-gang dimmer switch? Ideally I'd like it to be able to dim a LWRF bulb that I've got in a ceiling lamp, but I'm not quite sure how to go about it.

In Indigo I created a new RFXCOM device, and chose Lightwave dimmer. Got the dimmer to join, can see that it is recognised in the logs. From here is where I'm a bit lost.

I thought maybe a trigger needed to be created, with the LWRF dimmer and desired bulb, but to no avail.

Thanks!

Posted on
Mon Nov 03, 2014 5:43 am
Vangelis offline
Posts: 167
Joined: Mar 18, 2014
Location: Southampton (UK)

Re: LWRF wireless 1-gang dimmer switch?

ref viewtopic.php?f=28&t=12384

Had a problem where is was not actually executing the cmd to the LWRF switch.

Vangelis

Posted on
Mon Nov 03, 2014 6:52 am
matei offline
Posts: 22
Joined: May 05, 2014

Re: LWRF wireless 1-gang dimmer switch?

It looks like the commands are transmitting, at least it appears in the log that there are entries.

The part I'm confused about is how to actually create the trigger for this thing to work. :( Not sure what options/values etc need to be added.

Just want it to control one LWRF lightbulb, in theory it should be simple but I must be missing a step.

Posted on
Mon Nov 03, 2014 7:15 am
wysinawyg offline
Posts: 45
Joined: Oct 11, 2013

Re: LWRF wireless 1-gang dimmer switch?

Have you added the LightwaveRF bulb as a device? To do it properly through Indigo you need to do so. There should be instructions round here somewhere but I think basically you have to create an RFXCom device with a made up number and then use that to pair with the bulb in the same way you would for a regular LightwaveRF controller.

Once you have both the bulb and the switch as devices then yes you need to create a Trigger (possibly one for brighten and one for dim?) so that a command received on the switch sends a signal to the bulb.

Posted on
Mon Nov 03, 2014 9:01 am
matei offline
Posts: 22
Joined: May 05, 2014

Re: LWRF wireless 1-gang dimmer switch?

Hi,

Yes - I have the LWRF bulb as a device, and that works on it's own. I can dim it via the device settings.

I've created the LWRF wireless switch as a dimmer as well, and then I created a trigger and added both devices in the trigger configuration. This is where I get a bit lost... I created as a "device state changed" trigger, and set the action as "brighten by %". I tried adding different increments but this doesn't seem to work at all.

Do I need to create two separate triggers, one for increases and one for decreases, or have I chosen the wrong type of trigger altogether?

Posted on
Mon Nov 03, 2014 9:52 am
wysinawyg offline
Posts: 45
Joined: Oct 11, 2013

Re: LWRF wireless 1-gang dimmer switch?

I'm guessing a bit here (don't have either of those devices) but I would have thought two separate commands (at least).

Were it me I would:

- Open up the Log
- press the top button, the bottom button and press and hold each of the buttons
- look what the log says, is it two commands (with long presses repeating?) or four commands (on, off, brighten, dim)
- set up a trigger for each command

A way to 'debug' would be to create a variable and then modify that variable as the Action. That way you can make sure your Trigger is picking up the commands first without the uncertainty of knowing whether it is the Trigger or the Action that is going wrong.

Posted on
Tue Nov 04, 2014 8:28 am
Vangelis offline
Posts: 167
Joined: Mar 18, 2014
Location: Southampton (UK)

Re: LWRF wireless 1-gang dimmer switch?

This is from recollection, but instead of using 'Device State Changed' try using the other option - think it's along the lines of 'Activity Change'

Basically you are looking for a new timestamp in Indigo to indicate that 'something' has happened (might not be quite what you want though)

Vangelis

Posted on
Tue Nov 04, 2014 9:34 am
matei offline
Posts: 22
Joined: May 05, 2014

Re: LWRF wireless 1-gang dimmer switch?

Thanks all - I'll give this a shot and be back with the (hopefully) successful results. Thanks again!

Posted on
Tue Nov 04, 2014 9:54 am
matei offline
Posts: 22
Joined: May 05, 2014

Re: LWRF wireless 1-gang dimmer switch?

Well, I may have been mistaken. The dimmer wasn't communicating at all. I deleted the device, recreated and rejoined it, then recreated a trigger.

However the only info I see in my log is from when I joined the dimmer switch:

014-11-04 15:48:16.054 Z-Wave Debug RCVD packet: 01 05 00 13 77 00 9E (hex)
2014-11-04 15:48:58.241 RFXCOM Debug Actions...TurnOn
2014-11-04 15:48:58.241 RFXCOM Debug Turn LWDimmer Appliance/Dimmer On (level 0).
2014-11-04 15:48:58.242 RFXCOM Debug Address 000005
2014-11-04 15:48:58.242 RFXCOM Debug housecode:1
2014-11-04 15:48:58.242 RFXCOM Debug device type:LWDimmer
2014-11-04 15:48:58.243 RFXCOM Debug device type:0
2014-11-04 15:48:58.243 RFXCOM Debug device level:0.0
2014-11-04 15:48:58.370 RFXCOM Debug send x10 cmd: 10 20 0 0 0 0 5 1 1 0 112 (0A 14 00 00 00 00 05 01 01 00 70)
2014-11-04 15:48:58.869 RFXCOM Debug processing: 4 2 1 0 0 (04 02 01 00 00)
2014-11-04 15:48:58.869 RFXCOM Debug ACK Message ACK, transmit OK
2014-11-04 15:48:58.870 RFXCOM Debug ++++++++++++++
2014-11-04 15:48:59.371 RFXCOM Debug sent "test switch" on

Anything else after than doesn't show any log entries. :-(

Posted on
Tue Nov 04, 2014 10:43 am
wysinawyg offline
Posts: 45
Joined: Oct 11, 2013

Re: LWRF wireless 1-gang dimmer switch?

So when you press the buttons you don't then get a further log entry?

If not I suspect the problem is that it isn't a dimmer. Is there an option to create it as something else? Sorry struggling to remember off hand what the process was but it may be its seen as a "Switch" of some sort rather than a dimmer?

Posted on
Tue Nov 04, 2014 11:31 am
matei offline
Posts: 22
Joined: May 05, 2014

Re: LWRF wireless 1-gang dimmer switch?

Aha, interesting. I tried first adding it as a LW Appliance, and then as a switch:

014-11-04 17:25:45.144 RFXCOM Debug <<-- entering deviceStopComm: test switch (837427434 - LWDimmer)
2014-11-04 17:25:45.165 RFXCOM Debug deviceStop called. Device test switch not found in list.
2014-11-04 17:25:47.277 RFXCOM Debug validateDeviceConfigUi called
2014-11-04 17:25:47.312 RFXCOM Debug <<-- entering deviceStartComm: test switch (837427434 - LWAppliance)
2014-11-04 17:25:47.312 RFXCOM Debug deviceStart called. Adding device test switch, type: LWAppliance
2014-11-04 17:25:51.794 RFXCOM Debug validateDeviceConfigUi called
2014-11-04 17:25:58.246 RFXCOM Debug <<-- entering deviceStopComm: test switch (837427434 - LWAppliance)
2014-11-04 17:25:58.246 RFXCOM Debug deviceStop called. Device test switch not found in list.
2014-11-04 17:25:59.896 RFXCOM Debug validateDeviceConfigUi called
2014-11-04 17:25:59.908 RFXCOM Debug <<-- entering deviceStartComm: test switch (837427434 - LWSwitch)
2014-11-04 17:25:59.909 RFXCOM Debug deviceStart called. Adding device test switch, type: LWSwitch
2014-11-04 17:25:59.909 RFXCOM Debug Adding LightWave Switch housecode 000005 and unitcode 01 (00000501).

However pressing the buttons still does not produce anything in the log. :-(

This is the unit in question:
http://www.maplin.co.uk/p/lightwaverf-1 ... stic-n67qj

Posted on
Wed Nov 05, 2014 3:20 am
matei offline
Posts: 22
Joined: May 05, 2014

Re: LWRF wireless 1-gang dimmer switch?

OK, think I know what is happening... :oops: :oops: :oops:

I don't think those events are generated by the hardware, rather they appear when I configure a new device in Indigo. Maybe I have a duff unit, don't know. :(

It is a pain to get into pairing mode (or whatever LWRF call it), you have to hold down both buttons at exactly the same time, and then the single (blue) LED starts flashing - but only for a few seconds. It isn't like the other LWRF devices I have where you have more than a few seconds.

Posted on
Wed Nov 05, 2014 3:55 am
wysinawyg offline
Posts: 45
Joined: Oct 11, 2013

Re: LWRF wireless 1-gang dimmer switch?

Ah, I suppose unit code 1 is suspicious from a randomly generated device...

You shouldn't need to pair it as you aren't sending it any commands.

Do you have "Log unknown sensors as error" ticked in the plugin configuration? I think that may be your next error (or it is a dud device).

See: http://www.rfxcom.com/Documents/Quick_Start_Indigo.pdf

With that ticked when you press a button the log should show it up as an RFXCom error. That error will tell you the House and Unit Code of the switch and you need to then use those values when creating the device. I think it will also tell you the command classes that are coming in so try it with the single press, long press on both buttons as below.

Posted on
Wed Nov 05, 2014 9:20 am
matei offline
Posts: 22
Joined: May 05, 2014

Re: LWRF wireless 1-gang dimmer switch?

Yes - I do indeed have that option ticked, yet nothing appears. Perhaps it is a dud piece of hardware.

Just tried holding down both buttons again, without messing about in Indigo first - and this is what I got however:

2014-11-05 15:22:41.737 RFXCOM Debug ++++++++++++++
2014-11-05 15:22:42.332 RFXCOM Debug processing: 10 20 0 42 244 67 148 13 0 0 112 (0A 14 00 2A F4 43 94 0D 00 00 70)
2014-11-05 15:22:42.333 RFXCOM Debug LW Switch with housecode f44394 and unitcode 13 command 0 received (level:0)
2014-11-05 15:22:42.333 RFXCOM Error unknown device detected (id = f44394-13, type = 20). Select a LightWave Switch from the list of devices
2014-11-05 15:22:42.334 RFXCOM Error probably a LW Remote?
2014-11-05 15:22:42.335 RFXCOM Debug LW Remote with housecode f44394 command 0 received (level:0)
2014-11-05 15:22:42.335 RFXCOM Error unknown device detected (id = f44394, type = 20). Select a LightWave Switch from the list of devices
2014-11-05 15:22:42.335 RFXCOM Debug +++++++++++++

Different codes, very interesting. Now I'm getting entries in the event log:

14-11-05 15:30:59.964 RFXCOM Debug ++++++++++++++
2014-11-05 15:31:01.190 RFXCOM Debug processing: 10 20 0 54 244 67 148 13 1 0 96 (0A 14 00 36 F4 43 94 0D 01 00 60)
2014-11-05 15:31:01.190 RFXCOM Debug LW Switch with housecode f44394 and unitcode 13 command 1 received (level:0)
2014-11-05 15:31:01.191 RFXCOM Debug Switch Command f44394-13 in list, command=On
2014-11-05 15:31:01.191 Error device "test dimmer" state key command not defined (ignoring update request)
2014-11-05 15:31:01.192 Error device "test dimmer" state key type not defined (ignoring update request)
2014-11-05 15:31:01.193 Error device "test dimmer" state key lastUpdated not defined (ignoring update request)
2014-11-05 15:31:01.193 RFXCOM Debug ++++++++++++++

Posted on
Wed Nov 05, 2014 10:06 am
wysinawyg offline
Posts: 45
Joined: Oct 11, 2013

Re: LWRF wireless 1-gang dimmer switch?

Right so create a switch device with housecode f44394 and unitcode 13.

Do you then get anything in the log when you press the buttons?

Who is online

Users browsing this forum: No registered users and 13 guests