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. Rotary dimmer switch and mysensors?

Rotary dimmer switch and mysensors?

Scheduled Pinned Locked Moved Hardware
16 Posts 6 Posters 5.9k 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.
  • O Offline
    O Offline
    otto001
    wrote on last edited by
    #5

    Hi,

    yes, I have a REV Dimmer Typ 13623 (http://www.rev.de/dzo/artikel/201/0077494_201.pdf?t=1342180610)
    Just connected it to an arduino with some "configurable firmata" and as controller I am using fhem. This sketch is just reporting the status of the pins directly to the controller. I am using pin A0 for instance - if I connect it directly to GND, this is immediately reported to the controller. If I am connecting the dimmer, nothing happens. I hope I could explain what I am trying to do...

    1 Reply Last reply
    0
    • AWIA Offline
      AWIA Offline
      AWI
      Hero Member
      wrote on last edited by
      #6

      The link is not working for me. Is the dimmer a potentiometer ie variable resistor type? Can you share the schematic of the dimmer and connection?

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

        I want to control ceiling fan using Rottery dimmer switch using arduino.
        How can i use?

        1 Reply Last reply
        0
        • O Offline
          O Offline
          otto001
          wrote on last edited by
          #8

          Sorry, this should work:

          http://www.rev.de/dzo/artikel/201/007/7494_201.pdf?t=1342180610
          Unfortunately it is German only...

          AWIA 1 Reply Last reply
          0
          • O otto001

            Sorry, this should work:

            http://www.rev.de/dzo/artikel/201/007/7494_201.pdf?t=1342180610
            Unfortunately it is German only...

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

            @otto001 it looks like you are using a 230 volt thyristor/triac dimmer. These do not act as a resistor and therefore cannot be used to connect to the Arduino....
            Maybe if you tell what you want to accomplish there is some help available

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

              @otto001 said:

              http://www.rev.de/dzo/artikel/201/007/7494_201.pdf?t=1342180610

              The knob could possibly be reused with a rotary encoder if you disassemble your dimmer. But it will be hard to squeeze in the necessary AC stuff + Arduino and radion behind the faceplate.

              1 Reply Last reply
              0
              • O Offline
                O Offline
                otto001
                wrote on last edited by
                #11

                Thanks!
                What I want to do is pretty simple: Just have a rotary dimmer connected to an arduino - the controller should get the values and dim the lights (connected to different devices) according to the rotary switch. But it should be a wall switch (to get a reliable WAF)....

                AWIA 1 Reply Last reply
                0
                • O otto001

                  Thanks!
                  What I want to do is pretty simple: Just have a rotary dimmer connected to an arduino - the controller should get the values and dim the lights (connected to different devices) according to the rotary switch. But it should be a wall switch (to get a reliable WAF)....

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

                  @otto001 The "waf" of constructions is low... What works for me is momentary switch button dims with a "long press". These are widely available in all kinds of designs. Another option is to combine it with a touch sensor..

                  1 Reply Last reply
                  0
                  • O Offline
                    O Offline
                    otto001
                    wrote on last edited by
                    #13

                    @AWI: Thanks for your hint. I am also thinking about switch buttons with long press. BTW: how did you implement the long press in mysensors?

                    AWIA 1 Reply Last reply
                    0
                    • O otto001

                      @AWI: Thanks for your hint. I am also thinking about switch buttons with long press. BTW: how did you implement the long press in mysensors?

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

                      @otto001 You can find an example in the "bounce2" library. Below an excerpt from a windowcover routine (nothing special for MySensors)

                      if ( buttonUp.update()){					// change in Up button
                      		if (buttonUp.read() == HIGH){			// release button
                      			buttUpstate = 0 ;
                      			Serial.println("Button UP released");
                      			if (calibrateCover != A_STOP){  	// calibrate end, set value
                      				calibrateCover = A_STOP;
                      				curPos = setPos = lastPos = 0 ; // Set the "UP" position (store in EEPROM and send to controller)
                      			}
                      		}
                      		else{									// press button, cover up
                      			buttUpstate = 1 ;
                      			Serial.println("Button UP pressed");
                      			buttUptime = millis(); 				// register change time
                      			if (curAction != A_STOP){			// cover is running, stop at current position and make "set"
                      				setPos = curPos;
                      			} else {
                      				setPos = 0;
                      			}
                      		}```
                      1 Reply Last reply
                      0
                      • O Offline
                        O Offline
                        otto001
                        wrote on last edited by
                        #15

                        @AWI: thanks! will have a look at it!

                        vladimirV 1 Reply Last reply
                        0
                        • O otto001

                          @AWI: thanks! will have a look at it!

                          vladimirV Offline
                          vladimirV Offline
                          vladimir
                          wrote on last edited by
                          #16

                          @otto001 Hello!
                          Did you manage to implement this node?

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


                          19

                          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