LightwaveRF (Gen 1) via PHP
Overview
A while ago I bought some home automation products using the LightWaveRF protocol from B&Q - a couple of lights, and a ‘hub’.
It works great, is cheap, and is very easy to setup. Great. But, their mobile app sucked. No two ways about it. They’ve posted images on their website of a new, better app… but it’s never materialised. I have tweeted them, and they have said they are ‘working on it’ but it’s been some time now. Still nothing.
So, in an effort to make a better interface I endeavoured to find a solution for myself. I did some digging online and found a few tutorials on how to use PHP to control it.
I created a bunch of PHP on a simple Apache web server with file names in a syntax: room_device_on/off.php
(e.g. bedroom_light_on.php
)
Code
Here’s an example for the bedroom light on:
|
|