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 6.7k 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.
  • R Offline
    R Offline
    rvendrame
    Hero Member
    wrote on last edited by
    #2

    Have you seen Hek's "Dimmable LED With Rotary Encoder"? Maybe it can give you some direction... link.

    Home Assistant / Vera Plus UI7
    ESP8266 GW + mySensors 2.3.2
    Alexa / Google Home

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

      Yes, thank you. Unfortunately this is not really useable. I have one wall rotary switch and connected it to an arduino directly. But the analogue in does not detect anything I am trying on the switch. I think the rotary encoder is working absolutely different to usual wall switches :-(

      1 Reply Last reply
      0
      • R Offline
        R Offline
        rvendrame
        Hero Member
        wrote on last edited by
        #4

        I'm not sure if I understood. Do you have an analog dimmer , connected somehow to arduino? Maybe if you post the circuit + sketch here someone can help...

        Home Assistant / Vera Plus UI7
        ESP8266 GW + mySensors 2.3.2
        Alexa / Google Home

        1 Reply Last reply
        0
        • 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
          • A Offline
            A 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...

                A 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...

                  A Offline
                  A 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
                  • H Offline
                    H 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)....

                      A 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)....

                        A Offline
                        A 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?

                          A 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?

                            A Offline
                            A 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

                                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                With your input, this post could be even better 💗

                                Register Login
                                Reply
                                • Reply as topic
                                Log in to reply
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes


                                19

                                Online

                                12.0k

                                Users

                                11.2k

                                Topics

                                113.4k

                                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