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. Hardware
  3. Controlling speed of an AC 230v FAN. Help Needed[RESOLVED]

Controlling speed of an AC 230v FAN. Help Needed[RESOLVED]

Scheduled Pinned Locked Moved Hardware
7 Posts 5 Posters 3.0k 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.
  • M Offline
    M Offline
    mainali
    wrote on last edited by mainali
    #1

    Has anyone tried to control the speed of a fan.

    I have relay connected to a fan. Relay is triggered using RelayActuator example. How can I now control the speed of the fan which is switched on when relay is triggered.

    I tried adding a new sensor type V_FAN and I am sending MyMqtt/node_id/sensor_id/V_FAN but I am not able to receive the message type in the message at the node.
    Note : I have manually assigned the sensor Id as relay 2 is assigned sensor id 2 by the relayActuator example code.

    EDIT: It was my mistake, didn't not update the gateway code after adding a new message type. :(

    1 Reply Last reply
    0
    • ChaoticC Offline
      ChaoticC Offline
      Chaotic
      wrote on last edited by
      #2

      what type of data are you trying to send and is there a reason you can't use V_VAR1? or V_DIMMER?
      I believe V_DIMMER is expecting a % and I know with V_VAR you can send any type you want.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sharath krishna
        wrote on last edited by
        #3

        i think V_DIMMER can be used for the purpose.. but controlling speed is not something u can do with just a relay .

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mainali
          wrote on last edited by
          #4

          I have a dimmer circuit with me which gives digital output. I just want to know the correct message format for the MQTT message. And how to add a new message type ?. Anyone has done this already ?

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

            Help needed with adding a new message type. I want to add V_FAN to identify the fan. I am not able to send the message from gateway.

            I am trying to check message.type = V_FAN, but nothing is happening, I think this message is never arriving at the node.

            1 Reply Last reply
            0
            • Q Offline
              Q Offline
              quocanhcgd
              wrote on last edited by
              #6

              Can you share your code ?

              1 Reply Last reply
              0
              • J Offline
                J Offline
                jemish
                wrote on last edited by
                #7

                Which hardware s used for controlling a FAN?

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


                10

                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