Cheap 433MHz door sensor (with open and close)
Moderators: leecollings, remb0
-
- Posts: 22
- Joined: Tuesday 21 November 2017 23:43
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Cheap 433MHz door sensor (with open and close)
these are dzvents scripts.
they should be placed in /path/to/domoticz/scripts/dzVents/scripts . Just activated the first contact and works great.
they should be placed in /path/to/domoticz/scripts/dzVents/scripts . Just activated the first contact and works great.
-
- Posts: 2
- Joined: Wednesday 06 July 2016 19:17
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Cheap 433MHz door sensor (with open and close)
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
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
-
- Posts: 2
- Joined: Saturday 13 January 2018 14:57
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Cheap 433MHz door sensor (with open and close)
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
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 19:27, edited 1 time in total.
-
- Posts: 85
- Joined: Tuesday 06 September 2016 9:08
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Sorø, DK
- Contact:
Re: Cheap 433MHz door sensor (with open and close)
How long batterylifetime have you experienced?
Re: Cheap 433MHz door sensor (with open and close)
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

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

-
- Posts: 2
- Joined: Monday 17 July 2017 13:28
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Cheap 433MHz door sensor (with open and close)
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
}
-
- Posts: 12
- Joined: Saturday 22 April 2017 13:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Cheap 433MHz door sensor (with open and close)
Super cool script! Working like a charm 

-
- Posts: 1
- Joined: Wednesday 26 September 2018 18:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Vilvoorde, Belgium
- Contact:
Re: Cheap 433MHz door sensor (with open and close)
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, '(.+)/(.+)');
Code: Select all
target, action = string.match(device.name, '$?(.+)/(.+)');
-
- Posts: 65
- Joined: Tuesday 24 February 2015 15:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Cheap 433MHz door sensor (with open and close)
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
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
-
- Posts: 33
- Joined: Wednesday 24 October 2018 14:35
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Cheap 433MHz door sensor (with open and close)
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
Thanks
-
- Posts: 65
- Joined: Tuesday 24 February 2015 15:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Cheap 433MHz door sensor (with open and close)
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
-
- Posts: 375
- Joined: Sunday 29 November 2015 21:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: UK
- Contact:
Re: Cheap 433MHz door sensor (with open and close)
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
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
Re: Cheap 433MHz door sensor (with open and close)
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.
-
- Posts: 56
- Joined: Wednesday 06 December 2017 16:42
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Cheap 433MHz door sensor (with open and close)
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
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
-
- Posts: 56
- Joined: Monday 26 March 2018 18:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Contact:
Re: Cheap 433MHz door sensor (with open and close)
With a RFXCom the D026 sensor shows up as just 1 device.brjhaverkamp wrote: ↑Thursday 15 November 2018 21: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?
-
- Posts: 56
- Joined: Wednesday 06 December 2017 16:42
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Cheap 433MHz door sensor (with open and close)
Hi Joep,
Can you give me a bit more detail? Does the device have 3 states then: Open/Close/Tamper/Low battery, or how does that work?
Could you share a screenshot maybe?
Can you give me a bit more detail? Does the device have 3 states then: Open/Close/Tamper/Low battery, or how does that work?
Could you share a screenshot maybe?
-
- Posts: 375
- Joined: Sunday 29 November 2015 21:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: UK
- Contact:
Re: Cheap 433MHz door sensor (with open and close)
I'm at work at the moment but I'll see what I can sort out when I get home, can certainly do some screen shots.
Dave
Dave
-
- Posts: 375
- Joined: Sunday 29 November 2015 21:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: UK
- Contact:
Re: Cheap 433MHz door sensor (with open and close)
Here's a few screen grabs of what my sensor reports as and its states, when I added it to my system all i did well tell domoticz to learn a new switch and then activated it by closing the door.
Hope it helps.
Hope it helps.
- Attachments
-
- back door closed devices table.jpg (8.21 KiB) Viewed 3333 times
-
- back door closed.jpg (10.08 KiB) Viewed 3333 times
-
- back door open.jpg (9.45 KiB) Viewed 3333 times
Who is online
Users browsing this forum: No registered users and 1 guest