Jottemm Posted October 21 Share Posted October 21 Hi folks First of all apologies if this had been asked before, I'm new to this forum and a search did not yield useful results. I want to remote control a Dimmer2 from an I4G3. The dimmer is configured to operate in one button mode, which I want to mimic by pushing a button on the I4G3 via webhook. There are a number of webhooks (https://shelly-api-docs.shelly.cloud/gen1/#shelly-dimmer-1-2) defined but none of those allow to convey the button-push from I4G3 to Dimmer2 Any ideas/hints or even a solution on how to accomplish that? Both the I4G3 as well as Dimmer2 run the latest firmware br Juergen Quote Translate Revert translation? English (American) Finnish French German Italian Portuguese (European) Spanish Link to comment Share on other sites More sharing options...
Heinz Posted October 22 Share Posted October 22 have a look at making a scene to then control the Dimmer from the i4 I don't think it can change the state as when you press the button to dim up and down, But you can set the state with the i4 to set it to the brightness you want  Quote Translate Revert translation? English (American) Finnish French German Italian Portuguese (European) Spanish Link to comment Share on other sites More sharing options...
Jottemm Posted Monday at 07:32 PM Author Share Posted Monday at 07:32 PM Hi Heinz Thanks!!! Background of this question: My end users prefer to have the one button operation behavior, which I fully understand given its elegance. The two BTN behavior could be mimicked *somehow* using the existing webhooks but it would be confusing to have different "service experience" when controlling Dimmer2 via I4G3 rather than directly. And Indeed there is no means to send a BTN1 (or BTN2) push event to Dimmer2, also the support confirmed: "For your Dimmer 2, which is a GEN1 device, the available HTTP actions/webhooks are more limited than GEN2 devices, and currently, input button states are not supported in this model. " Regrettably there is no Gen2 Dimmer (Trailing/Leading Edge Dimmer) at least I did not find one in the same form factor, but I might have missed it which is a different story, see below*. This forces me to have a Shelly Plus 1 next to the Dimmer2 to "push the button" when requested by I4G3. (And there are quite some of those dimmers in this project I'm planning for free for these folks)  * Product presentation as well as description of Shelly products on their website are partly in stark contrast of their glossy and perfect looks It would be helpful if somebody else (not from S/W department) would proof read the descriptions the S/W devs put together on their products, e.g. I initially missed that there seems to be a real 1-10VDC Dimmer device rather than this 1-10V "PWM output thing" which eventually forced me to craft some integrator electronics (for a another project). Sorry for ranting, as you can't change it, but looking around in this and other fora a lot of questions could be avoided if this stuff would be well and concisely documented, which will take another few years and probably never be done for the legacy stuff, I suspect 😉  br Juergen Quote Translate Revert translation? English (American) Finnish French German Italian Portuguese (European) Spanish Link to comment Share on other sites More sharing options...
dewaldo Posted Tuesday at 10:41 AM Share Posted Tuesday at 10:41 AM I'm quite sure that it should be possible to achieve the behaviour using a script on the i4 Gen3 like the one found on github (open source). https://github.com/shelly-tools/shelly-script-examples/blob/main/emulate_dimmer_button.js Quote Translate Revert translation? English (American) Finnish French German Italian Portuguese (European) Spanish Link to comment Share on other sites More sharing options...
Heinz Posted Thursday at 10:07 AM Share Posted Thursday at 10:07 AM On 10/28/2024 at 8:32 PM, Jottemm said: Hi Heinz Thanks!!! Background of this question: My end users prefer to have the one button operation behavior, which I fully understand given its elegance. The two BTN behavior could be mimicked *somehow* using the existing webhooks but it would be confusing to have different "service experience" when controlling Dimmer2 via I4G3 rather than directly. And Indeed there is no means to send a BTN1 (or BTN2) push event to Dimmer2, also the support confirmed: "For your Dimmer 2, which is a GEN1 device, the available HTTP actions/webhooks are more limited than GEN2 devices, and currently, input button states are not supported in this model. " Regrettably there is no Gen2 Dimmer (Trailing/Leading Edge Dimmer) at least I did not find one in the same form factor, but I might have missed it which is a different story, see below*. This forces me to have a Shelly Plus 1 next to the Dimmer2 to "push the button" when requested by I4G3. (And there are quite some of those dimmers in this project I'm planning for free for these folks)  * Product presentation as well as description of Shelly products on their website are partly in stark contrast of their glossy and perfect looks It would be helpful if somebody else (not from S/W department) would proof read the descriptions the S/W devs put together on their products, e.g. I initially missed that there seems to be a real 1-10VDC Dimmer device rather than this 1-10V "PWM output thing" which eventually forced me to craft some integrator electronics (for a another project). Sorry for ranting, as you can't change it, but looking around in this and other fora a lot of questions could be avoided if this stuff would be well and concisely documented, which will take another few years and probably never be done for the legacy stuff, I suspect 😉  br Juergen You make some good points. Currently, we only have the Gen1 Dimmer 2 product. However, there are new products in development. While I can’t share specifics yet (that’s outside my role), I’m excited about what’s coming! Regarding documentation, the team has been working to improve it. Since electronics are complex, there are areas I’m not fully familiar with, so I rely on community support to help each other with questions and issues. That’s why we have this platform, along with others, to support our users. Quote Translate Revert translation? English (American) Finnish French German Italian Portuguese (European) Spanish Link to comment Share on other sites More sharing options...
Jottemm Posted Thursday at 01:07 PM Author Share Posted Thursday at 01:07 PM Hi dewaldo, Heinz, All @dewaldo GREAT - Big thanks!!! Exactly what I was looking for - works like a charm! It was clear to me a script could do the trick but as I'm not javascript literate enough to write it myself I was searching for scripts and came across a number of places, but, in fact this place was not amongst them. This brings me to the question whether there is a place that collects and lists those places, either in the forum (Didn't find one) on shelly.com or elsewhere?  Quote Translate Revert translation? English (American) Finnish French German Italian Portuguese (European) Spanish Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.