evanlifetv
Member
Hey all, trying to figure out how to send a push notification on a specific day of the week at sunset, essentially like a reminder. (Feed Fish, Feed Dog, Take Out Trash, Test Smoke Alarms, Change Airfilters, Happy Anniversary!
, etc...) Anyways, first off I would assume this is possible as I can do notifications based on zones etc, so I think I'm close, I just don't spend much time in code and am trying to give myself the lighting crash-course. Here is my code:
// Trash Day
function TrashDay(zone) {
if(dateDescription == Thursday && isDark == True) {
helper.sendNotification(controller, 'Take out Trash');
}
}
// End Trash Day
Any pointers, what am I missing? I would think this would be a common want or ask, but didn't see anything really like this in the past posts.
Thanks in advance.

// Trash Day
function TrashDay(zone) {
if(dateDescription == Thursday && isDark == True) {
helper.sendNotification(controller, 'Take out Trash');
}
}
// End Trash Day
Any pointers, what am I missing? I would think this would be a common want or ask, but didn't see anything really like this in the past posts.
Thanks in advance.