Shelly Wave devices have SW inputs that can be used with external switches, push buttons, and certain sensors.
We are gradually adding Detached Mode support to Shelly Wave devices. However, Detached Mode does not automatically mean that the SW input can be used as a separate binary sensor.
Currently, the ability to report an SW input as an independent binary sensor is available only on:
Shelly Wave i4
Shelly Wave i4 DC
On other Shelly Wave devices, this functionality has not yet been implemented, even if the device supports Detached Mode.
This limitation is related to how Z-Wave Command Classes are used to report input and output states.
What is a binary sensor?
A binary sensor is a device that detects two possible states.
For example:
Open / Closed
ON / OFF
Motion detected / No motion
Active / Inactive
Binary sensors are commonly used in security systems, monitoring, and home automation. Examples include door contacts, window contacts, motion detectors, water leak detectors, and other sensors that provide a two-state signal. When connected to a compatible Shelly Wave input, the sensor state can be reported to the Z-Wave gateway and used in automations.
What is Detached Mode?
Detached Mode separates the physical switch input (SW) from the device output (O). Normally, when the SW input changes state, the device controls the related output.
When Detached Mode is enabled:
The SW input no longer directly controls the related output.
The output can still be controlled through the Z-Wave gateway.
Input actions can be used for supported Z-Wave events and automations.
Important: Detached Mode does not necessarily expose the SW input as a separate ON/OFF entity in the gateway. The availability of independent input state reporting depends on the device model and its supported Z-Wave Command Classes.
Which Shelly Wave devices support binary sensor reporting?
| Device type | Separate binary input reporting |
|---|---|
| Wave i4 | Supported |
| Wave i4 DC | Supported |
| Wave relay devices | Not currently supported |
| Wave PM relay devices | Not currently supported |
| Wave Pro relay devices | Not currently supported |
| Other Wave devices with SW inputs | Not currently supported |
Some of these devices already support Detached Mode, but this does not mean that the input state is exposed as an independent binary sensor.
Why is binary sensor reporting limited?
The limitation is related to the Z-Wave Command Classes used by the devices. Z-Wave Command Classes define how information and commands are exchanged between a device and the gateway. The Command Class traditionally used for reporting binary input states has been deprecated. Because of this, we need an alternative method to report these states correctly.
Wave i4 and Wave i4 DC
Wave i4 and Wave i4 DC do not have physical relay outputs. Because of this, the Switch Binary Command Class can be used to report the state of their inputs. This allows the gateway to receive the input state independently.
Other Shelly Wave devices
On Shelly Wave devices with physical relay outputs, the Switch Binary Command Class is already used to report and control the output state.
For example, on a relay device:
The SW input is used to control the relay.
The Switch Binary Command Class reports the relay output state.
The gateway displays the output as an ON/OFF entity.
If the same Command Class were also used for the SW input without a suitable implementation, it could create conflicts between input and output reporting.
For this reason, the SW input cannot currently be exposed as a separate binary sensor on these devices.
Our development team needs to implement another method that allows the input state to be reported independently without affecting the existing output functionality.
Can I connect a binary sensor to a Wave device with Detached Mode?
A compatible sensor may be electrically connected to an SW input, depending on the device specifications and the sensor output type. However, there is an important difference between connecting a sensor and receiving its state as a separate binary sensor in the gateway.
On devices with Detached Mode, the SW input can be separated from the relay output. Supported input actions may then be used to trigger automations through Z-Wave events. This does not necessarily provide a continuously available Open/Closed or ON/OFF entity. For applications that require the gateway to monitor the actual state of a binary sensor independently, use a device that supports this functionality, such as Wave i4 or Wave i4 DC.
How to use a binary sensor with Wave i4 or Wave i4 DC
Verify that the sensor output is electrically compatible with the selected Wave i4 or Wave i4 DC model.
Connect the sensor to the appropriate SW input according to the device wiring diagram.
Add the Shelly Wave device to the Z-Wave gateway.
Configure the input type to parameter 1- 4 depending where the sensor is connected to value 1 toggle switch (contact closed - ON / contact opened OFF.
Check that the gateway exposes the supported input state.
Activate and deactivate the sensor.
Verify that the input state changes correctly in the gateway.
Use the reported state in automations or monitoring.
Important: Always follow the device wiring diagram. Do not connect a voltage to an SW input unless that voltage and wiring method are supported by the device.
Can Central Scene events be used instead?
On some Shelly Wave devices, Central Scene events can be used as an alternative for triggering automations.
For example, an input action may trigger:
A light automation
A Z-Wave scene
Another relay
A notification
A Home Assistant automation
However, Central Scene events are not the same as binary sensor state reports. A Central Scene event reports an action of a connected button, while a binary sensor reports a state of the connected switch.
For example:
| Central Scene | Binary sensor |
|---|---|
| Button pressed | Contact closed |
| Button released | Contact opened |
| Reports an action | Reports a state |
| Used mainly for scene control | Used for state monitoring |
This distinction is important when using sensors such as door contacts, window contacts, or other devices where the current state must always be known.
Future support
We are gradually introducing Detached Mode support across Shelly Wave devices. However, independent binary sensor reporting requires additional development. Our team is investigating how to report SW input states separately from the output state while maintaining compatibility with the Z-Wave specification. At present, there is no confirmed availability date for this functionality on other Shelly Wave devices.
You can check for firmware updates and supported functions in the Shelly Wave firmware update information.
Summary
Detached Mode and binary sensor reporting are two different functions.
Detached Mode separates the SW input from the device output, allowing the input to be used for other supported control functions. However, independent binary sensor state reporting is currently supported only on Wave i4 and Wave i4 DC. On other Shelly Wave devices, the Switch Binary Command Class is already used for the relay outputs. An alternative implementation is needed before the SW inputs can be reported as separate binary sensors. Until this functionality becomes available, we recommend using Wave i4 or Wave i4 DC for applications that require independent binary input state monitoring.