Exploring Shelly BLU Door Window Integration with Shelly Plus Plug

I recently embarked on a project to integrate my Shelly BLU Door Window sensor with a Shelly Plus Plug S, aiming to automate door monitoring without relying on internet connectivity. The journey was a mix of curiosity and problem-solving, and I wanted to share my experience in case it helps others facing similar challenges.Initially, I followed the standard approach by installing the necessary scripts from the Shelly library. I configured ble-shelly-blu.js and ble-events-handler.js, carefully entering the MAC address of my BLU Door Window in the latter. However, upon testing, I noticed no response when the door was opened or closed. This was perplexing, as I had meticulously followed the setup instructions.After some research, I realized that the issue might lie in the script configuration or the communication protocol between the devices. I decided to delve deeper into the Shelly API documentation and forums, where I found valuable insights. One key takeaway was ensuring that the scripts were correctly placed and that the MAC address was accurately entered without any typos.Through trial and error, I discovered that adjusting the script parameters and verifying the BLE connection settings were crucial. Additionally, I explored alternative methods, such as using a Raspberry Pi as a local controller, which provided a workaround but wasn’t ideal for my setup.Ultimately, I found a solution by tweaking the script to use a different event handling approach and ensuring that the firmware on both devices was up to date. This adjustment allowed the system to function smoothly, providing the automation I desired.For anyone tackling similar projects, I recommend thoroughly checking script configurations, verifying device firmware, and exploring community forums for troubleshooting tips. It’s a rewarding process that enhances home automation capabilities, and sharing experiences helps the community grow.