LightWaveRF(3)

NAME
LightWaveRF - Integration with LightWaveRF modules

SYNOPSIS
 use LightWaveRF;
 my $lw = new LightWaveRF;
 $lw->register('D1', 'R1', "LivingRoom");
 $lw->on('LivingRoom');

DESCRIPTION
Provides an interface to LightWaveRF modules via the LightWaveRF Wifi Link.

  Methods
new

        my $lf = new LightWaveRF;

    Instantiates a LightWaveRF object ready to register devices against.

register

        $lw->register(<NODE ID>, <DEVICE ID>, <NAME>);
        $lw->register('R1', 'LivingRoomLight');

on

        $lw->on('LivingRoomLight'); # $lw->send_device_status('LivingRoomlight', 'F1');

off

        $lw->on('LivingRoomLight'); # $lw->send_device_status('LivingRoomlight', 'F0');

send_device_status

        $lw->send_device_status('LivingRoomlight', 'F1');

AUTHOR Graeme Lawton <graeme@per.ly>