Detect Security - X10 security - Alarm??? Topic is solved

Moderator: leecollings

Post Reply
binbo
Posts: 50
Joined: Sunday 18 June 2017 21:47
Target OS: -
Domoticz version:
Contact:

Detect Security - X10 security - Alarm???

Post 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 908 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 :?
binbo
Posts: 50
Joined: Sunday 18 June 2017 21:47
Target OS: -
Domoticz version:
Contact:

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

Post 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
tarmacalastair
Posts: 95
Joined: Wednesday 30 October 2019 14:11
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Great Britain
Contact:

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

Post 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.
Running Domoticz and Dashticz beta on Raspberry Pi OS 32 bit - has anyone had success with 64 bit?

Desktop access from Ubuntu Linux
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest