Controller - Shelly SNSN-0024x Plus i4 with Wall switch 4
This blueprint is part of the Controllers-Hooks Ecosystem. You can read more about this topic here.
Description​
This blueprint provides universal support for running any custom action when a button is pressed on the provided Shelly SNSN-0024x Plus i4 with Wall switch 4. Supports controllers integrated with Shelly. The blueprint will automagically detect the integration type and take care of all the rest.
In addition of being able to provide custom actions for every kind of button press supported by the remote, the blueprint allows to loop the long press actions while the corresponding button is being held. Once released, the loop stops. This is useful when holding down a button should result in a continuous action (such as lowering the volume of a media player, or controlling a light brightness).
Automations created with this blueprint can be connected with one or more Hooks supported by this controller. Hooks allow to easily create controller-based automations for interacting with lights, media players, covers and maybe more in the future. See the list of Hooks available for this controller for additional details.
Requirements​
Shelly Integration
OptionalIf you plan to integrate the with Shelly, you must have this integration set up. The Shelly integration can be configured from the Home Assistant UI. Check the documentation for full details on the required hardware and how to set up Shelly on your system.
Shelly DocsInputs​
Available Hooks​
Light​
This Hook blueprint allows to build a controller-based automation to control a light. Supports brightness and color control both for white temperature and rgb lights.
(Default) Mapping​
- Button button1 short press -> Turn on
- Button button1 long press -> Brightness up (continuous, until release)
- Button button1 double press -> Color up
- Button button3 short press -> Turn off
- Button button3 long press -> Brightness down (continuous, until release)
- Button button3 double press -> Color down
(Option1) Mapping​
- Button button2 short press -> Turn on
- Button button2 long press -> Brightness up (continuous, until release)
- Button button2 double press -> Color up
- Button button4 short press -> Turn off
- Button button4 long press -> Brightness down (continuous, until release)
- Button button4 double press -> Color down
Media Player​
This Hook blueprint allows to build a controller-based automation to control a media player. Supports volume setting, play/pause and track selection.
(Default) Mapping​
- Button button1 short press -> Volume up
- Button button1 long press -> Volume up (continuous, until release)
- Button button1 double press -> Next track
- Button button3 short press -> Volume down
- Button button3 long press -> Volume down (continuous, until release)
- Button button3 double press -> Play/Pause
(Option1) Mapping​
- Button button2 short press -> Volume up
- Button button2 long press -> Volume up (continuous, until release)
- Button button2 double press -> Next track
- Button button4 short press -> Volume down
- Button button4 long press -> Volume down (continuous, until release)
- Button button4 double press -> Play/Pause
Cover​
This Hook blueprint allows to build a controller-based automation to control a cover. Supports opening, closing and tilting the cover.
(Default) Mapping​
- Button button1 short press -> Open cover
- Button button1 long press -> Open the cover tilt
- Button button3 short press -> Close cover
- Button button3 long press -> Close the cover tilt
- Button button3 double press -> Stop cover and cover tilt
(Option1) Mapping​
- Button button2 short press -> Open cover
- Button button2 long press -> Open the cover tilt
- Button button4 short press -> Close cover
- Button button4 long press -> Close the cover tilt
- Button button4 double press -> Stop cover and cover tilt
Additional Notes​
Button Order​
The button order is based on the plus i4 wiring and is as follows:
SW1 -> Button 1 (Top Left) SW2 -> Button 2 (Top Right) SW3 -> Button 3 (Bottom Left) SW4 -> Button 4 (Bottom Right)
Additional details Shelly Plus i4
Specifics related to Home Assistant Shelly Integration​
Only supports firmware 1.0 and later installed on Shelly SNSN-0024x Plus i4. Check Home Assistant Shelly Integration for additional details.
Changelog​
- 2025-03-xx: Initial release. (@yarafie) 🎉