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. Development
  3. Fan control and feedback

Fan control and feedback

Scheduled Pinned Locked Moved Development
dimmersensordevelopment
6 Posts 3 Posters 3.2k 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.
  • E Offline
    E Offline
    emc2
    Hardware Contributor
    wrote on last edited by emc2
    #1

    Hi there.

    I'm currently trying to add fan control and monitoring to one of my projects. I'm using a CPU PWM fan with 4 wires.
    I can control the speed of the fan and read the rotation speed.

    Currently the fan is registered as a S_DIMMER where it sends its speed back to the controller (domoticz) as a V_VAR1. The nice thing being that if later on I decide to add an additional fan I can use V_VAR2, etc... Unfortunately domoticz seems to ignore V_VAR messages, I can't find a way to graph them or set units.

    As a workaround I don't see any sensor type that could be used to send RPMs either.

    It's unclear to me if I should ask for another sensor type in MyS such as a RPM/frequency/speed one or if it would be better to keep V_VAR and ask for a way to graph them in the controller.

    Is there an official position on this kind of issue, being compatible with all controllers?

    AWIA 1 Reply Last reply
    0
    • E emc2

      Hi there.

      I'm currently trying to add fan control and monitoring to one of my projects. I'm using a CPU PWM fan with 4 wires.
      I can control the speed of the fan and read the rotation speed.

      Currently the fan is registered as a S_DIMMER where it sends its speed back to the controller (domoticz) as a V_VAR1. The nice thing being that if later on I decide to add an additional fan I can use V_VAR2, etc... Unfortunately domoticz seems to ignore V_VAR messages, I can't find a way to graph them or set units.

      As a workaround I don't see any sensor type that could be used to send RPMs either.

      It's unclear to me if I should ask for another sensor type in MyS such as a RPM/frequency/speed one or if it would be better to keep V_VAR and ask for a way to graph them in the controller.

      Is there an official position on this kind of issue, being compatible with all controllers?

      AWIA Offline
      AWIA Offline
      AWI
      Hero Member
      wrote on last edited by
      #2

      @emc2 As the V_VAR types have no specific meaning Domoticz cannot handle them in a structured way.
      For a fan I would choose a PERCENTAGE type and let Domoticz treat it as (the new) Selector switch. You can even choose a fan icon for it.
      V_VAR should be used for (temporary) storage of variables only.

      E 1 Reply Last reply
      0
      • AWIA AWI

        @emc2 As the V_VAR types have no specific meaning Domoticz cannot handle them in a structured way.
        For a fan I would choose a PERCENTAGE type and let Domoticz treat it as (the new) Selector switch. You can even choose a fan icon for it.
        V_VAR should be used for (temporary) storage of variables only.

        E Offline
        E Offline
        emc2
        Hardware Contributor
        wrote on last edited by emc2
        #3

        @AWI
        Thanks for the heads up. The selector is an option, but the sliding ruler of the domoticz interface is actually more suitable in my current use. I was looking at the S_HVAC that could have worked too, but the slider is nicer for fine tuning. I wish I could have a fan icon with the Dimmer option in domoticz. Control by itself is working fine.

        I guess V_VAR is not adapted for that then. Too bad.

        I'm thinking of trying a S_DISTANCE using V_UNIT_PREFIX (RPM) and V_DISTANCE to send the values. It's kind of dirty but well.
        Maybe using V_UNIT_PREFIX with a S_CUSTOM sensor and sending V_LEVEL for the values is what seems almost the most intuitive, but it seems we can't do that.
        Any idea of a workaround solution using current sensors that could be accepted by the controller?

        AWIA 1 Reply Last reply
        0
        • D Offline
          D Offline
          drock1985
          wrote on last edited by
          #4

          What about media player and volume to control fan speed?

          My Projects
          2 Door Chime Sensor
          Washing Machine Monitor

          1 Reply Last reply
          0
          • E emc2

            @AWI
            Thanks for the heads up. The selector is an option, but the sliding ruler of the domoticz interface is actually more suitable in my current use. I was looking at the S_HVAC that could have worked too, but the slider is nicer for fine tuning. I wish I could have a fan icon with the Dimmer option in domoticz. Control by itself is working fine.

            I guess V_VAR is not adapted for that then. Too bad.

            I'm thinking of trying a S_DISTANCE using V_UNIT_PREFIX (RPM) and V_DISTANCE to send the values. It's kind of dirty but well.
            Maybe using V_UNIT_PREFIX with a S_CUSTOM sensor and sending V_LEVEL for the values is what seems almost the most intuitive, but it seems we can't do that.
            Any idea of a workaround solution using current sensors that could be accepted by the controller?

            AWIA Offline
            AWIA Offline
            AWI
            Hero Member
            wrote on last edited by
            #5

            @emc2 No support for S_CUSTOM and the Prefix types in Domoticz. You need to stick to the known datatypes in Domoticz

            1 Reply Last reply
            0
            • E Offline
              E Offline
              emc2
              Hardware Contributor
              wrote on last edited by
              #6

              @AWI I discovered it the hard way tonight. Lot of "Unknown sensor type" in my domoticz log.

              I have it working by declaring it as a distance, pressure etc. It's really dirty but at least for know I can track my RPMs. I guess I will try to poke around on the domoticz forums this week end to see if there is something cooking on their side.

              Thanks!

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


              30

              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