This is what I use for sending UDP:
function sendUDP(msg)
local socket = require "socket"
local udp = assert(socket.udp())
assert(udp:sendto(msg, "192.168.1.100", 9999))
assert(udp:close())
end
sendUDP("HELLO")
Search found 5 matches
- Thursday 29 June 2017 10:36
- Forum: LUA
- Topic: Sending UDP with lua
- Replies: 4
- Views: 2734
- Friday 19 May 2017 11:30
- Forum: Others
- Topic: Low cost window/door sensor
- Replies: 280
- Views: 113904
Re: Low cost window/door sensor
Spotted another setting "undec on". If I have this and ARC on, it responds to every event but varies between 3-7 codes: ON DOOR CLOSE: Packettype = UNDECODED RF Message UNDECODED ARC:2779F21C072B Packettype = UNDECODED RF Message UNDECODED ARC:2779F21C0722 Packettype = UNDECODED RF Message UNDECODED ...
- Friday 19 May 2017 11:12
- Forum: Others
- Topic: Low cost window/door sensor
- Replies: 280
- Views: 113904
Re: Low cost window/door sensor
Interestingly, if I enable X10 at same time as Lighting4 I get this output, again, intermittently: ON DOOR CLOSE: Packettype = Security1 subtype = X10 security Sequence nbr = 36 id1-3 = BCF900 decimal:12384512 status = Motion battery level = Low Signal level = 7 -64dBm ON DOOR OPEN: Packettype ...
- Friday 19 May 2017 10:48
- Forum: Others
- Topic: Low cost window/door sensor
- Replies: 280
- Views: 113904
Re: Low cost window/door sensor
Thanks ArieKanarie, that got them recognised but it detected 6 devices - 2 for each of the tamper, closed and open. But it only works intermittently and not consistently between the 2 pairs. I tried it in RFXmngr (see below for example only tamper output) and same occurs, it is recognised but only 1 ...
- Thursday 18 May 2017 17:37
- Forum: Others
- Topic: Low cost window/door sensor
- Replies: 280
- Views: 113904
Re: Low cost window/door sensor
I have purchased the sensors below and can't get them to work with RFXCOM I've tried Lighting4 and ARC. It does say on the listing that the oscillator resistor can be 330K , any ideas where to put it ? Is it the empty space where it says R5 or maybe the 4 headers GTRV ? The chip markings is ...