Ive just installed HA and was hoping to control my lightwaverf sockets and relays. Is this possible without a RFXCOM? If so how do i go about this. Any advice on heatmiser netmonitor v3 (pre Neo solution) would be gratefully received too.
In response to myself, i wrote a bash script and used command line switch to control my lightwaverf kit via UDP.
With reference to heatmiser netmonitor i wrote another bash script to show temperate and state using command line sensor, it wasnt the most elegant solution however it does work.
then in my configuration.yaml i call the script using a command line sensor
platform: command_line
switches:
family_room_tv:
command_on: â/home/hass/.homeassistant/scripts/lightwaverf.sh R1D1 ONâ
command_off: â/home/hass/.homeassistant/scripts/lightwaverf.sh R1D1 OFFâ
friendly_name: Family Room TV
When you go in the lightwaverf app note down the devices you want to control, the first room in the list is R1, the first device in the room is D1 and so on.
The sleep in the script is to stop commands clashing as i fix the command the sequence number to 101.
I then use hass automation for the schedules which seem more reliable than running via the LW app.
I came here looking for a way to control my LightwaveRF dimmer switches. This works great, & I modified the script a bit so I can set different dim/brightness levels.
Hi, how did you modify it? Iâm trying to get this to work with a dimmer switch and itâs just not playing ball It seems to be doing something though as I get an âunknown deviceâ growl in lightwaverf iOS app when I click the switch in the Home Assistant UI.
Have you already linked to your LightwaveRF Link from your Pi?
I did it previously through HA Bridge or homebridge (canât remember, it was a while ago)
When you send a command for the first time the wifi link shows a message asked to register the controller (assuming you have the original version with the screen).
primarily just because its not reliant on the LWRF cloud that the link is ultimately reliant upon, but it also supports a whole load of other protocols. I donât like having anything in my home reliant on a cloud server that could disappear, when iâd expect to keep the infra for a good number of years.
When I switched on one of these in HA for the first time it sent the command to my LightwaveRF Link hub which (as it wasn't paired to my Raspberry Pi yet) made the hub light start to flash. I pressed the button on the LightwaveRF Link hub which connected/linked my Raspberry Pi to the LightwaveRF Link hub.
I placed the switches in my âliving roomâ group like so:
I donât think you can, I think you have to set them up manually like I did by creating the command_line switches.
At the end of the command_on: part youâll see âR2D1â and âR2D2â parts. This tells the script to turn on/off device 1 (D1) in room 2 (R2) which is R2D1, and in my case I named it âlounge_lightâ in the code. So the âdining_room_lightâ is R2D2 (room 2, device 2).
If I remember correctly I found out which device numbers and room number the lights are associated with at LightwaveRFâs web app https://manager.lightwaverf.com. There was a guide somewhere else that said to look in the source code of that web page to find out the device and room numbers.
Donât forget to change âLWHOST=192.168.0.67â in the code above to use the IP address of your LightwaveRF Link hub.