Hi all,
I have Smart-Heating system from Controme.
Controme offers a rest API to get/set (API – Controme Support Center) all relevant values of the heating system. I can access via the rest API all sensors.
i.e. get room temperature:
rest:
- scan_interval: 60
resource: http://192.168.x.x/get/json/v1/2/temps
sensor:
- name: Wohnzimmer
value_template: "{{ value_json[0]['raeume'][0]['temperatur']|round(1) }}"
unit_of_measurement: "°C"
device_class: temperature
json_attributes_path: $.[0].raeume[0]
json_attributes:
- "name"
- "temperatur"
- "solltemperatur"
- "total_offset"
- "luftfeuchte"
or getting the heating state (actuator on/off)
- scan_interval: 60
resource: http://192.168.x.x/get/json/v1/2/outs
binary_sensor:
- name: Wohnzimmer (Status Stellmotor)
value_template: "{{ value_json[0]['raeume'][0]['ausgang']['1'] }}"
I’m currently stuck while creating a climate sensor, which shows the current room temperature, the target temperature, the state of the actuator and allows to set a new target temperature via a rest post command.
I try to use the Generic Thermostat (Generic Thermostat - Home Assistant), but this is from my understanding more or less the same as my smart heating system and wouldn’t help in my case.
Has anyone an idea how I can create a climate entity to solve my problem?
Many Thanks,
Markus