OpenGarage.io status indicator

Hey guys, bought an opengarage.io for our garage. I made the entries to my config.yaml and i can open and shut the door but the status always says closed… Any ideas? here is my config…

covers:
    garage:
      host: 192.168.70.119
      device_key: *******
      name: Garage Door

this is how it looks, kind of wanted a button as well instead of arrows.

and this is the options screen.

Did you setup the open and closed distances? This is a opengarage UI function not a HA function.

i did set up the thresholds, yes… thanks silvrr!

Is the OpenGarage GUI correctly showing the open/closed state and does the log show its indicating open/closed as it should?

Is there anything related in the HomeAssistant Log?

What is your signal strength like? I was having issues previously with mine when I used a phone USB charger. I switched to one that provided more power ( I think its a spare iPad charger now) and many of my inconsistency issues went away.

i will do a little more testing today but pretty sure that the OpenGarage GUI shows correctly. Will check the HA log as well. Signal strength is great as i put a Unifi AP about 10 feet from the garage door to cover the garage door as well as the garage light. Will also change out the USB power as that is very easy.

Do you have to do anything special for the binary sensor? i just added the lines in the config, then added the sensor to one of the cards in the UI, didn’t change anything.

I don’t think I have a binary_sensor entity for my open garage. It should be showing as a cover.name type entity.

1 Like

i am probably doing something wrong… the graphic with the arrows is cover.garage_door. The one that says Garage Door Closed is binary_sensor.garage_door, maybe that is why it isn’t working, lol.

1 Like

got it working by adding the code that is in the config examples and just substituting my entity names. i am a dummy, now to change the icons. hope this can help someone searching in the future.

sensor:
  platform: template
  sensors:
    garage_status:
      friendly_name: 'Honda Door Status'
      value_template: '{% if states.cover.honda %}
          {% if states.cover.honda.attributes["door_state"] == "open" %}
            Open
          {% elif states.cover.honda.attributes["door_state"] == "closed" %}
            Closed
          {% elif states.cover.honda.attributes["door_state"] == "opening" %}
            Opening
          {% elif states.cover.honda.attributes["door_state"] == "closing" %}
            Closing
          {% else %}
            Unknown
          {% endif %}
          {% else %}
          n/a
          {% endif %}'
1 Like

hey @xman111 is this still working for you? For some reason the door status stopped working and I have the same configuration as you.

      garage_status:
        friendly_name: 'Garage door'
        value_template: '{% if states.cover.garage %}
            {% if states.cover.garage.attributes["door_state"] == "open" %}
              Otvorena
            {% elif states.cover.garage.attributes["door_state"] == "closed" %}
              Zatvorena
            {% elif states.cover.garage.attributes["door_state"] == "opening" %}
              Otvaranje...
            {% elif states.cover.garage.attributes["door_state"] == "closing" %}
              Zatvaranje...
            {% else %}
              Unknown
            {% endif %}
            {% else %}
            n/a
            {% endif %}'
        icon_template: >-
          {% if states.cover.garage.attributes["door_state"] == "open" %}
            hass:square-outline
          {% else %}
            hass:square
          {% endif %}

it isn’t working… see my post here: OpenGarage broken after last update

they changed some settings in HA with the newest update and it broke this for me.

read here, under Opengarage

1 Like