Notification of a sensor state

Hi, kind of new to Vera and appreciate the help.

I have a MimoLite connected to my garage door and a magnetic sensor that trips when the door is open. I’m trying to figure out how to have the system send me an alert at a certain time IF the sensor is tripped state, not WHEN it’s tripped.

I basically want to know every day a t midnight if my garage door is open.

Thanks for any help.

Dave

You would have to check at midnight using a scene scheduled for that time. It’s only a couple of lines of code, or you could use the PLEG app. What plugin do you use to send notifications?

I do exactly this with an external door. Works well.

Thanks, I kind of thought there would be a little code needed for the logic. I’ve got the scene scheduled. I’ll just have to find an example.

I don’t currently have a plugin for notifications, I thought that the Vera had a way to notify you and that was probably going to be my next question. I’ll check out the PLEG app.

Code example here:
[url=http://wiki.micasaverde.com/index.php/Luup_Lua_extensions#function:_variable_get]http://wiki.micasaverde.com/index.php/Luup_Lua_extensions#function:_variable_get[/url]

For notifications, it rather depends how you want to receive them… smart phone alers, email, …

Thanks akbooer. I loaded up the PLEG plugin and have it doing what I need to.