I'm hoping someone who's better at Python than me (not hard!) can help with this.
I want to send a packet to the broadcast address 255.255.255.255, but am getting this error:
Code: Select all
LightwaveRF Error Error in plugin execution ExecuteAction:
Traceback (most recent call last):
File "plugin.py", line 118, in actionControlDimmerRelay
File "plugin.py", line 42, in sendMessageToDevice
File "plugin.py", line 50, in sendMessage
<class 'socket.error'>: (13, 'Permission denied')Code: Select all
sock = socket.socket(socket.AF_INET,socket.SOCK_DGRAM)
sock.sendto(msg, ("255.255.255.255", 9760))