2x Zipato mini RFiD TagKey for On and Off alarm.

Moderator: leecollings

Post Reply
VeldmDomo
Posts: 5
Joined: Wednesday 16 January 2019 16:40
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Netherlands
Contact:

2x Zipato mini RFiD TagKey for On and Off alarm.

Post by VeldmDomo »

Dear Form members,

The following problem occurs.
I started with 1x Zipato mini RFiD TagKey signed on Domoticz. After some problems this works well now.
However, I have door contacts both in the house and in the barn.
When I want to go into the shed and turn off the alarm, I have to go into the house first to turn off the alarm.
For this I bought a 2nd Zipato mini RFiD TagKey.
This works well, but not in combination with the first Zipato RFiD.

This works.
With the 1st I can turn the alarm on and off.
With the 2nd I can turn the alarm on and off.

This does not work.
I turn on the alarm with the 1st and with the 2nd off then this does not.
Also the other way around when I switch the alarm on with the 2nd and I want to off with the 1st.

To get the Zipato RFiD working, I use a lua script.

Is there anyone who can help me get this working?
Below the used lua script.

Code: Select all

 commandArray = {}
 if ((devicechanged['AlarmRFIDpaneel-2']) or (devicechanged['AlarmRFIDpaneel-1'])) then
        if ((otherdevices['AlarmRFIDpaneel-2'] == 'On') or (otherdevices['AlarmRFIDpaneel-1'] == 'On')) then
                print('AlarmPanel Arm Away')
                commandArray['Domoticz Security Panel'] = 'Arm Away'
                       else
                print('AlarmPanel Disarmed')
                commandArray['Domoticz Security Panel'] = 'Disarm'
                commandArray['AlarmSituatieUitV0.1'] = 'Off'
				commandArray['Keypad Ack'] = 'On'
	end			
end        
return commandArray 
Raspberry:
Raspberry Pi 4 Model B Rev 1.1 4Gb
Zwave Controller:
Aeotec Z-Pi 7 ZWA025 GPIO board
Z-Wave SDK: 7.11.0 or later
Domoticz:
Version 2021.1 (April 17 2021) Stable
OpenZwave version: 1.6-1911-gc6a420ef
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest