开云体育

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Shelly button press


 

开云体育

Hi,

?

i?ve got a Shelly 1 that is connected to a wall pushbutton.

I?d like to trigger some events within the SIMPL program.

I?ve configured the Shelly Button Type as “detached”.

I understand I need to use the “I/O URL actions” to communicate with the SIMPL program and use the “Button short/long pressed URL” functionality of the Shelly.

I guess I need to create a TCP Server within my SIMPL program to react to the incoming messages.

Can somebody please confirm and give me a hint how the URL in the Shelly configuration needs to be formatted?

?

Thanks,

Thorsten


 

开云体育

Thorsten,

The Crestron-Shelly integration driver set I've written handles everything you are looking for.? I've written modules for pretty much every device that Shelly makes.? You can download it from my GitHub here:

Hope this helps

Jay

On 1/4/2023 8:52 AM, Thorsten K?hler wrote:

Hi,

?

i?ve got a Shelly 1 that is connected to a wall pushbutton.

I?d like to trigger some events within the SIMPL program.

I?ve configured the Shelly Button Type as “detached”.

I understand I need to use the “I/O URL actions” to communicate with the SIMPL program and use the “Button short/long pressed URL” functionality of the Shelly.

I guess I need to create a TCP Server within my SIMPL program to react to the incoming messages.

Can somebody please confirm and give me a hint how the URL in the Shelly configuration needs to be formatted?

?

Thanks,

Thorsten


 

Fun fact: I have a client's house running temporarily on Shelly modules (Pro 4PM) until Crestron can deliver CLX modules. They are rock solid. Thanks to Jay for turning me onto them.?

OP


 

开云体育

I've found the Shelly products to be very reliable

Have fun with the driver software

Jay

On 1/4/2023 2:56 PM, spannertech@... wrote:

Fun fact: I have a client's house running temporarily on Shelly modules (Pro 4PM) until Crestron can deliver CLX modules. They are rock solid. Thanks to Jay for turning me onto them.?

OP


 

开云体育

Jay,

thank you very much for the heads-up.

I?m using your module suite for quite some time and just realized that I was on a very old version which didn?t provide any handling of the Shelly inputs/buttons.

I just did the update and did the corresponding settings in the Shelly device (reading the help helps ?) and it works like a charm.

?

Again, thank you very much for your contribution to the Crestron community!

?

Cheers,

Thorsten

?

Von: [email protected] <[email protected]> Im Auftrag von jbasen
Gesendet: Mittwoch, 4. Januar 2023 20:05
An: [email protected]
Betreff: Re: [crestron] Shelly button press

?

Thorsten,

The Crestron-Shelly integration driver set I've written handles everything you are looking for.? I've written modules for pretty much every device that Shelly makes.? You can download it from my GitHub here:

Hope this helps

Jay

On 1/4/2023 8:52 AM, Thorsten K?hler wrote:

Hi,

?

i?ve got a Shelly 1 that is connected to a wall pushbutton.

I?d like to trigger some events within the SIMPL program.

I?ve configured the Shelly Button Type as “detached”.

I understand I need to use the “I/O URL actions” to communicate with the SIMPL program and use the “Button short/long pressed URL” functionality of the Shelly.

I guess I need to create a TCP Server within my SIMPL program to react to the incoming messages.

Can somebody please confirm and give me a hint how the URL in the Shelly configuration needs to be formatted?

?

Thanks,

Thorsten


 

开云体育

Thanks Thorsten.

I'm just glad that people find the software and the articles I write useful.

Jay

On 1/5/2023 2:37 AM, Thorsten K?hler wrote:

Jay,

thank you very much for the heads-up.

I?m using your module suite for quite some time and just realized that I was on a very old version which didn?t provide any handling of the Shelly inputs/buttons.

I just did the update and did the corresponding settings in the Shelly device (reading the help helps ?) and it works like a charm.

?

Again, thank you very much for your contribution to the Crestron community!

?

Cheers,

Thorsten

?

Von: [email protected] <[email protected]> Im Auftrag von jbasen
Gesendet: Mittwoch, 4. Januar 2023 20:05
An: [email protected]
Betreff: Re: [crestron] Shelly button press

?

Thorsten,

The Crestron-Shelly integration driver set I've written handles everything you are looking for.? I've written modules for pretty much every device that Shelly makes.? You can download it from my GitHub here:

Hope this helps

Jay

On 1/4/2023 8:52 AM, Thorsten K?hler wrote:

Hi,

?

i?ve got a Shelly 1 that is connected to a wall pushbutton.

I?d like to trigger some events within the SIMPL program.

I?ve configured the Shelly Button Type as “detached”.

I understand I need to use the “I/O URL actions” to communicate with the SIMPL program and use the “Button short/long pressed URL” functionality of the Shelly.

I guess I need to create a TCP Server within my SIMPL program to react to the incoming messages.

Can somebody please confirm and give me a hint how the URL in the Shelly configuration needs to be formatted?

?

Thanks,

Thorsten


 
Edited

Jay @jbasen ,
I'm running v23.1 (Dimmer v6) with a Shelly Wall Dimmer and I receive no feedback from button presses (nor local brightness which I think I understand is a limitation of Shelly). I've tried all the Input signals with no luck.?
I need to keep dimmer state consistent with my Crestron system, and am OK with polling, but I need an event to drive the poll.

BTW, beautiful job on the modules. I'm new to Shelly, but I had your code up and running first time.?

Thanks,
Jeffrey


 
Edited

ah, I see. I need to set Shelly I/O URL Actions.

All set.


 

Yes, configuring the I/O URL Actions are generally required on all Shelly devices for feedback to work properly in the modules.

Thanks

Jay

On Tue, Jul 25, 2023 at 6:43 AM jbeir <jeffrey@...> wrote:

[Edited Message Follows]

ah, I see. I need to set Shelly I/O URL Actions.

All set.


 

Hi Jay,

I am using a Shelly Plus 1 with control of a relay (works well from the Crestron module) and a sensor (switch). I added the I/O URL Actions and I do get a feedback in Crestron but it changes the "Input_0_On_FB" to high and then immediately to low within 100ms. The same happens on the Input_0_Off_FB.?

It seems like I am close but not sure why the sensor state isn't being maintained in Crestron. They both show 0 after the signal goes low.?

Thanks
Itai


 

开云体育

Hi Itai,

What you are seeing is the way the module was written.? All the Input_*_*_FB outputs are simply pulsed as I viewed these as events that will drive other actions in a program.? In my testing I was using a simple push button tied to the input on the relay so I could test double-press, etc. events.? That probably drove my implementing the code this way.

The help for the module specifically documents these as pulsed outputs.? If you need something different it is pretty easy to add a little additional logic in your program.?

Hope this helps

Thanks

Jay

On 4/25/2024 7:32 AM, IBG via groups.io wrote:

Hi Jay,

I am using a Shelly Plus 1 with control of a relay (works well from the Crestron module) and a sensor (switch). I added the I/O URL Actions and I do get a feedback in Crestron but it changes the "Input_0_On_FB" to high and then immediately to low within 100ms. The same happens on the Input_0_Off_FB.?

It seems like I am close but not sure why the sensor state isn't being maintained in Crestron. They both show 0 after the signal goes low.?

Thanks
Itai


 

thank you for the quick reply. That's helpful, now i can take it from here within Crestron.

Itai