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. General Discussion
  3. Human presence detection?

Human presence detection?

Scheduled Pinned Locked Moved General Discussion
6 Posts 4 Posters 5.2k Views 4 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.
  • Cliff KarlssonC Offline
    Cliff KarlssonC Offline
    Cliff Karlsson
    wrote on last edited by Cliff Karlsson
    #1

    I want to be able to use some "simple" but accurate form of human precence detection for shuting down lamps, heat etc. in rooms where no human is occupied.

    I first thought of the standard pir sensors but I then realised how many times I had to wave my hands in my garage, toilet and other places when using standard pir products.

    I then was about to order some omron d6t mems thermal sensors witch looked like the ultimate product . I then realised that my current skill level was not anywhere near the required skill to make them work as I wanted.

    I have now reverted to a "simple" solution again. I want to use two or three ir,ultrasonic or similar sensors in my doorways. So that when someone enters a room the first sensor will trigger and after a couple of ms (?) the second sensor will trigger and I would hopefulle be able to be able to construct a sketch that uses the trigger-order to determine if a person has left or entered a room.
    Well it sounds easy in my head anyway. I would then have variables in domoticz with with a number for every room that specifies if room has less than 1 person it will turn of the lights.

    But for the first step is ir the best technique to use when the range needs to be ~1m and pretty narrow so that both sensors does not trigger at the same time. I would also want the sensor type to draw relatively low power as I would need ~20 of them in all doorways and they have to be powered 24/7

    Sound-Detection

    Infrared-Range

    Laser-Sensor

    Infrared-Thermometer

    Ultrasonic

    And I guess you could use the same principle using a load cell/weight sensor/foil-contact sensor on/under the floor on both sides of every doorway. But it feels a bit unpractical to rip up the floor or to place som kind of mats in every doorway.

    Edit: I am brainstorming now :) but maybe you could use pir-sensors for example in the roof directly above and on both sides of the doorways and "shield" them so that only detect motion in a very narrow angle covering only a "slice" just before after the doorways,

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

      You might also use "indirect" rules like I do for our TV room.

      I wanted to cut the power to all AV equipment when no-one was present in the room.

      So I use the alarm motion sensor (turns on AV equipment for 10 min).
      If window light is on I never turn off the equipment.
      If TV is on (ping TV over ethernet), equipment stays on.

      This works pretty well with our usage-pattern. We usually watch tv in the evening (when window light has been turned on). Haven't had much complains from the wife with the current setup.

      1 Reply Last reply
      0
      • Cliff KarlssonC Offline
        Cliff KarlssonC Offline
        Cliff Karlsson
        wrote on last edited by
        #3

        That might work when working with logic people like adults. I on the other hand am dealing with chaos (kids) witch seams to have struck some sort of deal with my power company. Normal procedure is to start up every tv in the house with different shows, move on to the laptops and to simultaniously fiddle with their tablets before moving on to tearing apart some newley cleaned room while all apparatus is turned on and are usally set to full volume.

        I also want to be able to not have to turn any lights on or of as I usally forget to turn of the lighting in half of the rooms.

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

          (OT) Hahaha! :point_up: Amen to that... let me know how to solve this. If possible some sort of automatic food dispenser for the children as well since they seem to want to half-eat every 5 minutes... :)

          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
          • mfalkviddM Offline
            mfalkviddM Offline
            mfalkvidd
            Mod
            wrote on last edited by
            #5

            How come you abandoned the Omron D6T?

            1 Reply Last reply
            0
            • Cliff KarlssonC Offline
              Cliff KarlssonC Offline
              Cliff Karlsson
              wrote on last edited by
              #6

              Simply because I am not good at all in "coding" or writing sketches. I would have to hope someone else creates the exact sketch that I need. I saw some video where someone showed of the sensor and some "simple" code. There where alot of arrays involved and you had to write some half complicated "algoritms" to translate the different arrays of temperatures into "persons" to detect.

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


              20

              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