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
Domoticz and LightwaveRF with wifi Link
Moderators: leecollings, remb0
- 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
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
https://www.domoticz.com/forum/viewtopi ... 38&t=16560
Who is online
Users browsing this forum: No registered users and 0 guests