Domoticz and LightwaveRF with wifi Link

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

snakesms
Posts: 1
Joined: Wednesday 09 August 2017 22:39
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Domoticz and LightwaveRF with wifi Link

Post by snakesms »

IN case someone else will lookup how to update the script with brightness, have a look here:

https://steve.dynedge.co.uk/2013/03/19/ ... -link-box/

and this part in particular:
The prefix is a random number between 001 and 099 Function code F0 means turn off, F1 means turn on and to Dim a device you can send FdPXX where XX is a number between 1 and 32, with FdP32 meaning full brightness. So the following code would dim Room 2, Device 3 to 50% brightness:

socket = UDPSocket.new
socket.setsockopt(Socket::SOL_SOCKET, Socket::SO_BROADCAST, true)
socket.send("001,!R2D3FdP16|", 0, "255.255.255.255", 9760)
socket.close

P.S. or even check this out: https://api.lightwaverf.com/introductio ... comms.html
User avatar
lonebaggie
Posts: 86
Joined: Tuesday 31 January 2017 13:21
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: England
Contact:

Re: Domoticz and LightwaveRF with wifi Link

Post by lonebaggie »

I have written a LUA Script that supports all LightwaveRF power and lighting API see https://api.lightwaverf.com/lighting_power.html

https://www.domoticz.com/forum/viewtopi ... 38&t=16560
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest