Lightwave RF and Homeassistant

Hi everyone.
I have managed to setup some lightwave rf devices. This is without using the wifi link but using the lighwave rf library. here : https://github.com/leachj/lightwaverf-pi .

This does almost everything i need but the last bit i cannot figure out how to do which is how can i add a couple of switches in HA to turn on and off the 2 lightwave devices i have now got paired. i have tried adding command switches to my switches.yaml, it appears but doesnt appear to do anything, i just get an error in the log file

  • platform: command_line
    switches:
    room_lights:
    command_on: ‘./send F136C0 3 1’
    command_off: ‘./send F136C0 3 0’
    room_2:
    command_on: ‘./send F145C0 3 1’
    command_off: ‘./send F145C0 3 0’

This is the error i get:.
Command failed: ./send F136C0 3 1
18:15 components/switch/command_line.py (ERROR)

@Ritsp you might want to try my plugin for lightwaverf and home assistant:

hi, how do i install the plug in?

Thanks Chillerz i will take a look at this. But i am not using the lightwave wifi link at all.

All the details are on the github link.

Chillerz

All working now thanks - I’m using the plug in sockets and they work great

Hi Everyone,

Just to say i have created a custom components for LightwaveRF gen 1 devices.
It uses a queuing system to stop any commands not hitting the link of rfxcom.
The lights are fully dimmable as well and it also works well with Alexa and Google home when emulated hue is enabled.
please let me know what you think the install guide is located with the component.

Cheers,
Richie