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: 52
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: 22
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
}

Post Reply

Who is online

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