MC6 Thermostat

which firmware version do you have ?

Please check attached latest MQTT version firmware v2.02. with this firmware you need to use the new App - Myhouse Pro .
firmware download link
https://we.tl/t-C2z6RgN3aC

To set the MQTT server below is the operation:
1 ) go to the menu - Screen Lock ,input the password 1976
2 )press the “Lock” button to enter the mqtt server setting screen
3 ) press the button “MQTT server” to modify the current server name() to your own mqtt server, for example you can input 192.168.1.288
4) the topic is fixed , that is Heat
5) please note if you dont input new mqtt server and this is the first enter this setting its better to press the second button “Reset to factory setting”, because if you go back to home screen the firmware will looking for the new mqtt server in E2 chip , normally this data is wrong if it is not written by anyting, this means this mc6 would not connect to our mqtt server and App would not work.

The OTA function is avilable from this firmware .

the new touch hardware released began from early 2020.

I have:

2 x 3.16z
3 x 3.09z
2 x 2.98
2 x 1.10
1 x 2.02

I’ve programmed with this new version, and it is connecting to my MQTT server.

I’me receiving the messages in the topic /updData/5002XXXXXX with messages that look base64: g2uLL8wDFwb/AQ96VKST1ef9ShKFuTxcSOQqgk8ej7Q=

Is there any trick to convert them?

sorry, yes, the topic is updData , that 5002xx is this MC6 mac address.

the data is encrypted with AES256, we will upload a new firmware which you can set the key or select none-encryption next week.


attached picture is the mqtt data list

Hi Paraviod

Yes, if first unit firmware is 3.xx are new touch hardware.

Domaray: Please… What is wrong in my HA? :frowning:
Didn’t work Away and Off button.
Can you help me please?
termostato

Hi
when I connect the jfasher it gives me this error, what can it be?
I have rechecked the wiring several times and it is fine

Hello.
Are there any updates on this? I’m looking for old/new touch firmware.

Cheers,
Mateusz

Hi MateusZ

Please check this download link: https://we.tl/t-RBL1C3YUif
To modify the MQTT server please operate as below:

  1. go to the Lock screen, input the password 1976, click the button - Lock
  2. there are two buttons in the new screen
    MQTT server - you can input the new server name
  3. please note this firmware is only for customization cloud server, it could not connect to our cloud server.
    4) MQTT cloud server the topic is updData/cc02578dx2dd , this Macaddress is the thermostat ID which is the unique Mac adress.

Regards
Yu

1 Like

Hi MateusZ

This link is the MQTT firmware for common MC6, it connects to our MC6 cloud server , the data is encoded by AES128, user could use our App - Myhouse Pro to operate this mqtt MC6.

https://we.tl/t-znn50ycJOi

Regards
Yu

Please check this download link: https://we.tl/t-RBL1C3YUif
To modify the MQTT server please operate as below:

  1. go to the Lock screen, input the password 1976, click the button - Lock
  2. there are two buttons in the new screen
    MQTT server - you can input the new server name
  3. please note this firmware is only for customization cloud server, it could not connect to our cloud server.
  1. MQTT cloud server the topic is updData/cc02578dx2dd , this Macaddress is the thermostat ID which is the unique Mac adress.

Regards
Yu

Hello Yu.
Thank You very much for your prompt replay. I do really appreciate it! :slight_smile:
Thanks for the instructions as well.

Have a nice day!

Cheers,
Mateusz

Please… anybody know why my AWAY and ON/OFF button didn’t work?

Hi, sorry for the error in he blog. I have updated with the correct code. Here you are:

switch: 
  - platform: mqtt
    name: "Termostato On/Off"
    state_topic: "home/termostato/status/state"
    command_topic: "home/termostato/status/set"
    value_template: "{{ value_json }}"
    payload_on: "1"
    payload_off: "0"
    qos: 0
    retain: true
    icon: mdi:power
  - platform: mqtt
    name: "Termostato Away"
    state_topic: "home/termostato/away/state"
    command_topic: "home/termostato/away/set"
    payload_on: "1"
    payload_off: "0"
    qos: 0
    retain: true
    icon: mdi:login

Hope it works now

1 Like

Domaray Thank you very much!!!

//History is same problem. :slight_smile:
for history:

sensor:
  - platform: mqtt
    name: "termostato_mode"
    state_topic: "home/termostato/mode/state"
    value_template: "{{ value_json }}"

Do you mean this?

sensor:
  - platform: mqtt
    name: "termostato_mode"
    state_topic: "home/termostato/mode/state" 
    
  - platform: mqtt
    name: "termostato_away_temp"
    state_topic: "home/termostato/away_temperature/state"

1 Like

Domaray thank’s. Now is fully work.

Is there any way I can add +/- buttons to change the temperature?

@Domaray thank you for your blog post about MC6 and HA!

I have a question, does anyone have issue with connectivity ? Or is there a way to debug what is going on if integration is not working as it should?

You can see history how it behaves, last data is from 4 hours ago, previously from 9 and 16 etc. but I’m trying to change the temperature, turn it on/off, set to away, basically everything that integration offers, without any change on the MC6 and without any change in history

How it looks like when I change temperature
https://gifyu.com/image/UAly

This is my card configuration (taken from blog)

cards:
  - entity: climate.salon
    type: thermostat
    name: Apartment
  - cards:
      - entity: switch.termostato_on_off
        name: On/Off
        hold_action:
          action: more-info
        show_icon: true
        show_name: true
        show_state: true
        tap_action:
          action: toggle
        type: button
      - entity: switch.termostato_away
        hold_action:
          action: more-info
        show_icon: true
        show_name: true
        show_state: true
        tap_action:
          action: toggle
        type: button
        name: Away
    type: horizontal-stack
  - type: entities
    entities:
      - entity: input_number.away_temperature
        icon: 'mdi:thermometer'
        name: Temp. away
    state_color: true
type: vertical-stack

Here are configuration and automation scripts


# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

# Text to speech
tts:
  - platform: google_translate

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml


climate:
  - platform: mqtt
    name: Salón
    modes:
      - "off"
      - "heat"
      - "auto"
    temperature_command_topic: "home/termostato/temperature_setpoint/set"
    temperature_state_topic: "home/termostato/temperature_setpoint/state"
    temperature_state_template: "{{ value_json|float / 10  }}"
    current_temperature_topic: "home/termostato/current_temperature/state"
    current_temperature_template: "{{ value_json|float / 10  }}"
    mode_state_topic: "home/termostato/mode/state"
    temperature_unit: c
    max_temp: 30
    min_temp: 15
    temp_step: 0.5
    retain: 1

switch: 
  - platform: mqtt
    name: "Termostato On/Off"
    state_topic: "home/termostato/status/state"
    command_topic: "home/termostato/status/set"
    value_template: "{{ value_json }}"
    payload_on: "1"
    payload_off: "0"
    qos: 0
    retain: true
    icon: mdi:power
  - platform: mqtt
    name: "Termostato Away"
    state_topic: "home/termostato/away/state"
    command_topic: "home/termostato/away/set"
    payload_on: "1"
    payload_off: "0"
    qos: 0
    retain: true
    icon: mdi:login

sensor:
  - platform: mqtt
    name: "termostato_mode"
    state_topic: "home/termostato/mode/state" 
    
  - platform: mqtt
    name: "termostato_away_temp"
    state_topic: "home/termostato/away_temperature/state"

  - platform: history_stats
    name: Termostato_history_today
    entity_id: sensor.termostato_mode
    state: 'heat'
    type: time
    start: '{{ now().replace(hour=0, minute=0, second=0) }}'
    end: '{{ now() }}'

  - platform: history_stats
    name: Termostato_history_24h
    entity_id: sensor.termostato_mode
    state: 'heat'
    type: time
    end: '{{ now() }}'
    duration:
      hours: 24
    
  - platform: history_stats
    name: Termostato_history_week
    entity_id: sensor.termostato_mode
    state: 'heat'
    type: time
    start: '{{ as_timestamp( now().replace(hour=0, minute=0, second=0) ) - now().weekday() * 86400 }}'
    end: '{{ now() }}'

  - platform: history_stats
    name: Termostato_history_total
    entity_id: sensor.termostato_mode
    state: 'heat'
    type: time
    start: '{{ 0 }}'
    end: '{{ now() }}'

automation.yaml

- id: '1597530567890'
  alias: Set Away Temperature
  description: ''
  trigger:
  - entity_id: input_number.away_temperature
    platform: state
  action:
  - data_template:
      payload: '{{ [(states(''input_number.away_temperature'') | float)*10] }}'
      retain: true
      topic: home/termostato/away_temperature/set
    service: mqtt.publish
  mode: single
  
- id: '1602464759287'
  alias: Get Away temperature
  description: Set the slide to the away temperature read
  trigger:
  - platform: mqtt
    topic: home/termostato/away_temperature/state
  condition: []
  action:
  - service: input_number.set_value
    data:
      entity_id: input_number.away_temperature
      value: "{{ (trigger.payload|float)/10 }}"
  mode: single

And Node-RED
https://gifyu.com/image/UAnM

What I’m seeing in logs of MQTT broker is

1612389787: New client connected from 192.168.0.20 as mqtt_583dacd3.dd2be4 (p2, c1, k60, u’hamqttbroker’).
1612390473: Saving in-memory database to /data/mosquitto.db.
1612391335: Socket error on client 5iVhdFcOpxLRMrwpqr2sfQ, disconnecting.