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. Yet another mailbox

Yet another mailbox

Scheduled Pinned Locked Moved My Project
10 Posts 4 Posters 4.5k Views 5 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.
  • M Offline
    M Offline
    mbj
    wrote on last edited by mbj
    #1

    Just for the fun of it I added some monitoring of the mailbox to my collection of MySensors items already in operation. I had no plans to show the project here because there are heaps of such displayed both here and there and the technological level is not much to talk about.

    But then I thought it might serve as an illustation of what can easily be achieved due to the excellent work made by the MySensors team (many thank's for the job done...) because almost everything was already available. All needed was:

    - A Sensebender Micro
    - The SensebenderMicro sketch
    - Two normally open reed switches 
    - Adding two interrupts to the sketch plus
    - A few other tweaks to adopt it to OpenHab
    

    The reason for using the less common normally open switches was to save some battery juice. These switches are triggered almost all the time and every time the sketch wakes up a normally closed switch will draw a little current but the savings might be marginal, if any at all.

    Here is the end result as shown by OpenHab:

    0_1453990418801_post.JPG

    Guess the titles are obvious even though displayed in Swedish but the (rough) translation is:

    - Temperature
    - Humidity
    - Mail in
    - Mail removed
    - Battery mV
    - Battery %
    

    And this is what the installation looks like:

    0_1453990660073_IMG_20160128_134429-2.jpg
    0_1453990772469_IMG_20160128_134448-2.jpg

    Just an observation, during a recent cold period with temperatures down to -25C the readings from this sensor were the most accurate ones. Other readings based on an 18B20 could be far off even though both sensors are in range at higher temperatures.

    Have thought about adding a speaker function to say "Thank you, but please keep the bills" to see if this would trigger any reaction but so far have resisted the temptation :-)

    That's all.

    1 Reply Last reply
    6
    • sundberg84S Offline
      sundberg84S Offline
      sundberg84
      Hardware Contributor
      wrote on last edited by
      #2

      Nice 😊 how far away is the mailbox from gateway ?

      Controller: Proxmox VM - Home Assistant
      MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
      MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
      RFLink GW - Arduino Mega + RFLink Shield, 433mhz

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mbj
        wrote on last edited by
        #3

        Right now the gateway is located inside and upstairs towards the far end of the house in relation to the mailbox (25 - 30m) . So to make the mailbox work without any long range radio I had to add a repeater to a room facing the mailbox. This repeater was useful for other things as well (could switch some long range radios to the normal ones) so I felt OK to install yet another little power consumer.

        1 Reply Last reply
        1
        • S Offline
          S Offline
          sensorchecker
          wrote on last edited by
          #4

          Very nice project, i would also like to build this mailbox sensor.
          Could you please share the modified sketch and the tweaks for openhab... ?
          Thanks in advance

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mbj
            wrote on last edited by
            #5

            @sensorchecker I can of course share the sketch but need to do some more work on it before publishing anything. How do you communicate between MySensors items and Openhab?

            S 1 Reply Last reply
            0
            • m26872M Offline
              m26872M Offline
              m26872
              Hardware Contributor
              wrote on last edited by
              #6

              Nice share! And interesting with the -25C. Could you estimate in figures the differences between the DS18B20 and this SensbenderMicro? How much in which range?

              M 1 Reply Last reply
              0
              • M mbj

                @sensorchecker I can of course share the sketch but need to do some more work on it before publishing anything. How do you communicate between MySensors items and Openhab?

                S Offline
                S Offline
                sensorchecker
                wrote on last edited by
                #7

                @mbj No hurry, at the moment i´m waiting for parts from HK and can´t do anything until they arrive.
                I communicate with an MQTT Gateway (Arduino Nano/ W5100/ NRF24l01) and MQTT binding (1.8.0) between the MySensor items and OpenHab (1.8.0).
                I will build some sensors like described in this thread http://forum.mysensors.org/topic/2067/my-slim-2aa-battery-node
                One of them will be a mailbox sensor with your sketch...

                M 1 Reply Last reply
                0
                • S sensorchecker

                  @mbj No hurry, at the moment i´m waiting for parts from HK and can´t do anything until they arrive.
                  I communicate with an MQTT Gateway (Arduino Nano/ W5100/ NRF24l01) and MQTT binding (1.8.0) between the MySensor items and OpenHab (1.8.0).
                  I will build some sensors like described in this thread http://forum.mysensors.org/topic/2067/my-slim-2aa-battery-node
                  One of them will be a mailbox sensor with your sketch...

                  M Offline
                  M Offline
                  mbj
                  wrote on last edited by
                  #8

                  @sensorchecker You may get a little job to do, the sketch is made for the Sensebender Micro and I have no idea how it will compile for the "slim-battery-node".

                  1 Reply Last reply
                  0
                  • m26872M m26872

                    Nice share! And interesting with the -25C. Could you estimate in figures the differences between the DS18B20 and this SensbenderMicro? How much in which range?

                    M Offline
                    M Offline
                    mbj
                    wrote on last edited by
                    #9

                    @m26872 I did not note the numbers but worst case was 4-6 deg C at -20 to -25 ( ie 18B20 showed -18 and the Micro -24).

                    I should have replaced the 18B20 to see if it made any difference but it was so cooooold out there. Also I have a feeling that the Sensebender might have been slightly lower than the truth as well but clearly much more in line with other readings available.

                    Right now the readings are +4.2 for the mailbox and +3.6 for the 18B20 and since they are at different levels this is perfectly fine.

                    I have not checked the specs for either of the sensors and have also noted that there are numerous articles about calibrating the 18B20 but never bothered dive into the issue. And then also comes the issue if the ones I have are genuine or "Chinese clones".

                    m26872M 1 Reply Last reply
                    0
                    • M mbj

                      @m26872 I did not note the numbers but worst case was 4-6 deg C at -20 to -25 ( ie 18B20 showed -18 and the Micro -24).

                      I should have replaced the 18B20 to see if it made any difference but it was so cooooold out there. Also I have a feeling that the Sensebender might have been slightly lower than the truth as well but clearly much more in line with other readings available.

                      Right now the readings are +4.2 for the mailbox and +3.6 for the 18B20 and since they are at different levels this is perfectly fine.

                      I have not checked the specs for either of the sensors and have also noted that there are numerous articles about calibrating the 18B20 but never bothered dive into the issue. And then also comes the issue if the ones I have are genuine or "Chinese clones".

                      m26872M Offline
                      m26872M Offline
                      m26872
                      Hardware Contributor
                      wrote on last edited by
                      #10

                      @mbj Thx, I wont draw any scientific conclusions from your figures either. I was just curious. As you said there're always discussion about accuracy and working ranges etc.

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


                      27

                      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