Greetings, community! I’m currently diving into the world of MQTT and openHAB, and I’ve got a specific challenge I’d love to tackle. I’ve recently acquired a Shelly BLU TRV and an older WIFI TRV, both of which I’d like to control seamlessly through openHAB. The BLU TRV runs via a WIFI Bluetooth gateway, and to adjust the valve position, I need to send an MQTT command with a specific payload structure. Here’s the command I’m working with:
mqtt
Topic: shellyGatewayIP/rpc
Payload: {
“id”: 0,
“src”: “testcommand”,
“method”: “BluTRV.Call”,
“params”: {
“id”: 200,
“method”: “TRV.SetPosition”,
“params”: {
“id”: 0,
“pos”: 99
}
}
}
This is an RPC (Remote Procedure Call), so the payload syntax is crucial. My question is: Can I configure this MQTT command directly through the openHAB WebUI in the MQTT channel or item? Or do I need to create a rule that triggers when the setpoint valve position item changes? I’m eager to find the most efficient and reliable method to integrate these devices into my smart home setup. Any insights or experiences you’ve had with similar setups would be invaluable! Thanks in advance for your support and wisdom.