Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MQTT climate doesn't work correctly with Google Assistant #18516

Closed
joshtbernstein opened this issue Nov 16, 2018 · 5 comments
Closed

MQTT climate doesn't work correctly with Google Assistant #18516

joshtbernstein opened this issue Nov 16, 2018 · 5 comments

Comments

@joshtbernstein
Copy link

joshtbernstein commented Nov 16, 2018

Home Assistant release with the issue:

0.82

Last working Home Assistant release (if known):

Operating environment (Hass.io/Docker/Windows/etc.):

Hass.io on Docker on CentOS 7

Component/platform:

https://www.home-assistant.io/components/climate.mqtt/

Description of problem:
In Google Assistant, the entity shows the current temperature, but shows "Loading" for the target temperature. I'm unable to open the modes menu or adjust the target temperature.

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

climate:
  - platform: mqtt
    name: Thermostat
    modes:
      - "Off"
      - "Heat"
      - "Cool"
    fan_modes:
      - "Auto"
      - "On"
    current_temperature_topic: "hvac/current_temperature/get"
    mode_command_topic: "hvac/mode/set"
    mode_state_topic: "hvac/mode/get"
    temperature_command_topic: "hvac/temperature/set"
    temperature_state_topic: "hvac/temperature/get"
    fan_mode_command_topic: "hvac/fan/set"
    fan_mode_state_topic: "hvac/fan/get"
    min_temp: 45
    max_temp: 95

cloud:
  google_actions:
    filter:
      exclude_entities:
        - light.bedroom
        - light.office

Traceback (if applicable):


Additional information:

@joshtbernstein joshtbernstein changed the title MQTT climate doesn't work correctly with Google Assistant or HomeKit MQTT climate doesn't work correctly with Google Assistant Nov 16, 2018
@joshtbernstein
Copy link
Author

HomeKit issues could be something else. Removing.

@joshtbernstein
Copy link
Author

joshtbernstein commented Nov 16, 2018

Turned on debugging and it looks like HA isn't sending Google the current setpoint or mode:

climate.thermostat': {
  'online': True,
  'thermostatTemperatureAmbient': 21.7
}

Compared to what is sent for a zwave thermostat:

climate.2gig_technologies_ct101_thermostat_iris_cooling_1': {'
  online': True,
  'thermostatMode': 'cool',
  'thermostatTemperatureAmbient': 21.7,
  'thermostatTemperatureSetpoint': 23.3
}

@joshtbernstein
Copy link
Author

joshtbernstein commented Nov 16, 2018

Part of the issue seems to be with capitalizing the modes. If I change my config to the following, I can see and adjust the target setpoint from Google. However, I still can't view or change the mode.

climate:
  - platform: mqtt
    name: Thermostat
    modes:
      - "off"
      - "heat"
      - "cool"
    fan_modes:
      - "Auto"
      - "On"
    current_temperature_topic: "hvac/current_temperature/get"
    mode_command_topic: "hvac/mode/set"
    mode_state_topic: "hvac/mode/get"
    temperature_command_topic: "hvac/temperature/set"
    temperature_state_topic: "hvac/temperature/get"
    fan_mode_command_topic: "hvac/fan/set"
    fan_mode_state_topic: "hvac/fan/get"
    min_temp: 45
    max_temp: 95

@joshtbernstein
Copy link
Author

The mode select started working the other day, not sure why.

@cgarwood
Copy link
Member

cgarwood commented Dec 4, 2018

Closing in favor of #18645

@cgarwood cgarwood closed this as completed Dec 4, 2018
@home-assistant home-assistant locked and limited conversation to collaborators Mar 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants