I am trying to read data from my Weishaupt WTC-COM (heating interface). This is a really poorly engineered device that only accepts one request at a time. If you try to send it more than one, it blocks.
This is basically what I need to read:
sensor:
- platform: rest
resource: http://172.22.1.128/parameter.json
method: POST
payload: '{"prot":"coco","telegramm":[[6,1,1,2586,0,0,0,0]]}'
name: weishaupt_aussentemp
value_template: '{{ (value_json.telegramm[0][6] + value_json.telegramm[0][7]*256) / 10 }}'
unit_of_measurement: "°C"
- platform: rest
resource: http://172.22.1.128/parameter.json
method: POST
payload: '{"prot":"coco","telegramm":[[12,1,1,15,0,0,0,0]]}'
name: weishaupt_vorlauftemp
value_template: '{{ (value_json.telegramm[0][6] + value_json.telegramm[0][7]*256) / 10 }}'
unit_of_measurement: "°C"
- platform: rest
resource: http://172.22.1.128/parameter.json
method: POST
payload: '{"prot":"coco","telegramm":[[6,1,1,4,0,0,0,0]]}'
name: weishaupt_solltemp
value_template: '{{ (value_json.telegramm[0][6] + value_json.telegramm[0][7]*256) / 10 }}'
unit_of_measurement: "°C"
How can I optimize my 3 calls so they don’t happen at the same time? I am fine with updates every minute or so.