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. Controllers
  3. Domoticz
  4. How to set up a 'counter' in MySensors/Domoticz

How to set up a 'counter' in MySensors/Domoticz

Scheduled Pinned Locked Moved Domoticz
1 Posts 1 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.
  • N Offline
    N Offline
    novicit
    wrote on last edited by
    #1

    I have a dehumidifier in the basement: bought a 12V 1A pump from eBay and installed it to automatically empty the water when it senses water at the top of the bucket. Am using MySensors node to sense water, and turn on the pump when required. (also has DHT-22 attached to monitor humidity.) Am reporting this information back to Domoticz controller. My question: which S_variable, V_variable, and Domoticz device is best to 'count' the number of times the dehumidifier empties?

    I am looking to 'count' daily bucket empties, and keep a record of the cumulative empties for the summer. So Domoticz would display daily number in the right of the top banner, and the cumulative number next to the counter icon on the left. I am currently using V_Volume, and S_water in MySensors script, and RFXmeter (set to counter). But this gives me count in 000's. Is there a better set of variables/devices to use? Should the MySensors script transmit just a value of 1 each time, or the cumulative number? Is there a way to reset the cumulative number displayed in Domoticz (RFXmeter)?

    I have a number of other nodes I want to set up which will simply count events, report, and track - so I'd like to find the best way to do this. My forum searches got me to this point, but I wonder if there isn't a better way.

    Suggestions welcome.

    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