Rotary dimmer switch and mysensors?
-
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... -
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?
-
Sorry, this should work:
http://www.rev.de/dzo/artikel/201/007/7494_201.pdf?t=1342180610
Unfortunately it is German only... -
Sorry, this should work:
http://www.rev.de/dzo/artikel/201/007/7494_201.pdf?t=1342180610
Unfortunately it is German only... -
@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.
-
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).... -
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).... -
@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?
@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; } }```
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