Shelly Dimmer 2 - Single, momentary switch with automatic dimmer #1551
Replies: 8 comments 14 replies
-
Hi @Oo80 Thank you for this! I just wanted to find out if this has been tested with LED bulbs. I have switched to this config from the one defined in the Wiki, and I see no change in brightness transitions. When I turn off / on it's instant, as is changes to the brightness level. It would be so great to be able to have smooth transitions for the Shelly devices. Thanks! Kurt |
Beta Was this translation helpful? Give feedback.
-
@kurtwarwick-new I will try to sum up my findings regarding the UART message and transitions in this separate post. I did do some tests with transition time, but I couldn't see any difference, even when I tried with longer times like 3 seconds (and since I don't care so much for it personally, I didn't spend more time on it 🤷🏻). You can send either a longer or a shorter form of UART message, the longer including a number to define a transition time. I've added spaces for clarity, those should be removed in the JSON. Short UART with 2 byte payload:
All this, including details for the UART messages, are described in this thread: arendst/Tasmota#6914 |
Beta Was this translation helpful? Give feedback.
-
Hi @Oo80, today I tested your JSON on a brand new Shelly Dimmer 2, flashed with yaourdt's OTA flasher. While the syntax of your JSON appears to pass JSON validators, it is reported as being invalid in HAA's interface, either using stock HAA 6.x but also after upgrade to latest version available now, HAA 10.3.0 Kestrel. On the contrary, @RavenSystem's shorter code (that has less steps for brightness modification) available at the bottom of the page Devices Database works. |
Beta Was this translation helpful? Give feedback.
-
Is there a possibility, that while press and holding the momentary switch, the brightness change ends at 100% or 0%? Thanks |
Beta Was this translation helpful? Give feedback.
-
I fiddled with this to try and update it to the new format (with "io"). Here's what I managed to get working:
Had to remove I've yet to find a way to do what @Hanimaniac mentions in the previous comment, but I'd like to -- if anybody has any idea how. |
Beta Was this translation helpful? Give feedback.
-
Hi, @Hanimaniac @lucas-figueiredo If I remember correctly there are no support for this, but I might be wrong. |
Beta Was this translation helpful? Give feedback.
-
This seems to work, stopping auto dimmer at 100% when going up, and at 0% when going down.
|
Beta Was this translation helpful? Give feedback.
-
Hello, I see that it's been a long time since it was written in the thread, but I'm very green with this topic and I don't find it much sense without having something to compare...
|
Beta Was this translation helpful? Give feedback.
-
Device Name: Shelly Dimmer 2
URL to Device: https://shelly.cloud/knowledge-base/devices/shelly-dimmer-2
Used HAA versions: 12+
Summary of functions: Single, momentary switch controls on/off and automatic dimmer.
JSON:
Long description:
Documentation:
A long thread about UART messages and how to control the specific hardware in the Shelly Dimmers: arendst/Tasmota#6914
Beta Was this translation helpful? Give feedback.
All reactions