Hello everybody, I would like to share an original shelly script modified to add window/door contact sensor (and illuminance + rotation) to domoticz via MQTT autodiscovery, the device is this one Shelly BLU Door Window
https://www.shelly.com/fr/products/shel ... ndow-white
copy paste the script in attachement in the shelly device (and activate bluetooh), this is working only for PLUS series
the script is based on this shelly script ble-pasv-mqtt-gw.js dowloaded directy from the shelly script library and I add this 2 modifications
so if you copy paste the script in attchement, save and start it the device should appear in the domoticz devices list
Shelly ble window sensor and shelly plus to MQTT autodiscovery
Moderators: leecollings, remb0
- TiXav
- Posts: 41
- Joined: Saturday 28 November 2015 22:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: France
- Contact:
Shelly ble window sensor and shelly plus to MQTT autodiscovery
- Attachments
-
- modified script.js
- (14.89 KiB) Downloaded 18 times
Last edited by TiXav on Wednesday 19 February 2025 14:12, edited 3 times in total.
- TiXav
- Posts: 41
- Joined: Saturday 28 November 2015 22:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: France
- Contact:
Re: Shelly ble window sensor and shelly plus to MQTT autodiscovery
note this script is working also to add temperature/humidy from LYWSD03MMC also via MQTT autodiscovery (xiaomi sensor flashed with this wayWho is online
Users browsing this forum: No registered users and 1 guest