The Shelly Door / Window sensor contains the typical capabilities of a typical Door / Window sensor which is event reporting when the reed relay moves away from the companion magnet.. Beyond this, it contains an accelerometer that it uses to report events of tilt and vibration as well as a lux sensor. Being a WiFi device on battery power its response time will be marginally slower than something like a wired, X10 RF, Zigbee or wired Z-wave sensor since it needs to wake up on the event and make a WiFi connection through the local Access Point.
Shelly has elected to make their case a little larger to hold two CR123 batteries which gives them of up to two years before changing the pair. Typically battery operated sensors of this type claim up to one year of life, but then only one battery needs to be replaced.
Since it also contains an accelerometer it has the potential to be employed in other applications beyond the typical door or window installations. Xiaomi sells both a Zigbee door/window and Zigbee vibration sensor, but not a unit that contains both. Xiaomi's vibration sensor does have firmware that reports a wider range of accelerometer outputs, but for most this difference will not matter. The lux sensor also opens ups other uses, but likely not practical as a lux-only devece, but could be useful in combination with the other sensors.
mcsShelly and mcsMQTT recognize this device and automatically create HS devices using default settings. Additional settings are available for personalized customization. These can be found at https://shelly-api-docs.shelly.cloud...indow-settings. The ones of interest are shown below along with example of use that was extracted from the mcsShelly manual.
Assuming that the IP of the Shelly Door/Window is 192.168.0.123 (yours will be different) these settings can be applied using a browser with URL set with examples shown below. The red font is what will be the parts that you need to customize.
http://192.168.0.123/settings?tilt_enabled=true&vibration_enabled=false
Table 23 Shelly Door/Window Settings
Shelly has elected to make their case a little larger to hold two CR123 batteries which gives them of up to two years before changing the pair. Typically battery operated sensors of this type claim up to one year of life, but then only one battery needs to be replaced.
Since it also contains an accelerometer it has the potential to be employed in other applications beyond the typical door or window installations. Xiaomi sells both a Zigbee door/window and Zigbee vibration sensor, but not a unit that contains both. Xiaomi's vibration sensor does have firmware that reports a wider range of accelerometer outputs, but for most this difference will not matter. The lux sensor also opens ups other uses, but likely not practical as a lux-only devece, but could be useful in combination with the other sensors.
mcsShelly and mcsMQTT recognize this device and automatically create HS devices using default settings. Additional settings are available for personalized customization. These can be found at https://shelly-api-docs.shelly.cloud...indow-settings. The ones of interest are shown below along with example of use that was extracted from the mcsShelly manual.
Assuming that the IP of the Shelly Door/Window is 192.168.0.123 (yours will be different) these settings can be applied using a browser with URL set with examples shown below. The red font is what will be the parts that you need to customize.
http://192.168.0.123/settings?tilt_enabled=true&vibration_enabled=false
Table 23 Shelly Door/Window Settings
dark_threshold | number | Illumination definition for "dark" in lux, 0..100000 and must be lower than twilight_threshold |
twilight_threshold | number | Illumination definition for "dusk" in lux, 0..100000 and must be greater than dark_threshold |
dark_url | string | Set URL to invoke when luminance <= dark_threshold |
twilight_url | string | Set URL to invoke when luminance > dark_threshold AND luminance <= twilight_threshold |
close_url | string | Set URL to invoke on close |
vibration_url | string | Set URL to invoke on vibration detection |
led_status_disable | bool | Enable/disable status LED |
sleep_mode_period | number | Periodic update period in hours, 1..24 |
reverse_open_close | bool | Reverse which position the sensor consideres "open" |
tilt_enabled | bool | Enable/disable tilt detection |
vibration_enabled | bool | Enable/disable vibration detection |
Comment