Page 1 of 1

Detect Security - X10 security - Alarm???

Posted: Wednesday 05 May 2021 9:37
by binbo
Hi all,

I have a set of beam-breaker detectors - when they go off - they are just sending out this:
Screenshot 2021-05-05 083432.png
Screenshot 2021-05-05 083432.png (7.96 KiB) Viewed 914 times
How do i detect for this in LUA?

I have a "trigger: device" script, and usually, i would do this:

if (devicechanged['name'] == 'On'

But the state never changes on this device. Please help :?

Re: Detect Security - X10 security - Alarm???

Posted: Wednesday 05 May 2021 10:30
by binbo
Answering my own question just in case anyone looks for this in the future...

Code: Select all

if (devicechanged['name'] == 'Alarm') then
   
	-- Now reset it back to off...
	
	commandArray['name'] = 'Normal'

end

Re: Detect Security - X10 security - Alarm???

Posted: Wednesday 24 November 2021 15:09
by tarmacalastair
Hi,

What hardware are you using? And do you recommend it?

I'd like some sort of beam breaker for my driveway, following an attempted burglary. Thieves didn't get into the house but they caused a huge amount of damage to garage doors in trying.

I'd like something that can be picked up by my RFXCOMM transceiver (433MHz) or my ZWave USB stick so I could then use Domoticz to ring the doorbell or something like that.

There are so many of these available but I've no idea what might work with Domoticz. There's a thread from 2018 in the forum viewtopic.php?p=176830 but no recommendations.

Thanks.