Circle through devices?

Hi,

Would it, somehow, be possible to use a click event to step between let’s say 4 devices? I’m thinking of this rotation dimmer from Namron: https://www.namron.com/products/namron-zigbee-4-i-1-vridimmer/

So when I push the button it would go to next device and then I would use the rotation dimmer to controll the light.

Any ideas?

I don’t own this Natron device so I’m not clear which actions can be done with the push button. In the App Store this action flow card is shown…

image

…but I don’t no how it works exactly and if to change the mode (brightness, hue, white balance) is the only option, because the App Store does not always show all available flow cards.

So in my opinion, your question can only be answered 100% by someone who has this device in use.
Based on the available information from the App Store, my guess is that your use case cannot be realized. But it’s just a guess!

I think it’s not that hard to do, here’s an example that i made in just a few seconds.
The gif shows the rotation

Capture 2023-04-21 at 11.44.15

1 Like

Sure it’s not difficult, I use the same method to change radio stations on my Sonos speakers with an Aqara Opple 6 and change light scenes with a Hue Dimmer Switch for my Hue lamps. But the question is if it’s possible with the Namron 4 in 1 rotation dimmer. You are using a simple button and not the Namron device.

I don’t think the thinking pattern is that different.
It’s just another switch that has to cycle through different steps.
That’s the diffcult part to understand.
If the button can also dim that’s a bonus and also easy to add since you know what device is active.

I believe @CuFk is asking if it can be done, and maybe with that button.
Therefore i made a quick example

Yeah, that’s right. I have never worked with the logics in Homey. Would it be too much to ask for a step-by-step guide on how to do the flow?

I just got the switch in the mail, so I’m able to try it out.

Thanks in advance! :blush:

My guess (!) is that you use the button to switch between brightness, hue and white balance modes and then use the rotary switch to change these different capabilities. So this is the reason why I guess (!) it’s not possible to switch between several lamps and then use the rotary switch to change the brightness, the hue and the white balance with the Namron 4 in 1 rotary dimmer.
But as I mentioned already, this can only be answered by someone who uses the dimmer himself and knows its functions.
Just for info - These are the action flow cards from the App Store:

I am excited… :wink:

So. Here’s the options available from the different actions:

Brightness changed - Gives the option to use the tag/logic #Brightness
Hue changed - Gives the option to use the tag/logic #Hue
Brightness changed - Gives the option to use the tag/logic #White
Switch buttons is - Turned on / Turned off

Any ideas on how I can use these functions?

Could you please post a screen shot of all action flow cards.
And if a flow card has a drop down menu, please post it like this:

Here are screens of the device and it’s properties:





Sorry, but I have absolutely no idea how this 4 in 1 rotary dimmer is supposed to work.

I know it can sound stupid, but have you tried reading the manual at all (RTFM) to see how to change modes on the device itself?

Select a Color Mode (depends on the color type of the light devices the switch paired to)

Step 1: Press and hold the knob for over 3 seconds, LED indicator turns on and stays solid on, release the knob.

Step 2: Keep short pressing the knob within 5 seconds to get different color modes one by one, LED indicator status will be different for each short press to indicate different color modes. The indicator status for different color modes are as follows:

Mono color mode : indicator keeps blinking with the frequency of twice per second, only Dim command will be sent when rotate the knob.

CCT color mode: indicator keeps blinking with the frequency as follows: blinks for 1 second (twice per second) and stops blinking for 1 second, then blinks for 1 second (twice per second) and stops blinking for 1 second

again , color temperature command will be sent when rotate the knob.

RGB color mode: indicator keeps blinking with the frequency as follows: blinks for 1.5 seconds (3 times per 1.5 seconds) and stops blinking for 1 second, then blinks for 1.5 seconds (3 times per 1.5 seconds) and stops blinking for 1 second again , RGB color control command will be sent when rotate the knob.

RGB+CCT color mode: indicator keeps blinking with the frequency as follows: blinks for 2 seconds (4 times per 2 seconds) and stops blinking for 1 second, then blinks for 2 seconds (4 times per 2 seconds) and stops blinking for 1 second again , RGB+CCT color control command will be sent when rotate the knob.

I’m not interested in using the device as intended from Namron. I’m interested to see if it’s possible to find a solution to have 1 device to control a number of lights that can be dimmed.

Well, what have you already tried.
There are videos on how to work with logic (variables) on youtube made by Athom them selves on how to work with logic in the mobile app.

It doesn’t differ that much in the web GUI, except that it is a button “Variables” at the top of the screen in Flows

after that just make some flows like already shown in the first reply.
Depending on if you have advanced flows (will make it easier).
Or if you have regular flows you’ll need to create at least 6 flows if you want to control 4 different lights:
Advanced flows:

Regular flows:
you need 2 of these flows, 1 for turned off, 1 for turned on, only the trigger is different
screenie2

and you need a flow for each light (in your example 4 of them, 1 for each light)
screenie3

The biggest issue with this system, is that your dimming device doesn’t see the current level of the light your trying to control is, so it will always be relative to its own dim level, not to the light’s dim level. (it is possible, but will get really! big to do that with multiple different devices)
And also not sure if it will send anything if it is “turned off”, or that it just starts from 0 and/or also sends the “on” command then.

Thanks @Caseda for taking the time to explain and making the flows. I’ll give it a try and see how the end result turns out. If it’s usable in real life or if it just ends up a glitchy solution that will annoy my kids and wife. :upside_down_face:

I’ve been using the Namron 4-channel zigbee switches around the house for a while, and they work fine except from not beeing able to continiously dim when holding a button. So I thought that a rotary dimmer would be a more intuitive way to dim lights for the rest of the family. But the again, I don’t wanna end up with one rotary dimmer for each light.

Back to the flow. I am using advanced flows. I’m guessing that the “#Selected Lights” is a variable that you’ve created as a numeric variable with the value of 4?

As I said, I’m totally new to the logic and variable side of Homey. But I’m trying to learn.

So I got to the point where I managed for the switch to go between the different devices. Then I hit next hurdle. The light will only dim up since I’m using “set relative dim level” on the device. Is this why you are using “Advanced Virtual Device”? If yes, how does that setup look?

Sorry for all my questions, but I guess this is the easiest way for me to learn since I will understand the use-case.

you are using the wrong dim card, you need to use the “Dim to”, relative is always relative as to what the light itself, so if the light is already at 45%, if you add 5% (as in your card) it will become 50%.
So you need to use the “Dim to” card and select the brightness tag for its value (name of the tag can be different, but will be under “this flow”):
screenie

I tried that as well.

I guess that the issue with this scenario is that the rotary dimmer is supposed to turn right or left and that should dictate wether the light gets brighter or dimmed. Right now I’m not sure if it’s possible to determine what direction I turn the dimmer.

And when the dimmer is turned it should be able to increase or decrease, let’s say 0.1, gradually to the light.

This doesn’t seem like a relative rotating knob judging the cards it has, so it isn’t working as you think it does.

I would assume it is relative to itself, the dimmer is at 50%, you rotate it to the left decreasing the 50% to lets say 25% and it sends that value to Homey, and then gets applied to the light with the flow(s).

But I might be wrong too of course, Namron’s app isn’t as intuitive as most apps Homey has.

Ah, bummer. It was worth a try. I’ll just send this back and get something else. :slightly_smiling_face:

Thanks for taking time and helping me out!