Low cost window/door sensor
Moderator: leecollings
-
- Posts: 54
- Joined: Saturday 16 August 2014 17:17
- Target OS: Linux
- Domoticz version: 3.6304
- Contact:
Re: Low cost window/door sensor
Thank you Raspberry Piet.
I'll try one on these detector to see if it can work.
I'll try one on these detector to see if it can work.
-
- Posts: 158
- Joined: Saturday 11 January 2014 16:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: NL
- Contact:
Re: Low cost window/door sensor
Keep us informed in this topic!nmaster wrote:Thank you Raspberry Piet.
I'll try one on these detector to see if it can work.
Re: Low cost window/door sensor
I created a small and simple Arduino based device and some code to be able to link any of these cheap 433Mhz devices to the RFXCOM & Domoticz.
All information can be found here: http://www.thice.nl/convert-cheap-433mh ... convertor/
Works really well here.
All information can be found here: http://www.thice.nl/convert-cheap-433mh ... convertor/
Works really well here.
-
- Posts: 402
- Joined: Wednesday 26 February 2014 15:28
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: the Netherlands
- Contact:
Re: Low cost window/door sensor
I bought also some of the 2262 switches but due to the fact that it only sends on "Off" or only an "On" command. I thought this wouldn't be a problem because I thought this would be solvable with some blocky events. But it does not send only an "Off" signal but the switch is also on "Off" and stays "Off". Therefore you can create a blocky event but this gets into a loop (switch is set to "on" therefore it is set to "off" and that sets it to "on" etc.) or doesn't doe anything at all.
Somebody knows a solution to this?
Somebody knows a solution to this?
-
- Posts: 54
- Joined: Saturday 16 August 2014 17:17
- Target OS: Linux
- Domoticz version: 3.6304
- Contact:
Re: Low cost window/door sensor
Hi,
Just received this cheap smoke detector http://www.aliexpress.com/item/433MHz-3 ... 52593.html
It is detected like other 2262.
There is jumper to set 1.5 / 3.3 / 4.7 M and code.
Just received this cheap smoke detector http://www.aliexpress.com/item/433MHz-3 ... 52593.html
It is detected like other 2262.
There is jumper to set 1.5 / 3.3 / 4.7 M and code.
-
- Posts: 6
- Joined: Wednesday 23 July 2014 22:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Low cost window/door sensor
decrxgarage wrote:I bought also some of the 2262 switches but due to the fact that it only sends on "Off" or only an "On" command. I thought this wouldn't be a problem because I thought this would be solvable with some blocky events. But it does not send only an "Off" signal but the switch is also on "Off" and stays "Off". Therefore you can create a blocky event but this gets into a loop (switch is set to "on" therefore it is set to "off" and that sets it to "on" etc.) or doesn't doe anything at all.
Somebody knows a solution to this?
Set an "off delay" for 10 seconds in the switch settings. that' how I use mine
-
- Posts: 402
- Joined: Wednesday 26 February 2014 15:28
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: the Netherlands
- Contact:
Re: Low cost window/door sensor
Can you post a screenshot?sultanhq wrote:decrxgarage wrote:I bought also some of the 2262 switches but due to the fact that it only sends on "Off" or only an "On" command. I thought this wouldn't be a problem because I thought this would be solvable with some blocky events. But it does not send only an "Off" signal but the switch is also on "Off" and stays "Off". Therefore you can create a blocky event but this gets into a loop (switch is set to "on" therefore it is set to "off" and that sets it to "on" etc.) or doesn't doe anything at all.
Somebody knows a solution to this?
Set an "off delay" for 10 seconds in the switch settings. that' how I use mine
-
- Posts: 6
- Joined: Wednesday 23 July 2014 22:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Low cost window/door sensor
decrxgarage wrote:Can you post a screenshot?sultanhq wrote:decrxgarage wrote:I bought also some of the 2262 switches but due to the fact that it only sends on "Off" or only an "On" command. I thought this wouldn't be a problem because I thought this would be solvable with some blocky events. But it does not send only an "Off" signal but the switch is also on "Off" and stays "Off". Therefore you can create a blocky event but this gets into a loop (switch is set to "on" therefore it is set to "off" and that sets it to "on" etc.) or doesn't doe anything at all.
Somebody knows a solution to this?
Set an "off delay" for 10 seconds in the switch settings. that' how I use mine
-
- Posts: 402
- Joined: Wednesday 26 February 2014 15:28
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: the Netherlands
- Contact:
Re: Low cost window/door sensor
I have it working now but there is some strange thing in the blocky.
I named the PT2262 switch "Signaalgever - 01" and added a switch off delay of 1 second.
Then I created a virtual sensor called "Schakelaar - 01"
With this 2 I created a event.
This works but the thing I think is a bug is the "Schakelaar - 01" must be "On" or "Open" but i have to set them to "On" or "Off". So if i change in the above "Open" to "On" and "Closed" to "Off" it doesn't work anymore.
I named the PT2262 switch "Signaalgever - 01" and added a switch off delay of 1 second.
Then I created a virtual sensor called "Schakelaar - 01"
With this 2 I created a event.
This works but the thing I think is a bug is the "Schakelaar - 01" must be "On" or "Open" but i have to set them to "On" or "Off". So if i change in the above "Open" to "On" and "Closed" to "Off" it doesn't work anymore.
- mbliek
- Posts: 194
- Joined: Friday 12 July 2013 14:08
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: the Netherlands
- Contact:
Re: Low cost window/door sensor
I think that schakelaar - 01 must be contact instead of door lock as switch type.
Op zoek naar een Domoticz Start Set?
-
- Posts: 402
- Joined: Wednesday 26 February 2014 15:28
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: the Netherlands
- Contact:
Re: Low cost window/door sensor
That's possible but the PT2262 switch is connected to a door so thats why I used the doorswitch. Nevertheless is works but not as I expected because the state is "Open" and it must be set with a "On" command.mbliek wrote:I think that schakelaar - 01 must be contact instead of door lock as switch type.
- mbliek
- Posts: 194
- Joined: Friday 12 July 2013 14:08
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: the Netherlands
- Contact:
Re: Low cost window/door sensor
But a door lock is a electric lock on the door.decrxgarage wrote:That's possible but the PT2262 switch is connected to a door so thats why I used the doorswitch. Nevertheless is works but not as I expected because the state is "Open" and it must be set with a "On" command.mbliek wrote:I think that schakelaar - 01 must be contact instead of door lock as switch type.
So On means door locked and open means door unlocked.
The switch type contact is an magnetic contact that detects if the door is open or closed.
Op zoek naar een Domoticz Start Set?
-
- Posts: 890
- Joined: Tuesday 30 September 2014 8:49
- Target OS: Linux
- Domoticz version: beta
- Location: The Netherlands
- Contact:
Re: Low cost window/door sensor
I also received this cheap sensor today.
In my case it only sends an 'on' signal. I put the off delay at 5 seconds. If yours only sends 'off', create an 'on' delay
You can then create an event like this:
Mine has an PT2264 chip, and is recognized as 'Lighting4', subtype 'PT2262'.
I have the jumper on the yellow place like in this picture: http://i58.tinypic.com/16j3grc.jpg (and also the jumper in the left corner, and the 3M3 jumper).
In my case it only sends an 'on' signal. I put the off delay at 5 seconds. If yours only sends 'off', create an 'on' delay
You can then create an event like this:
Code: Select all
IF doorcontact = on AND lamp1 = Off
DO SET lamp1 = On FOR 5 minutes
I have the jumper on the yellow place like in this picture: http://i58.tinypic.com/16j3grc.jpg (and also the jumper in the left corner, and the 3M3 jumper).
I am not active on this forum anymore.
-
- Posts: 10
- Joined: Thursday 04 December 2014 16:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Low cost window/door sensor
I cant find my door sensor in Domoticz. Any idea?
- Latest version Domoticz
- Lightning checked on "set mode"
- New Battery
- Allowed to find new hardware
- Red led works.
- Tried 2 new batterys
- Latest version Domoticz
- Lightning checked on "set mode"
- New Battery
- Allowed to find new hardware
- Red led works.
- Tried 2 new batterys
-
- Posts: 135
- Joined: Monday 27 January 2014 14:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Netherlands
- Contact:
Re: Low cost window/door sensor
It should work.
What does your log say? Is there a new device recognized like this:
Tue Dec 30 17:27:10 2014 (RFXtrx433E) Lighting 4 (Unknown)
If not then try to set your jumper (a1h) to the lower pins
What does your log say? Is there a new device recognized like this:
Tue Dec 30 17:27:10 2014 (RFXtrx433E) Lighting 4 (Unknown)
If not then try to set your jumper (a1h) to the lower pins
Raspberry Pi Type B
Raspberry Pi Type B2
RFXCOMtrx433e
Raspberry Pi Type B2
RFXCOMtrx433e
-
- Posts: 158
- Joined: Saturday 11 January 2014 16:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: NL
- Contact:
Re: Low cost window/door sensor
Got a 315Mhz version instead of 433Mhz?
(Check printed text on top of the metal saw filter)
(Check printed text on top of the metal saw filter)
-
- Posts: 10
- Joined: Thursday 04 December 2014 16:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Low cost window/door sensor
There it is. R315ARaspberry Piet wrote:Got a 315Mhz version instead of 433Mhz?
(Check printed text on top of the metal saw filter)
-
- Posts: 890
- Joined: Tuesday 30 September 2014 8:49
- Target OS: Linux
- Domoticz version: beta
- Location: The Netherlands
- Contact:
Re: Low cost window/door sensor
Ouch!
Fortunately they aren't very expensive
Fortunately they aren't very expensive
I am not active on this forum anymore.
-
- Posts: 10
- Joined: Thursday 04 December 2014 16:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Low cost window/door sensor
I already contacted banggood, i ordered the 433 version, so it's not my fault. Anyway, i also ordered 2 others from eBay to play with
-
- Posts: 135
- Joined: Monday 27 January 2014 14:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Netherlands
- Contact:
Re: Low cost window/door sensor
Is the problem that you've posted here solved yet?: http://www.domoticz.com/forum/viewtopic.php?f=28&t=4740
Raspberry Pi Type B
Raspberry Pi Type B2
RFXCOMtrx433e
Raspberry Pi Type B2
RFXCOMtrx433e
Who is online
Users browsing this forum: No registered users and 1 guest