Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 105625

Homekit MQTT cover state problem

$
0
0

Hey,

I would like add my custom window opener system to homekit (arduino with mqtt). There isnt position or tilt funtion just open and close. The state can be “open, opening, close, closing”. It is working fine with home assistant, but I have two problem with homekit:

  1. I set device_class to “window” in configuration.yaml into mqtt section, but in home app I get “shutter” icon and I cannot change it to window.

  2. In Home app the “state” is not working fine. The HA showing all state (close, closing, open, opening), but I have only two state in Home App: “open” and “closed”.

Thank you your help!

My config:

cover:
  - platform: mqtt
    unique_id: Bedroom_Window_01
    name: "Bedroom - Window 01"
    device_class: window
    command_topic: "Indoor/Bedroom/Window/01/Set"
    state_topic: "Indoor/Bedroom/Window/01/State"
    payload_open: "1"
    payload_close: "0"
    state_opening: "opening"
    state_open: "open"
    state_closing: "closing"
    state_closed: "closed"
    optimistic: false
    qos: 2

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 105625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>