-
-
Notifications
You must be signed in to change notification settings - Fork 203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pass the "transition duration" parameter to a dimmer device, especially (only ?) the Qubino mini Dimmer (ZMNHHD) #3121
Comments
@AlCalzone Thoughts on this? |
That's already implemented, what he wants (if I have understand him correctly) is a 'virtual' configuration value id on the device where you can set the transition duration of that device so you don't have to pass it every time you send a set command |
So just make that value configurable via MQTT? Isn't it stored somewhere? |
Humm nope, where should it be stored? In the broker? |
Hello, any news on this one ? If that could help, the raw command given by the manufacturer is that one :
|
Hi alex, you can already do that, see: https://zwave-js.github.io/zwave-js-ui/#/guide/mqtt?id=set-with-options Anyway what you are asking here is different, you would like to have a 'virtual' valueId where you set a fixed transition duration for a specific device and then, when you send a command, use that duration by default. Correct? If so there is no easier way to implement that |
That's it, it was already identified on my side, but thanks for mentionning it in the Wiki and with the video, it helps. |
Dunno if your device already supports a configuration value for that? |
no, they only provide the "raw command" as described in the link an "citation" already provided.
|
@AlCalzone thoughts on this? |
The driver already supports 2 ways to do this: a) the CC API, can be accessed using a driver function for example The above "raw" command would be: const node = driver.controller.nodes.get( nodeID );
node.commandClasses["Multilevel Switch"].set(
99, // or whatever target value
"0s", // or any valid duration string, like "17s" or "1m10s", ...
); b) The aforementioned I'm not going to simulate values just to add a 3rd way. I guess adding properties on the |
@AlCalzone,
could be fine yes If i understand correctly your the last sentence, this is pefectly the point of discussion here : this option wont' be changed often, almost never once set to a satisfactory value. This is why it does not necessary needs to be implement in the final application, but somewhere where the value persists for every call. |
@rezzalex I spoke about this with @AlCalzone and the solution we have think is to add default set value options (like transition) to the node object and those will be persisted on driver nodes cache, on ui you will be able to set those default values (each node must be configured with its ones) and then when sending a command those options will be used if no options are specified |
hello @robertsLando , sounds good. thank you My understanding is that the setting will persist, but how it will look like in the UI and if we can change it how we want, that is unclear to me. |
In the ui you can already set those options, I will simply add a button near to them to store them as default |
Hello. Any planned implementation ? Thank you |
AFAIK there was a plan on adding them on zwave-js side. @AlCalzone Do you have an open issue for this? |
I don't think I had one. There is one now: zwave-js/node-zwave-js#6107 |
Will be supported in the next release of |
Is your feature request related to a problem? Please describe.
Problem described here : #2226 (comment) and initially partially treated here : #2305
Describe the solution you'd like
A "native" integration in ZwaveJsUI to make a sustainable Configuration Option : "Transition Duration", allowing the dimming duration, when activated form any software gateway, to be decorrelated from the parameter [66] - Dimming Duration (physical switch Held)
Describe alternatives you've considered
The previous implementation required additionnal developpements in DZ, knowing this is not a parameter we would like to change each time we dim the light. In fact, the more common usecase, would be to be able to set it once and for all in ZwavejsUI, as any other standard manufacturer parameters. Also, this is a specific manufacturer setting, like any others already implemented in ZwaveJsUI
It would then allow DZ or HA to be careless about this feature. even maybe make it discoverable and usable out of the box by DZ and HA.
The idea is that the parameter can be set and used for any futures sofware commands, unless changed again, from ZwavejsUI but most of all, for ANY command that reach ZwavejsUI (from MQTT)
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: