[OBSOLETE] Lightwave RF Integration (UK)

@gav_gall Ive just sent a friend the money to buy one directly in US for me.
Friend is going over next month, she will bring it back :smile:

@adamclark_dev does it require reverse command for the LWRF? with regards to what Gav said about having to say off for on and on for off?

1 Like

@CraigJohn does not seem to be the wrong way around for me.

Ive been keeping an eye on this thread. Nice work! I really like the idea of using the lightwave switches and sockets. But I have a few questions which with the iterations of your development i’m not clear on:
Sorry if some are ignorant?

  1. With the latest way of doing this, Pi server, do i still need the lightwave hub?
  2. How do the switches appear in smartthings?
  3. does this all run locally? ie. no internet connection, switches still work fine?
  4. are the dimming functions readily available?
  5. Does the PI connect to your router? (so i would have my smartthings, hue hub, ?LW hub and a PI all plugged into the router?)
  6. If i had a switch out of my wireless range, would a range extender solve the problem? would the pi server still connect to it?
  7. (the crux). Is this something that is worth trying for someone with no programming experience?
  8. Is it reliable? ( Ie is my wife going to kick me in the arse again for another HA thing which constantly needs fixing?)
  9. Are the switches usable in rulemachine (do they appear as switches like other switches do)
  10. If 9 is true, does that mean I could have a LW switch which could configure various scenes and other actions?

Thanks for taking the time to answer.

Andrew

@Flettster, here are the answers to your questions,

  1. You still need the LightwaveRF hub
  2. The switches appear as dimmers or switches depending on what they are
  3. It all runs locally
  4. Dimming is available
  5. PI connects to your router
  6. PI does not connect to switch, the is the LightwaveRF hubs job. You can buy a lightwave range extender if you need it.
  7. Can’t answer that for you, but there is no programming needed, just following steps exactly as presented.
  8. Very reliable
  9. Switches are available in rule machine
  10. No, as lightwave communication does not work that way.

Cheers,
Adam

1 Like

Thanks for the super speedy response

As to 10, if it is in rulemachine, the switch could act as a trigger which rulemachine could use to do all the things rulemachine can do? like activate other lightwace switches/sockets/ sonos etc?

Andrew

Just a heads up to everyone

Having bought a PI and got LWrf working I then decided to see what else I can use the Pi for on ST.

So I added WebioPI to the PI to use the Raspberry PI device type.
(Raspberry Pi Device Type)

There were two problems with this first I couldn’t get the Pi device type working and secondly it stopped the lwrf service functioning due to a port conflict.

I was able to reslove it by stopping the webiopi service. but I’ve yet to find a permanant fix.

I’ll be having another look at the weekend I’ll probably look at the BerryIO approach next

@CraigJohn @adamclark_dev

Hey chaps, just finished installing this server on a new Ubuntu VM - all working perfick.

I think now my fav Alexa command is “Alexa, main lights 50%” :smile:

Not only is the control by Alexa a plus, but the reduction in lag compared to the lightwaverf app, both internally AND externally now, is just amazing. Anyone who has used lightwaverf for a time will know latency was always a killer.

Adam, Lightwave should be very grateful for your work with this, because it has certainly saved them losing, at least, one long standing customer, who was prepared to jump ship - and to be honest, I’d be amazed if they had any plans for integration, even when it does go on general sale in the British Isles, that’s just the impression I get from them.

So, thanks again.

@Flettster - The reason is that the switch does not communicate with the hub. LWRF communication is strictly one way. So the switch turns off the lights, but does not tell the hub. Just the same as when the hub turns off a switch, the state is not communicated back to the hub.

@Silverpawn - To get around the port conflicts you could change the port from 8000 to 8080 on line 25 of server.js and then restart the server by typing sudo server lwrf restart. You would then need to modify end of line 99 of the device type on the smartthings api to 8080 from 8000.

@gav_gall - Many thanks - glad it’s working well for you.

2 Likes

Thanks @adamclark_dev that’s saved me a couple of hours of stepping through the scripts looking for port refs. Much appreciated.

This looks great, and I already have a Pi devoted to Kodi - but also have a Synology NAS box whirring away 24/7 can this be made to work on that instead as they’re all ARM devices ??? (node.js is already an app)

That worked much appreciated

but in case anyone else was following this I needed to make tow changes on each of the device types
on/off lines 77 & 83
Dimmer lines 93 & 99

also the restart was sudo service lwrf restart

Nothing major works like a charm

#adamisasmartthing - well done, epic progress on this topic since i last looked, which wasn’t that long ago. It’s a curious thing that things move so quickly its almost impossible to make a decision and stick with it. I was specifying a load of Fibaro dimmers, but will now look at at LWRF I think, due to value.

Now I need to work out a way to use Fibaro sensors as the temperature input for the heating system (all underfloor)… I was hoping it was possible to purely use a Honeywell Evohome setup, but without shelling out for a load of Honeywell in room thermostats (the Fibaro sensors as a substitute would be amazing. I will start that post elsewhere though.

Thx again Adam!

I wasn’t shouting, honest, just a bit excited maybe!

@kenjohnson - glad to hear it’s working out for you.

@Shaun_Reinson - As long as you can ssh it and it runs linux then you should be fine, should run fine along side kodi.

@adamclark_dev - Hi Adam

I’m just looking at making my first foray in to the auto home market. I really liked the lightwaveRF stuff but love the Smarthings ease of use.

I will now buy Smarthings with confidence that i can integrate it with the LWRF sockets. I’ve got a few spare RPi’s which will now come to good use too.

Its people like yourself that give up your time to make these things happen. As someone else said, LWRF should be very grateful to you. Well done and thanks.Genius.

@adamclark_dev Hey Adam, just wondering if your Alexa/smartthings integration is still working? Mine seems to have stopped abruptly.
It’s not your interface, that still works away perfectly with the smartthings app, it’s just through Alexa, she can’t see the devices any more and smartthings responds with this in the live log:

“11:20:15 AM: error physicalgraph.app.exception.SmartAppException: Method Not Allowed”

I’m just wondering if maybe there was a recent update that borked it for us, by any chance is your echo the same now?

Cheers man.

You may find its just Alexa seeing a lot in this thread

Yeah, I just saw that thread Brian, cheers! :smiley:

Would this allow me to use these door contacts?

I saw some comments further up the thread that suggested not, yet one of the ‘answers’ on the Amazon page s
suggested that this sensor DOES pair with the LightwaveRF hub.

If so, this would be a really cost effective way of adding door/window sensing to ST.

Thanks,

P.

Hi @adamclark_dev

hope your well mate, all things been running very smoothly this end.

Recently tried installing the Raspberry Pi device type using BerryIO, no such luck and the guides and instructions are pants compared to the ones you give :wink:

Anyway main question was I am about to start trying some other things with the Pi, it happens to also use Nodejs, will this interfere with the current configuration or can multiple service use node or do i need to get another pi?

All the best,
Craig

1 Like