Create Home alarm system with domoticz
Moderators: leecollings, remb0
-
- Posts: 5
- Joined: Wednesday 25 June 2014 13:39
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Les Mureaux
- Contact:
Create Home alarm system with domoticz
Hi domoticz guru
I am looking to create an alarm system wireless piloted from domoticz.
First of all has someone done it?
I believe it's feasible with domoticz isn't it?
I already have a rfxtrx433e device.
Which standard should I look for my alarm? The rfxcom is enought or should I plug something else?
Which component are the best compromise for quality/price to build this alarm and which protocol?
-external alarm
-internal alarm (maybe Ethernet in case of wave attack )
-motion/luminosity sensor
-door opening sensor
-presence simulating plugs
Thanks a lot for your feedback and help.
Regards
Pierre
I am looking to create an alarm system wireless piloted from domoticz.
First of all has someone done it?
I believe it's feasible with domoticz isn't it?
I already have a rfxtrx433e device.
Which standard should I look for my alarm? The rfxcom is enought or should I plug something else?
Which component are the best compromise for quality/price to build this alarm and which protocol?
-external alarm
-internal alarm (maybe Ethernet in case of wave attack )
-motion/luminosity sensor
-door opening sensor
-presence simulating plugs
Thanks a lot for your feedback and help.
Regards
Pierre
Domocticz latest Beta
Raspberry Pi (B)
RFXtrx433E USB
Access via OpenVPN & dnsdynamic.org
13 Somfy RTS Blinds
To Come (Looking and searching what to take all wireless)
**Plug for Light Presence
**Alarm
Raspberry Pi (B)
RFXtrx433E USB
Access via OpenVPN & dnsdynamic.org
13 Somfy RTS Blinds
To Come (Looking and searching what to take all wireless)
**Plug for Light Presence
**Alarm
-
- Posts: 5
- Joined: Tuesday 01 April 2014 12:37
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Create Home alarm system with domoticz
Hi Pierre,
From my own experience it does work. I got a zwave setup using 7 door/window sensors, 1 outdoor siren and 1 indoor siren.
I choose zwave for the security aspect which is higher then Rfx, and yes I do realize it's still not as secure as a hardwired solution.
Mark
From my own experience it does work. I got a zwave setup using 7 door/window sensors, 1 outdoor siren and 1 indoor siren.
I choose zwave for the security aspect which is higher then Rfx, and yes I do realize it's still not as secure as a hardwired solution.
Mark
-
- Posts: 5
- Joined: Wednesday 25 June 2014 13:39
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Les Mureaux
- Contact:
Re: Create Home alarm system with domoticz
Hi Mark
Thanks for the response.
Yes I agree it will never be as secure as a Hardwired solution. But in my case it is just for dissuasion as in 90% of the case, my Newfoundlander is in front of the house... And it helps.
What did you use to enable the Zwave ? the Zwave dongle to plug on the Raspberry?
Thanks
Pierre
Thanks for the response.
Yes I agree it will never be as secure as a Hardwired solution. But in my case it is just for dissuasion as in 90% of the case, my Newfoundlander is in front of the house... And it helps.
What did you use to enable the Zwave ? the Zwave dongle to plug on the Raspberry?
Thanks
Pierre
Domocticz latest Beta
Raspberry Pi (B)
RFXtrx433E USB
Access via OpenVPN & dnsdynamic.org
13 Somfy RTS Blinds
To Come (Looking and searching what to take all wireless)
**Plug for Light Presence
**Alarm
Raspberry Pi (B)
RFXtrx433E USB
Access via OpenVPN & dnsdynamic.org
13 Somfy RTS Blinds
To Come (Looking and searching what to take all wireless)
**Plug for Light Presence
**Alarm
-
- Posts: 21
- Joined: Monday 03 March 2014 18:33
- Target OS: Linux
- Domoticz version: beta
- Contact:
Re: Create Home alarm system with domoticz
Hi
I pose the same problem to install an anti-intrusion alarm from DOMOTICZ and ZWAVE.
I think installing smoke detectors SF812, a siren SE812 home EVERSPRING, the detectors ZP3102 VISION SECURITY, TAG READER keyboard from BENEXT.
My first question is whether these devices are recognized by DOMOTICZ.
Then, to complete the installation, I can not find key 3G/GPRS and remote compatible with DOMOTICZ.
There may be other solutions, we can discuss.
best regards
I pose the same problem to install an anti-intrusion alarm from DOMOTICZ and ZWAVE.
I think installing smoke detectors SF812, a siren SE812 home EVERSPRING, the detectors ZP3102 VISION SECURITY, TAG READER keyboard from BENEXT.
My first question is whether these devices are recognized by DOMOTICZ.
Then, to complete the installation, I can not find key 3G/GPRS and remote compatible with DOMOTICZ.
There may be other solutions, we can discuss.
best regards
-
- Posts: 12
- Joined: Thursday 10 October 2013 20:34
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Create Home alarm system with domoticz
Hi,
one question regarding the BENEXT Tag Reader - it will not work with Domoticz, right?
I read some posts some time ago that the code functionality is not implemented in the protocol used by Domoticz and therefore you can just use the arm/disarm button only.
Was it extended in the meantime?
It would be great to arm and disarm the Domoticz alarm with this device fixed beside the entrance.
Thanks in advance
Willi
one question regarding the BENEXT Tag Reader - it will not work with Domoticz, right?
I read some posts some time ago that the code functionality is not implemented in the protocol used by Domoticz and therefore you can just use the arm/disarm button only.
Was it extended in the meantime?
It would be great to arm and disarm the Domoticz alarm with this device fixed beside the entrance.
Thanks in advance
Willi
Re: Create Home alarm system with domoticz
Hi,
I've succesfully configure Benext Tag Reader with domoticz and z-way.
Z-way can know the right use button ( home or away). when I arm the alarm, z-way make http request to make "on" a dummy device on domoticz, when i Disarm the dummy is set to "off". I use this value to manage the alarm.
If you have this configuration i can explain the process and post the code.
regard.
I've succesfully configure Benext Tag Reader with domoticz and z-way.
Z-way can know the right use button ( home or away). when I arm the alarm, z-way make http request to make "on" a dummy device on domoticz, when i Disarm the dummy is set to "off". I use this value to manage the alarm.
If you have this configuration i can explain the process and post the code.
regard.
-
- Posts: 12
- Joined: Thursday 10 October 2013 20:34
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Create Home alarm system with domoticz
Hi alibab,
thanks for your reply.
But it is not possible to use the keypad, right?
Thanks.
thanks for your reply.
But it is not possible to use the keypad, right?
Thanks.
Re: Create Home alarm system with domoticz
Yes, you can use keypad to enter the code for arm or disarm.
But this code in my case is set with z-way not with domoticz.
What is your zwave controller?
But this code in my case is set with z-way not with domoticz.
What is your zwave controller?
-
- Posts: 12
- Joined: Thursday 10 October 2013 20:34
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Create Home alarm system with domoticz
I am completely new to the ZWave topic - until now I have only worked with the rfxtrx 433Mhz components.
Can I install the razberry (http://razberry.z-wave.me/) on my raspberry pi and use it to recieve the code entered to use it in a script?
If that is possible, I can pass the entered code with the URL to Domoticz security to arm or disarm. If the code ist wrong it should not arm or disarm and I am happy.
I just want to make sure that a code is needed for arming/disarming - otherwise I could just use a normal switch that calls the URL with hardcoded pin (what is completlely unsecure).
Thanks!
Can I install the razberry (http://razberry.z-wave.me/) on my raspberry pi and use it to recieve the code entered to use it in a script?
If that is possible, I can pass the entered code with the URL to Domoticz security to arm or disarm. If the code ist wrong it should not arm or disarm and I am happy.
I just want to make sure that a code is needed for arming/disarming - otherwise I could just use a normal switch that calls the URL with hardcoded pin (what is completlely unsecure).
Thanks!
Re: Create Home alarm system with domoticz
Hi, yes I have dot it!
You can also send feed back to the tag reader when the alarm is arm or disarm ( like a sound),good to know if the action have been correctly interpreted.
The code is checking by the tag reader, and the tag reader send a corresponding message to the zwave controller ( arm or disarm and a user ID).
But all of this need litle customisation.
You can also send feed back to the tag reader when the alarm is arm or disarm ( like a sound),good to know if the action have been correctly interpreted.
The code is checking by the tag reader, and the tag reader send a corresponding message to the zwave controller ( arm or disarm and a user ID).
But all of this need litle customisation.
-
- Posts: 12
- Joined: Thursday 10 October 2013 20:34
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Create Home alarm system with domoticz
That's cool I will buy Razberry and a Tag Reader.
Could you share your Code please?
Thanks alibab!
Could you share your Code please?
Thanks alibab!
Re: Create Home alarm system with domoticz
Yes, i'll share it after .
But now, i work
But now, i work
-
- Posts: 21
- Joined: Monday 03 March 2014 18:33
- Target OS: Linux
- Domoticz version: beta
- Contact:
Re: Create Home alarm system with domoticz
h1,
For me, I have a controller AEON_LABS STICK S2.
You must install the Razberry card also or just the software?
have a nice day
For me, I have a controller AEON_LABS STICK S2.
You must install the Razberry card also or just the software?
have a nice day
Re: Create Home alarm system with domoticz
If your AEON_LABS STICK S2 is compatible with the software ( z-way).
you can just install the software.
you can just install the software.
Re: Create Home alarm system with domoticz
With this system,I can use the tag reader in outdoor and the security panel from domoticz in the house ( with a android tablet).
the android tablet is use to manage all zwave device via domoticz and arm or disarm the alarm when i'm in the house
the android tablet is use to manage all zwave device via domoticz and arm or disarm the alarm when i'm in the house
-
- Posts: 12
- Joined: Thursday 10 October 2013 20:34
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Create Home alarm system with domoticz
Hey alibab,
did you post your code as attachement that has been removed or something?
Or didn't you have the chance to post it?
Thanks!
did you post your code as attachement that has been removed or something?
Or didn't you have the chance to post it?
Thanks!
Re: Create Home alarm system with domoticz
Hi ,
I h'aven't the chance to post it... sorry.
I post it later.
I h'aven't the chance to post it... sorry.
I post it later.
-
- Posts: 12
- Joined: Thursday 10 October 2013 20:34
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Create Home alarm system with domoticz
Nice!!!
Thanks in advance - I didn't want to put pressure on it
Thanks in advance - I didn't want to put pressure on it
Re: Create Home alarm system with domoticz
Hi, here is the code and configuration to use the tag reader with domoticz and z-way.
1/ add Domoticz dummy device to manage the alarme state:
in domoticz, we must add a dummy device to manage and store the alarme state ( arm or disarm)
first : add dummy hardware
second : add dummy device ( name for me is Alarme status)
2/configure the code to arm or disarm the alarme with the tag reader in z-way server
Go in z-way "expert mode" (1) and select "For expert" menu , select "expert command" (2).
Select tag reader device (3):
in "userCode" (4) link, set the code you want (5) to use, click the "Set" (6) user button.
3/configure the tag reader feed back ( tag reader emete sound when the code is right) , and the domoticz dummy device status change.
3.1/create a tagReader.js file in the automation folder of z-way server and put this code :
You must to put the right device ID , the rigth domoticz dummy device idx and the raspberry ip .
/*********** code start **********/
zway.devices[your device ID].Alarm.data[6][5].status.bind(function(){
console.log("tag reader: arm tag reader"); /* log */
zway.devices[your device ID].SwitchBinary.Set(255); /* Switch tag reader to "on" to send feed back */
sendEvent("On"); /* Set domoticz dummy device to "on" to save the alarme status */
});
zway.devices[your device ID].Alarm.data[6][6].status.bind(function(){
console.log("tag reader: disarm tag reader"); /* log */
zway.devices[your device ID].SwitchBinary.Set(255); /* Switch tag reader to "on" to send feed back */
sendEvent("Off"); /* Set domoticz dummy device to "off" to save the alarme status */
});
function sendEvent(status){
http.request({
methode: 'GET',
url:"http://your raspberry IP:8080/json.htm?type=command¶m=switchlight&idx=your domoticz device Id&switchcmd="+status,
header: {
"Content-Type": "application/json"
},
contentType: "application/json",
data: "",
async: true
});
console.log("http://your raspberry IP:8080/json.htm?type=command¶m=switchlight&idx=your domoticz device Idx&switchcmd="+status);
}
/*********** code end**********/
3.2 call this javascript code.
In the main.js file of z-way server, add this line after the line 'executeFile("storage.js");' :
executeFile("tagReader.js");
4/ configure event in domoticz :
configure your event to run buzzer when you door is open.
Like this :
1/ add Domoticz dummy device to manage the alarme state:
in domoticz, we must add a dummy device to manage and store the alarme state ( arm or disarm)
first : add dummy hardware
second : add dummy device ( name for me is Alarme status)
2/configure the code to arm or disarm the alarme with the tag reader in z-way server
Go in z-way "expert mode" (1) and select "For expert" menu , select "expert command" (2).
Select tag reader device (3):
in "userCode" (4) link, set the code you want (5) to use, click the "Set" (6) user button.
3/configure the tag reader feed back ( tag reader emete sound when the code is right) , and the domoticz dummy device status change.
3.1/create a tagReader.js file in the automation folder of z-way server and put this code :
You must to put the right device ID , the rigth domoticz dummy device idx and the raspberry ip .
/*********** code start **********/
zway.devices[your device ID].Alarm.data[6][5].status.bind(function(){
console.log("tag reader: arm tag reader"); /* log */
zway.devices[your device ID].SwitchBinary.Set(255); /* Switch tag reader to "on" to send feed back */
sendEvent("On"); /* Set domoticz dummy device to "on" to save the alarme status */
});
zway.devices[your device ID].Alarm.data[6][6].status.bind(function(){
console.log("tag reader: disarm tag reader"); /* log */
zway.devices[your device ID].SwitchBinary.Set(255); /* Switch tag reader to "on" to send feed back */
sendEvent("Off"); /* Set domoticz dummy device to "off" to save the alarme status */
});
function sendEvent(status){
http.request({
methode: 'GET',
url:"http://your raspberry IP:8080/json.htm?type=command¶m=switchlight&idx=your domoticz device Id&switchcmd="+status,
header: {
"Content-Type": "application/json"
},
contentType: "application/json",
data: "",
async: true
});
console.log("http://your raspberry IP:8080/json.htm?type=command¶m=switchlight&idx=your domoticz device Idx&switchcmd="+status);
}
/*********** code end**********/
3.2 call this javascript code.
In the main.js file of z-way server, add this line after the line 'executeFile("storage.js");' :
executeFile("tagReader.js");
4/ configure event in domoticz :
configure your event to run buzzer when you door is open.
Like this :
-
- Posts: 12
- Joined: Thursday 10 October 2013 20:34
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Create Home alarm system with domoticz
That's great! Thank you very much for providing your solution, Alibab!!!
Is it a problem to operate the raZberry on the same raspberry pi you run domoticz with the rfxtrx on? Do you use two Raspberry Pi for this solution or do you run everything on one Pi?
Thanks!
Is it a problem to operate the raZberry on the same raspberry pi you run domoticz with the rfxtrx on? Do you use two Raspberry Pi for this solution or do you run everything on one Pi?
Thanks!
Who is online
Users browsing this forum: No registered users and 0 guests