Page 5 of 15

Re: Low cost window/door sensor

Posted: Sunday 24 August 2014 0:53
by nmaster
Thank you Raspberry Piet.

I'll try one on these detector to see if it can work.

Re: Low cost window/door sensor

Posted: Sunday 24 August 2014 1:26
by Raspberry Piet
nmaster wrote:Thank you Raspberry Piet.

I'll try one on these detector to see if it can work.
Keep us informed in this topic!

Re: Low cost window/door sensor

Posted: Monday 25 August 2014 0:07
by Thice
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.

Re: Low cost window/door sensor

Posted: Sunday 21 September 2014 20:28
by roblom
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?

Re: Low cost window/door sensor

Posted: Monday 22 September 2014 0:33
by nmaster
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.

Re: Low cost window/door sensor

Posted: Wednesday 24 September 2014 17:56
by sultanhq
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

Re: Low cost window/door sensor

Posted: Thursday 25 September 2014 22:29
by roblom
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
Can you post a screenshot?

Re: Low cost window/door sensor

Posted: Monday 29 September 2014 11:44
by sultanhq
decrxgarage wrote:
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
Can you post a screenshot?
switch.GIF
switch.GIF (29.92 KiB) Viewed 7535 times

Re: Low cost window/door sensor

Posted: Wednesday 01 October 2014 22:05
by roblom
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.
Signaalgever - 01
Signaalgever - 01
Signaalgever - 01.jpg (69.58 KiB) Viewed 7491 times
Then I created a virtual sensor called "Schakelaar - 01"
Schakelaar - 01
Schakelaar - 01
Schakelaar - 01.jpg (57.48 KiB) Viewed 7491 times
With this 2 I created a event.
Blocky
Blocky
Blocky test.jpg (101.88 KiB) Viewed 7491 times
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.

Re: Low cost window/door sensor

Posted: Thursday 02 October 2014 9:43
by mbliek
I think that schakelaar - 01 must be contact instead of door lock as switch type.

Re: Low cost window/door sensor

Posted: Sunday 05 October 2014 14:24
by roblom
mbliek wrote:I think that schakelaar - 01 must be contact instead of door lock as switch type.
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.

Re: Low cost window/door sensor

Posted: Sunday 05 October 2014 14:35
by mbliek
decrxgarage wrote:
mbliek wrote:I think that schakelaar - 01 must be contact instead of door lock as switch type.
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.
But a door lock is a electric lock on the door.
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.

Re: Low cost window/door sensor

Posted: Wednesday 24 December 2014 22:36
by ThinkPad
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:

Code: Select all

IF doorcontact = on AND lamp1 = Off
DO SET lamp1 = On FOR 5 minutes
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).

Re: Low cost window/door sensor

Posted: Tuesday 30 December 2014 17:20
by Dountill
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

Image

Re: Low cost window/door sensor

Posted: Tuesday 30 December 2014 17:38
by Heisenberg
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

Re: Low cost window/door sensor

Posted: Tuesday 30 December 2014 17:51
by Raspberry Piet
Got a 315Mhz version instead of 433Mhz?
(Check printed text on top of the metal saw filter)

Re: Low cost window/door sensor

Posted: Tuesday 30 December 2014 18:45
by Dountill
Raspberry Piet wrote:Got a 315Mhz version instead of 433Mhz?
(Check printed text on top of the metal saw filter)
There it is. R315A :(

Re: Low cost window/door sensor

Posted: Wednesday 31 December 2014 16:24
by ThinkPad
Ouch! :(

Fortunately they aren't very expensive :)

Re: Low cost window/door sensor

Posted: Thursday 01 January 2015 19:46
by Dountill
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 :)

Re: Low cost window/door sensor

Posted: Friday 02 January 2015 22:59
by Heisenberg
Is the problem that you've posted here solved yet?: http://www.domoticz.com/forum/viewtopic.php?f=28&t=4740