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?
With the latest way of doing this, Pi server, do i still need the lightwave hub?
How do the switches appear in smartthings?
does this all run locally? ie. no internet connection, switches still work fine?
are the dimming functions readily available?
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?)
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?
(the crux). Is this something that is worth trying for someone with no programming experience?
Is it reliable? ( Ie is my wife going to kick me in the arse again for another HA thing which constantly needs fixing?)
Are the switches usable in rulemachine (do they appear as switches like other switches do)
If 9 is true, does that mean I could have a LW switch which could configure various scenes and other actions?
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?
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
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%”
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.
@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.
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)
#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.
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?
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.
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
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?