Hello everyone, I wanted to share my experience with integrating HmIP-SWDO sensors into my existing CCU2 and CCU3 setup. After spending quite some time troubleshooting, I finally managed to get everything working smoothly. Here’s how I did it, in case anyone else is facing similar challenges.First, I must admit that I was initially a bit overwhelmed. My setup includes multiple rooms with various devices, and adding new sensors seemed like a daunting task. However, I decided to tackle it step by step.**Understanding the Problem:**I had two BidCos-RF fenster sensors that were no longer functioning. Instead of replacing them with the same model, I opted for the HmIP-SWDO sensors. The challenge was that BidCos-RF and HmIP-RF devices can’t be mixed in the same heating group. This meant I had to adjust my scripts to accommodate the new sensors.**Script Adjustments:**I modified my existing scripts to either use the data from the heating group or directly from the HmIP-SWDO sensor. This involved some trial and error, especially since I’m not a programmer by trade. I relied heavily on the forums to find examples and guidance.**Identifying the Sensors:**One of the hurdles was extracting the serial numbers or names of the HmIP-SWDO sensors within each room. I discovered that I needed to navigate through the devices in each room and filter for the specific sensor type. This required some digging into the structure of the CCU and understanding how it organizes devices.**Iterative Approach:**I started by focusing on one room at a time. Using a foreach loop, I iterated over each device in the room, checked if it was a channel, and then identified if it was an HmIP-SWDO sensor. Once identified, I checked its state to determine if the window was open.**Challenges and Learning:**The process wasn’t without its bumps. I struggled with understanding certain parts of the code, especially how devices and channels are referenced. However, breaking down the problem into smaller parts helped. I also realized the importance of clear variable naming and commenting, which made debugging much easier.**Final Solution:**After several iterations, I managed to create a script that dynamically identifies all HmIP-SWDO sensors in a given room and checks their status. This means I don’t have to manually update the script if I add more sensors in the future, which is a huge plus.**Key Takeaways:**1. Documentation and Community: The forums and documentation were invaluable. Don’t hesitate to search for similar issues or examples.2. Testing Incrementally: Test each part of your script in isolation before combining them. This makes it easier to identify and fix errors.3. Persistence: It’s easy to get frustrated, but taking breaks and approaching the problem with a fresh perspective helped me overcome the hurdles.I hope this experience helps someone else who’s looking to integrate HmIP-SWDO sensors into their setup. If anyone has further questions or needs assistance, feel free to reach out. Happy scripting and happy holidays to all!