Ideas for sensor to detect my car is in the garage?

It may/may not be something you want to tackle... Takes a bit of work if you have never done a single board computer like an arduino or esp8266.

For this project I believe I started with this link (or one basically just like it - been a while so probably wasn't this exact link). This will give you a general/example/overview on what it takes from a coding perspective.

  • Then I added the code for an LED display to it (you wouldn't need that).

  • Then I added the code to send the data to MQTT for use in Hubitat & node-red

  • Then I printed a case for it with my 3D printer. You obviously wouldn't have to do that either if you didn't care how it looked on your ceiling.

Of course if you don't mind spending more $, you can get out of most of the wiring by using a sensor with a grove connector like:

Get a grove cable:

Then get a grove base for an esp8266:

Something like that.

2 Likes