Cheap 433MHz door sensor (with open and close)

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.
oasisnl
Posts: 22
Joined: Wednesday 22 November 2017 0:43
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Cheap 433MHz door sensor (with open and close)

Post by oasisnl » Friday 01 December 2017 2:55

these are dzvents scripts.
they should be placed in /path/to/domoticz/scripts/dzVents/scripts . Just activated the first contact and works great.

BarnaM7
Posts: 2
Joined: Wednesday 06 July 2016 19:17
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Cheap 433MHz door sensor (with open and close)

Post by BarnaM7 » Sunday 07 January 2018 20:21

Hi,

I'm going to buy same of this sensor.
I have some mysensor nodes and sonoff switches with ESPurna firmware, but I'm not familiar with 433Mhz based sensors. I would like to buy an sonoff 433 bridge for the 433mhz door sensors and replace the firmware too.
I think this could be a good setup, am I right ? Or build a RFLINK gateway ?

Do you have any tip for 433Mhz based temp sensor?

thanks

Barna

marhar
Posts: 2
Joined: Saturday 13 January 2018 15:57
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Cheap 433MHz door sensor (with open and close)

Post by marhar » Saturday 13 January 2018 16:08

Hello, I orderd a few at aliexpress.
When I add one in domoticz (v3.8153 on synology with RFXtrx44e) as mentioned in the movie I only get one device and not 2.
The device is added as a "x10 security" motion detector.
How can I get 2 devices so that I can see on or off ?
Can someone helpme out??
cheers Marc
Last edited by marhar on Saturday 13 January 2018 20:27, edited 1 time in total.

bjacobse
Posts: 78
Joined: Tuesday 06 September 2016 9:08
Target OS: Raspberry Pi
Domoticz version:
Location: Bunkeflostrand, SE
Contact:

Re: Cheap 433MHz door sensor (with open and close)

Post by bjacobse » Saturday 13 January 2018 19:41

How long batterylifetime have you experienced?

marhar
Posts: 2
Joined: Saturday 13 January 2018 15:57
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Cheap 433MHz door sensor (with open and close)

Post by marhar » Saturday 13 January 2018 20:15

bjacobse wrote:
Saturday 13 January 2018 19:41
How long batterylifetime have you experienced?
I just got them so I don't know.

JelteV
Posts: 23
Joined: Wednesday 04 January 2017 20:55
Target OS: Raspberry Pi
Domoticz version: Beta
Contact:

Re: Cheap 433MHz door sensor (with open and close)

Post by JelteV » Wednesday 14 February 2018 15:43

bjacobse wrote:
Saturday 13 January 2018 19:41
How long batterylifetime have you experienced?
Still running on the original battery.

d4nh
Posts: 7
Joined: Friday 30 January 2015 17:53
Target OS: Linux
Domoticz version:
Contact:

Re: Cheap 433MHz door sensor (with open and close)

Post by d4nh » Wednesday 28 March 2018 9:59

sadly mine are not being detected by domoticz, might be a faulty one :(

weird... turned the magnet, now it worked for the open detection.
no closing device turned up in the list


nope.. no luck. not updating realtime. think i have a faulty product :(

plampix
Posts: 1
Joined: Monday 17 July 2017 13:28
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Cheap 433MHz door sensor (with open and close)

Post by plampix » Wednesday 11 April 2018 21:02

Even simpler would be this generic solution (follow JelteV's instructions, just call the on/off devices $device/close and $device/open, and the main device $device). This will work for all your */close and */open devices!

Code: Select all

return {
	active = true, -- set to false to disable this script
	on = {
		devices = {
			'*/close',
			'*/open'
		},
	},
	-- in case of a timer event or security event, device == nil
	execute = function(domoticz, device)
		if (device.changed) then
		    target, action = string.match(device.name, '(.+)/(.+)');
		    if (action == 'close') then
			    domoticz.devices(target).close();
			elseif (action == 'open') then
			    domoticz.devices(target).open();
			end
			
		end
	end
}

harolds
Posts: 13
Joined: Saturday 22 April 2017 13:47
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Cheap 433MHz door sensor (with open and close)

Post by harolds » Monday 10 September 2018 9:10

Super cool script! Working like a charm 8-)

lucdc
Posts: 1
Joined: Wednesday 26 September 2018 18:00
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Cheap 433MHz door sensor (with open and close)

Post by lucdc » Wednesday 26 September 2018 18:15

plampix wrote:
Wednesday 11 April 2018 21:02
Even simpler would be this generic solution (follow JelteV's instructions, just call the on/off devices $device/close and $device/open, and the main device $device). This will work for all your */close and */open devices!
Great script plampix, thank you! The only inconvenience that I found is that, when you hide the on/off devices by starting their name with a "$" sign, the name of the main device will also have to start with a "$" sign, and will be hidden as well. I solved it by slightly modifying one line in your script: I changed

Code: Select all

target, action = string.match(device.name, '(.+)/(.+)');
into

Code: Select all

target, action = string.match(device.name, '$?(.+)/(.+)');
and now the name of the main device can, but does not have to start with a "$".

cherowley
Posts: 86
Joined: Tuesday 24 February 2015 16:54
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Cheap 433MHz door sensor (with open and close)

Post by cherowley » Saturday 03 November 2018 15:02

Thanks for the heads-up on these, modded them to monitor locked status on all my uPVC doors.

Surprisingly easy, just moved the reed switch to behind the dead bolt recess and glued a tiny magnet on the end of the dead bolt.

Simples! Now Alexa warns me when going out or to bed if any door is unlocked 😁

Jubbes
Posts: 8
Joined: Wednesday 24 October 2018 14:35
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Cheap 433MHz door sensor (with open and close)

Post by Jubbes » Tuesday 06 November 2018 5:36

Hallo, where must i write in the script the 2 names from the devices front door open/close (event) and the name from the virtual button front door?
Thanks

cherowley
Posts: 86
Joined: Tuesday 24 February 2015 16:54
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Cheap 433MHz door sensor (with open and close)

Post by cherowley » Wednesday 07 November 2018 16:30

Jubbes wrote:
Tuesday 06 November 2018 5:36
Hallo, where must i write in the script the 2 names from the devices front door open/close (event) and the name from the virtual button front door?
Thanks
I used a lua script (setup/more options/events):

commandArray = {}

if devicechanged["$Open3"] and devicechanged["$Open3"]=='On' then
commandArray['Front Door'] = "Off"
end
if devicechanged["$Close3"] and devicechanged["$Close3"]=='On' then
commandArray['Front Door'] = "On"
end

return commandArray

Dave21w
Posts: 15
Joined: Sunday 29 November 2015 22:55
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Cheap 433MHz door sensor (with open and close)

Post by Dave21w » Wednesday 07 November 2018 21:43

I have a couple of these :-

https://www.ebay.co.uk/itm/KERUI-D026-W ... 2394768280

That I am using on my doors, not quite as cheap but you see them as one X10 Security device, status is shown as Normal when closed and Alarm when open, I'm fairly new to Domoticz so not sure if the status could be changed to Open and Closed instead, either way they seem reliable, if used with the kerui alarm system they apparently report low battery too but not had mine long enough to see if thats the case with Domoticz too. Also if you don't like the blue writing on the side a little rubbing with isopropanol alcohol removes its so just plain white goes well with UPC.
Also the D026 model is the newer one, the previous D025 only report an open not a close so don't get that one.

Not tried the below yet but I assume they will work too.

https://www.ebay.co.uk/itm/KERUI-433Mh- ... 3457750875

Hope the info helps

P.S A search for Kerui D026 on amazon will get you some too

renerene
Posts: 140
Joined: Wednesday 03 August 2016 11:36
Target OS: -
Domoticz version:
Contact:

Re: Cheap 433MHz door sensor (with open and close)

Post by renerene » Thursday 08 November 2018 8:20

Those KERU D026 don't last a year with a battery. I'm guessing more like 8 months. I use 3 of them, indoors. Because they use the expensive A23 battery, I was hoping for better.

brjhaverkamp
Posts: 11
Joined: Wednesday 06 December 2017 17:42
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Cheap 433MHz door sensor (with open and close)

Post by brjhaverkamp » Thursday 15 November 2018 22:01

Hi all,

I recently got a bunch of D026 as well.
I operate domoticz on a Rpi with an RFlink gateway attached. This is probably different than your Rfxcon setup.

in my case rflink detects 3 independent switches on the device.
Switch 00 emits off when the door opens
Switch 02 is the tamperswitch on the back and ends an On signal when pressed
Switch 03 emits on when the door closes
There is probably a signal for low battery, but I havent gotten that far.

My question now is, what does it exactly look like when using an Rfxcon? I would rather have one single device. Is this something that is should be done on the rflink/rfxcon side, or is that a config file for the device in domoticz itself?

I have a similar issue with the Keriu P829 PIRs. They show up as 1 switch where the motion is an off signal and the tamper the on signal. Very handy. I solved that for now with 2 dummy devices and some json magic.
But I now have 3 devices in domoticz for each physical one. I would like to clean that up a bit.

Bert

Joep123
Posts: 29
Joined: Monday 26 March 2018 18:44
Target OS: Raspberry Pi
Domoticz version: Beta
Contact:

Re: Cheap 433MHz door sensor (with open and close)

Post by Joep123 » Thursday 15 November 2018 23:15

brjhaverkamp wrote:
Thursday 15 November 2018 22:01
My question now is, what does it exactly look like when using an Rfxcon? I would rather have one single device. Is this something that is should be done on the rflink/rfxcon side, or is that a config file for the device in domoticz itself?
With a RFXCom the D026 sensor shows up as just 1 device.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 4 guests