My garage is opening and I don’t know why. How can I use HA to track the problem down?

My garage is opening and I don’t know why. My Garage is using the MyQ integration. This is unsettling to say the least. If the Mrs finds out I don’t know why, I’m F!?%+D! The only way I know that my garage can be opened is with:

  • I have two (2) ESP8266 micro controllers that connect to ESPHome when they join my network and say “I’m here!” If the garage is closed (and the car is “coming home” ) it uses a Home Assistant automation to open it.
  • Home Assistant itself, either through the iOS app or the website GUI.
  • The standard garage remotes that were programmed with the new garage door
  • The external keypad remote that came with the new garage
  • The MyQ app

Does anyone know if MyQ garages store what opened a garage? I mean can you tell if it was opened from a RF remote, the app, or the doorbell button?

I’m assuming anything related to HA will make a record somewhere.

Given the entity ID of my MyQ garage (cover.garage_door_xxx), is there a way to use the MySQL database to find everything associated (automations, etc) that could have caused my door to open? Or is there a better way, such as using the logbook or history?

My money is on the one of the ESPHome related automations, as there is a ballet of sorts to determine if the car is “coming home” or “leaving home”. Normally we have 2 cars in the garage, but we’ve had one on the street and it’s possible (likely even) that this car said “I’m coming home!” when in fact it was leaving. But I’m just spitballing here. I’d like to use evidence (eg the database) to find the culprit.

If Home Assistant is responsible the Logbook will show you what happened. If the Logbook only shows that the door opened, and no corresponding automation just before it, then something external to Home Assistant did it (and there’s no way for HA to know what).