Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. My Project
  3. Mailbox sensor (Arduino pro mini + NRF24L01+) Luup code?

Mailbox sensor (Arduino pro mini + NRF24L01+) Luup code?

Scheduled Pinned Locked Moved My Project
4 Posts 2 Posters 1.6k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • miroM Offline
    miroM Offline
    miro
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • hekH Offline
      hekH Offline
      hek
      Admin
      wrote on last edited by
      #2

      I use a PLEG condition like this: "MailboxOpened AND (09:00:00; NOW; 22:00:00)"

      1 Reply Last reply
      0
      • miroM Offline
        miroM Offline
        miro
        wrote on last edited by
        #3

        @hek

        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?

        1 Reply Last reply
        0
        • hekH Offline
          hekH Offline
          hek
          Admin
          wrote on last edited by
          #4
          1. No

          I haven't moved to UI7 so I couldn't say.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          17

          Online

          11.7k

          Users

          11.2k

          Topics

          113.1k

          Posts


          Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • MySensors
          • OpenHardware.io
          • Categories
          • Recent
          • Tags
          • Popular