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. What sensortype to chose to present a number to domoticz?

What sensortype to chose to present a number to domoticz?

Scheduled Pinned Locked Moved General Discussion
2 Posts 2 Posters 813 Views 3 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
    #1

    I want to try to create some presence detection sensors using mysensors to be able to detect how many peoples are in each rooms or if the room is unoccupied. I am still experementing with what kind of sensors works best but I do not really know how it would be best to present the actual number of persons in each room.

    Lets say I have a way to detect how many persons that enter or leave a room. The sensors give me info of People detected entering room.

    People detected entering room:                                               
       4             3          1
    |Room 1 | --> |Room 2|-->|Room 3|-->|Room 4|
    Actual number of people in each room:                                       
       1             2         1            0
    

    I know I can calculate the actual number of people in each room by using blocky or lua, but how do I actually send the number from "People detected entering room" sensors ? What kind of sensor do I specify in the mysensors sketch? Are there any form of counter sensor value to use?

    1 Reply Last reply
    0
    • gohanG Offline
      gohanG Offline
      gohan
      Mod
      wrote on last edited by
      #2

      I'd say you present 2 switches, one triggers when someone enters the room, the other when someone exits, but without something else like a pir sensor that actually checks if someone is in the room or not, it will eventually leads to errors in the counter. All the counting will have to be made in the controller and maybe reset people count in a room if no movement is detected for like 30 minutes. How to do it in domoticz, I don't know 😁

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


      16

      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