Mailbox sensor (Arduino pro mini + NRF24L01+) Luup code?
-
Hi everyone!
I´m finished with my sensor and got it to work in vera edge with the serial gateway.
I also use sonos plugin for this that tells me when I have mail.
Now I got to the point when I need some new luup code, (I think?)
Because, I don`t want my sonos to tell me that I got mail at night for example. ( I know I can set this in vera, but I think there is a better way?)
I don`t use modes in my vera yet, so that is not an option.
Is someone have a smart idea of what I can do to make this good?
I got mail around 12.30-16.00.
/Mikael
-
I use a PLEG condition like this: "MailboxOpened AND (09:00:00; NOW; 22:00:00)"
-
Have you set the sensor for different modes like away and home etc.?
If I get a message that I have mail and I go out and take the mail, then it will say that I have mail again...
What could PLEG do that Vera UI7 can`t?
-
- No
I haven't moved to UI7 so I couldn't say.
Suggested Topics
-
Welcome
Announcements • 23 Mar 2014, 08:24 • hek 2 Apr 2014, 14:39 -
BMP280 SPI Adafruit
My Project • 24 Aug 2016, 01:56 • Matt 23 Jan 2025, 16:25 -
Long time test done with soil sensor!
My Project • 7 Jan 2025, 09:13 • Nicklas Starkel 13 Jan 2025, 09:10 -
Water Meter or "How to get Home Assistant to send saved data to an Arduino"
My Project • 18 Oct 2024, 02:19 • OldSurferDude 18 Oct 2024, 02:19 -
Wio-E5 (STM32 and SX1262)
My Project • 31 Dec 2024, 17:52 • nagelc 25 Jan 2025, 20:21 -
Door chime
My Project • 9 Mar 2025, 10:06 • Paul Scarbro 13 Mar 2025, 00:15