27.11.2026, 08:34
Try this script for the setpoint. "RPC over MQTT" must be enabled on the Shelly side. "id = 200" might need to be changed to the real ID of your TRV.
Code:
return json.encode({
id = 0,
src = 'lm',
method = 'BluTRV.Call',
params = {
id = 200,
method = 'TRV.SetTarget',
params = {
id = 0,
target_C = value
}
}
})