Low cost window/door sensor

Others (MiLight, Hue, Toon etc...)

Moderator: leecollings

SweetPants

Re: Low cost window/door sensor

Post by SweetPants »

When you open the door (contact), which of the LED's turn on?
If both turn on, your battery is low and LP also lights up. Turns out that my battery only lasted for around 6 months. After changing for a new one all worked well again.
jackslayter
Posts: 59
Joined: Tuesday 07 October 2014 11:00
Target OS: Raspberry Pi / ODroid
Domoticz version: stable
Location: France RA
Contact:

Re: Low cost window/door sensor

Post by jackslayter »

yes led works but no signal is received by domoticz
RPi2 + RFLink, Domoticz
Chacon - micromodule 200w, remote 3b, 2x module 1000w, remote 16b, smoke detector, door contact, 2x 3500w plug
Oregon - 3x Thgr122Nx / OWL - CM180 / TRC02_2 RGB / Cheap - PiR, door contact, Temp Hum / 4x REVOLT NC5461
Raspberry Piet
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

Post by Raspberry Piet »

jackslayter wrote:yes led works but no signal is received by domoticz
Have you checked with RFXmngr?
jackslayter
Posts: 59
Joined: Tuesday 07 October 2014 11:00
Target OS: Raspberry Pi / ODroid
Domoticz version: stable
Location: France RA
Contact:

Re: Low cost window/door sensor

Post by jackslayter »

no but I can add to domoticz at the beginning and after it doesn't work (1 day for example)
RPi2 + RFLink, Domoticz
Chacon - micromodule 200w, remote 3b, 2x module 1000w, remote 16b, smoke detector, door contact, 2x 3500w plug
Oregon - 3x Thgr122Nx / OWL - CM180 / TRC02_2 RGB / Cheap - PiR, door contact, Temp Hum / 4x REVOLT NC5461
ThinkPad
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

Post by ThinkPad »

Tried new batteries?
I am not active on this forum anymore.
jackslayter
Posts: 59
Joined: Tuesday 07 October 2014 11:00
Target OS: Raspberry Pi / ODroid
Domoticz version: stable
Location: France RA
Contact:

Re: Low cost window/door sensor

Post by jackslayter »

I plug with 12vdc power supply and signal isn't received by domoticz, I will try with RFXmngr.

same problem on RFXmngr , no signal
Last edited by jackslayter on Thursday 12 February 2015 8:43, edited 1 time in total.
RPi2 + RFLink, Domoticz
Chacon - micromodule 200w, remote 3b, 2x module 1000w, remote 16b, smoke detector, door contact, 2x 3500w plug
Oregon - 3x Thgr122Nx / OWL - CM180 / TRC02_2 RGB / Cheap - PiR, door contact, Temp Hum / 4x REVOLT NC5461
deennoo
Posts: 784
Joined: Wednesday 10 December 2014 13:06
Target OS: Linux
Domoticz version: beta
Location: Bordeaux France
Contact:

Re: Low cost window/door sensor

Post by deennoo »

Thice wrote: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.
Tahnk You for this !!
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
ThinkPad
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

Post by ThinkPad »

So, i got a cheap 433Mhz remote with 2 buttons ('A' and 'B') from eBay.

I was able to get a cheap Intertek / Eurodomest paired to it (turned off when i pressed the 'A' button), but Domoticz doesn't seem to pick it up.
When i opened the remote, i saw a SCT2260 chip, which seems to be a clone of the PT2262 if i have to believe this page: http://kinavara.blogspot.nl/2015/02/rem ... -chip.html

I tried to solder the blobs like in this PIR of Raspberry Piet: http://i.imgur.com/tHGAykd.jpg
But doesn't work.

Anyone got a clue about how to solder the blobs? The remote is 433Mhz for sure, because it has a crystal 'BX R433A' in it, and the Intertek / Eurodomest socket responded to it (probably ARC protocol?).
I already have the PIR from this thread, so my Domoticz can receive PT2262 (Lighting4) protocol.

Edit: Hmm weird, RFXmngr doesn't pick up anything, even with 'undec on' :?: Not with the solder blobs in default configuration, but also not in modified situation.
But the Intertek / Eurodomest plugsocket still responds to it when i solder the blobs back to default... wtf :P
I am not active on this forum anymore.
ThinkPad
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

Post by ThinkPad »

After mailing b_weijenberg from RFXCOM a photo of the PCB in the switch and a link to the datasheet, he told me i had to replace one (tiny SMD) resistor, marked 'R4' on the PCB.
It was marked '475' which stands for 4.7MΩ. b_weijenberg told me i had to replace it with a 3.9MΩ resistor. I first tried tying 3x 1MΩ resistors together and Domoticz picked it straight up! (Lightning4, PT2262).

But these (in comparison with the old one) huge resistors wouldn't fit the casing. I remembered that i still had a broken doorcontact lying around. I used the SMD calculator to find what 3.3MΩ must have for description. '335' it said.
So i opened the doorcontact and found a tiny 335 resistor. Desoldered and soldered it into the remote, and tadaaaaah it was working :)
I am not active on this forum anymore.
Raspberry Piet
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

Post by Raspberry Piet »

ThinkPad wrote:After mailing b_weijenberg from RFXCOM a photo of the PCB in the switch and a link to the datasheet, he told me i had to replace one (tiny SMD) resistor, marked 'R4' on the PCB.
It was marked '475' which stands for 4.7MΩ. b_weijenberg told me i had to replace it with a 3.9MΩ resistor. I first tried tying 3x 1MΩ resistors together and Domoticz picked it straight up! (Lightning4, PT2262).

But these (in comparison with the old one) huge resistors wouldn't fit the casing. I remembered that i still had a broken doorcontact lying around. I used the SMD calculator to find what 3.3MΩ must have for description. '335' it said.
So i opened the doorcontact and found a tiny 335 resistor. Desoldered and soldered it into the remote, and tadaaaaah it was working :)
Indeed value of that specific resistor needs to be 3.3MΩ
Changing the value of this resistor changes the oscillation frequency

ThinkPad, you have proven to be very handy now :lol: ( as a matter of fact you often proved that already before!)
ThinkPad
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

Post by ThinkPad »

Haha thanks :)

It was not that hard, could have figured it out myself with some more time. But went for the easy way and asked b_weijenberg because he probably has seen many of these devices.
And i was lucky that i had a 3.3 resistor from the doorcontact, otherwise i would have had a problem. I don't have any SMD resistors in stock, only the plain old big ones :p
I am not active on this forum anymore.
cosmo61
Posts: 6
Joined: Tuesday 17 February 2015 11:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Sweden
Contact:

Re: Low cost window/door sensor

Post by cosmo61 »

I bought this two (15,31€ Free Shipping) 433mhz standalone smoke alarm, little more expensive ! :)
Work right out of the box with PT2262.
http://www.aliexpress.com/item/433mhz-o ... 82671.html
roblom
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

Post by roblom »

Is it possible that this cheap sensor does work with the RFXtrx433 and doesn't work with the RFXtrx433E?
I changed from the old RFXcom to the "E" version but it looks like the sensors aren't working anymore.
ThinkPad
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

Post by ThinkPad »

No :mrgreen:

I have the doorcontact working with RFXtrx433e.

Have you enabled the Lighting4 protocol?
I am not active on this forum anymore.
oopee
Posts: 40
Joined: Monday 12 August 2013 11:15
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.x
Location: Finland
Contact:

Re: Low cost window/door sensor

Post by oopee »

@roblom: I have RFXtrx433 with newest FW86. If I enable Fineoffset/Viking protocol the Lightning4 devices are not received anymore. Do you use those two protocols together?
In RFXtrx user guide, there is no indication that those two protocols are conflicting. I have contacted Bert regarding this issue.
roblom
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

Post by roblom »

ThinkPad wrote:Have you enabled the Lighting4 protocol?
Thanks. Strange but I didn't remember that I had it enabled.

Now second thing is, can I change the "sub" channel of this sensors? I have 3 of them but domoticz sees them as one.
ThinkPad
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

Post by ThinkPad »

:)

Change the jumpers. See this post from Raspberry Piet: http://www.domoticz.com/forum/viewtopic ... =40#p17076
He has 4 jumpers in the upper left corner, if you change these a bit random (one position between, some of them little bit more to the right etc) the unit will transmit a different device ID.
I am not active on this forum anymore.
roblom
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

Post by roblom »

ThinkPad wrote::)

Change the jumpers. See this post from Raspberry Piet: http://www.domoticz.com/forum/viewtopic ... =40#p17076
He has 4 jumpers in the upper left corner, if you change these a bit random (one position between, some of them little bit more to the right etc) the unit will transmit a different device ID.
If you know it it is quite logic :roll:
Thanks
allasia
Posts: 1
Joined: Wednesday 20 May 2015 23:18
Target OS: Linux
Domoticz version:
Contact:

Re: Low cost window/door sensor

Post by allasia »

cosmo61 wrote:I bought this two (15,31€ Free Shipping) 433mhz standalone smoke alarm, little more expensive ! :)
Work right out of the box with PT2262.
http://www.aliexpress.com/item/433mhz-o ... 82671.html
Hello, i've received those last week as well, but somehow i don't see them in domoticz, i have undec on, and lighting 4 enabled. Did you make some special changes to the jumpers?

Nevermind, somehow this morning they showed up.
User avatar
LouiS22
Posts: 433
Joined: Friday 27 February 2015 13:21
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Budapest, Hungary
Contact:

Re: Low cost window/door sensor

Post by LouiS22 »

allasia wrote:
cosmo61 wrote:I bought this two (15,31€ Free Shipping) 433mhz standalone smoke alarm, little more expensive ! :)
Work right out of the box with PT2262.
http://www.aliexpress.com/item/433mhz-o ... 82671.html
Hello, i've received those last week as well, but somehow i don't see them in domoticz, i have undec on, and lighting 4 enabled. Did you make some special changes to the jumpers?

Nevermind, somehow this morning they showed up.
Same problem, doesn't show up. Time to play with the jumpers i guess.

Update: Tricky one: you have to press and hold the test button to trigger it. After that, device is visible :)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest