Jump to content
🌟 NOTIFICATION/Benachrichtigung: Welcome to our New Store! - shelly.com 🌟 ×

Mimicking one button mode via webhook on Dimmer2?


Jottemm

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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?

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...