Hi!
I’ve researched this topic a lot, but haven’t found a solution.
I have a bunch of TRVs that are connected to zigbee2mqtt. There are many things that work, but I am looking for something particular. They are this model: Lidl 368308_2010 control via MQTT | Zigbee2MQTT
So, I have been able to create various schedules for them using different scheduler addons and automation. They work, in that they set the TRV modes and temperatures as requested, online.
However, these TRVs also have the option to send an MQTT message with a full weekly schedule. For example, if I send to zigbee2mqtt/Thermostat_Office/set
this message:
{
"monday": {
"monday_temp_1": "14",
"monday_hour_1": "00",
"monday_minute_1": "00",
"monday_temp_2": "15",
"monday_hour_2": "02",
"monday_minute_2": "00",
"monday_temp_3": "16",
"monday_hour_3": "03",
"monday_minute_3": "00",
"monday_temp_4": "17",
"monday_hour_4": "04",
"monday_minute_4": "00",
"monday_temp_5": "18",
"monday_hour_5": "05",
"monday_minute_5": "00",
"monday_temp_6": "19",
"monday_hour_6": "06",
"monday_minute_6": "00",
"monday_temp_7": "20",
"monday_hour_7": "07",
"monday_minute_7": "00",
"monday_temp_8": "21",
"monday_hour_8": "08",
"monday_minute_8": "00",
"monday_temp_9": "22",
"monday_hour_9": "09",
"monday_minute_9": "00"
}
}
it will set the schedule for Monday.
I am looking for an option to create and send such a message from HA. Like I said, I have researched this a lot, but so far haven’t found a solution.
I would appreciate any pointers you could give me on this. I expect a complete solution is not available, but even if it is just a direction to follow, I might be able to fill in the blanks. At this point, I don’t know even where to start with this. Or if it’s possible at all, or if I should just try Node-Red. Which I have considered, but the options for creating a dashboard for this under the /ui are not great. In any case, I would prefer a native HA solution if possible.