z-wave doorbell--finally (luup help)

This is a follow up to the DIY z-wave driveway alert (which is still going strong). Purchased Additional Dakota Alert WR-3000 wireless receiver and a Dakota Alert (DK-WR3000). According to the company, the WR-3000 receiver will receive any signals from 3000 devices. I ordered another Everspring SM103 Door/window detector as well. The Dakota alert and the Everspring were selected because the come set up for external wired connections which makes connecting the receiver to the z-wave sensor as easy as finding a small screwdriver. I’ve connected the sensor to the receiver (for detailed pics, go to z-wave driveway alert thread-- http://forum.micasaverde.com/index.php/topic,9737.0.html) I’ve re-included the connections pic from my other thread. Please note that I did find out what the different channel outputs are for. Each channel corresponds with a chime type which is set on the sending device via dip switches. Though I did not want to in my situation, you can use one receiver for multiple sending devices (up to 4). Each sending device will have its own unique tone/chime. You could get multiple sensors and wire one to each channel to trigger different vera scenes. You might even be able to wire multiple channels to the sensor to trigger one generic scene.

Since I often leave early in the morning before the rest of the family is awake, I decided to go with a separate receiver because it will be in our bedroom. Because of this, I want the receiver to only sound for the doorbell and not the driveway alert as well.

I’ve included the sensor with the same results as the driveway alert. The default status is sensor open (man running icon) and when doorbell is rung, the sensor is tripped and I get standing man icon on Vera.

The last step for the time being is to work out some luup code to blink and then leave on some lights for 10 minutes if the doorbell is rung between 11pm and 6am, otherwise do nothing. I have the luup code that is used for blink (attached), but I think the blink and then leave on for 10 minutes is different enough that I don’t know where to start. For the luup code, I can assume the lights are off, then blink twice, then stay on for 10 minutes between 11pm and 6am.

Any luup gurus out there who can help? I’ve now got an operational z-wave doorbell and now want to make it do stuff. :slight_smile:

Thank you,

David

I’m interested in understanding if you found the code for your setup or not? I’m in the process of creating my own driveway lights system based on your other driveway alert posting and would love to include leaving the driveway lights on for 5 mins once triggered. Thanks for the great help I got from your photos and step by step.

You can do this with just a scene … no LUUP code.
Create a scene with schedules:
Imediate:
5 Seconds: Light(s) On
10 Seconds: Light(s) Off
15 Seconds: Light(s) On
5 Minutes: Light(s) Off

Thanks RichardTSchaefer

The issue is limiting the scene so it only runs between times across two days. for Example in triangledave’s original post he wanted the lights to be triggers between 11pm and 6am. I don’t believe the schedule option in the setup of scenes can control this without some code? In my use I would like to limit the lights to run from 30 minutes before sunset until 30 minutes after sunrise.

Any and all suggestions and help would be great.

LUA code … or Program Logic Event Generator Plugin.

Awesome plug-in. Many thanks for the pointer and solution that avoids coding! The driveway setup and controls are all linked and working.