I’ve been on a journey to automate my home heating system using the Shelly BLU TRV and the Shelly Gen 3 Gateway. It’s been a fascinating process, though not without its challenges! I wanted to share my experiences and some tips that might help others who are looking to integrate these devices into their smart home setup.
My Setup
I currently have around 30 Shelly devices spread across my home, including both Wi-Fi and BLE/U units. It’s amazing how the ecosystem has grown as I continue to explore automation. My primary method of communication with these devices has been through HTTP calls and webhooks sent to Homey. This approach allows for a lot of flexibility, but it does require careful consideration to avoid overwhelming the system.
The Challenge: Controlling the TRV
One of the trickiest parts of this project was figuring out how to control the valve position of the Shelly BLU TRV. After some research, I stumbled upon the Shelly Knowledge Base and found the necessary commands to set both the target temperature and the valve position. Here’s what worked for me:
-
Setting Target Temperature:
http://192.168.33.1/rpc/BluTrv.Call?id=200&method=“TRV.SetTarget”¶ms={“id”:0,“target_C”:22}
This sets the target temperature to 22°C.
-
Setting Valve Position:
http://192.168.33.1/rpc/BluTrv.Call?id=200&method=“TRV.SetPosition”¶ms={“id”:0,“pos”:50}
This sets the valve position to 50%.
A Tip for Temperature Accuracy
One thing I noticed is that the temperature offset in the Shelly app only affects the displayed temperature, not the actual value sent via webhooks. To work around this, I added a manual offset adjustment in my Homey code when receiving temperature data. Alternatively, using an external temperature sensor provides a more accurate reading and eliminates the need for manual adjustments.
The Journey Continues
This project has been incredibly rewarding, and I’m excited to see where it takes me next. If you’re looking to integrate Shelly devices into your smart home, I highly recommend starting with the HTTP call method and exploring the Shelly Knowledge Base for additional commands and tips.
Let me know if you have any questions or if you’ve found other creative ways to use these devices! Happy automating! ![]()