Converting a MAX! Cube to CUL/CUN to use with Home Assistant

Success! I have thermostat+ 1 to 3 radiators in various rooms. When i change a thermostat the radiators get updated instantly!

And you don’t actually need the homematic binding, just use mqtt!

You can edit /etc/homegear/mqtt.conf and set your broker, then, in home assistant add to the climate component at least the thermostats (in my case changing thermostat values also triggers the radiators)

# modes:
# 0 - auto
# 1 - manual
# 2 - party
# 3 - boost

 - platform: mqtt
   name: Office Thermostat
   retain: false
   send_it_off: true
   current_temperature_topic: service/homegear/8347/plain/1/1/ACTUAL_TEMPERATURE
   temperature_state_topic: service/homegear/8347/plain/1/1/SET_TEMPERATURE
   temperature_command_topic: service/homegear/8347/set/1/1/SET_TEMPERATURE
   min_temp: 10
   max_temp: 30
   temp_step: 0.5
   modes: ["auto","manual","party","boost"]
   mode_state_topic: service/homegear/8347/plain/1/1/CONTROL_MODE
   mode_state_template:  >-
      {% set values = { '0':'auto', '1':'manual', '3':'boost'} %}
      {{ values[value] if value in values.keys() else 'off' }}

I don’t use party mode so i hide it…

Works very well. Also I disabled node-blue since it was causing very high cpu usage on idle in homegear.

Now I only need to make mode_command_template to work with

#   mode_command_topic: service/homegear/8347/set/3/1/CONTROL_MODE
#   mode_command_template: >-
#      {% set values = { 'auto':'0', 'manual':'1',  'boost':'3'} %}
#      {{ values[value] if value in values.keys() else '0' }}

details in this thread - Need help with value_template for MQTT HVAC