Is it possible to use the state of a switch as a motion sensor using D_MotionSensor1.xml?
Can you be more specific on what you are trying to do? Are you asking if you can change the type of the switch to D_MotionSensor1.xml? If this is the cause, I highly advise that you do not change the type of the device unless you know what you are doing. This can cause loss of functionality and weird side effects if the proper device file / type is used.
- Garrett
I have a traditional motion sensor (Output 230 V) connected to a switch. It simply switches on load2 where nothing is connected. That’s why I wanted it to handle like a motion sensor.
To clarify… you have a motion sensor that (when it detects) motion outputs 230Volts. You want to sense that voltage with a device that will convert the signal to ZWave.
Motion Sensed => Voltage ON => Send Signal to Vera (I am sensing motion)
Motion Off => Voltage OFF => Send Signal to Vera (Motion Stopped)
Is this right?
If yes, you will need to get a relay that when it senses 230Volts, converts that to a signal to something that a Zwave sensor can detect, usually not more than 24Volts. Look at the Mimo Lite (example), and depending on your relay, your location and your budget, you can find something to take this Line Voltage signal and convert it to a low voltage DC signal and then to a ZWave signal.
Again, in this scenario, you need two devices, a relay and a Zwave sensor.
I have a Z-Wave Switch that changes the state if a load is detected on S2. Because there is nothing on N2 it doesn’t do anything but giving the “Trigger-Signal” to Vera. I’m not using a Universal Binary Sensor.
In principle it already works on the switch base but I want to have an appropriate device.
perhaps you could share the manufacturers information for the devices you are using.
[quote=“dawiinci, post:5, topic:179459”]I have a Z-Wave Switch that changes the state if a load is detected on S2. Because there is nothing on N2 it doesn’t do anything but giving the “Trigger-Signal” to Vera. I’m not using a Universal Binary Sensor.
In principle it already works on the switch base but I want to have an appropriate device.[/quote]
If I understand you correctly, you have a binary switch device, a Fibaro Relay(?), that you are using it’s load sensing as a trigger for a scene. You would like to change the appearance of the Fibaro switch in the Vera GUI, so that it appears as a motion sensor in the display. Please correct me if I am misunderstanding.
If this is what you wish to do, it cannot be done in Vera’s UI5.
Yes, it is similar to the Fibaro (Philip Pan04). I forced it to be a motion sensor, but then it doesn’t trigger. So you’re right it cannot be done with Vera, UI6 btw.
Thank you all!
Bit of an indirect way, but if you’re just looking to see a motion sensor which state represents the state of your unconnected switch / the real motion sensor, you could create a virtual motion sensor and 2 scenes that control its [tt]Tripped[/tt] state based on the [tt]on[/tt]/[tt]off[/tt] events of the switch.
(I just quickly tried (something like) this out with PLEG and a dimmer.)