Parking Assistant and Vehicle Presence for Home Assistant
Vložit
- čas přidán 24. 07. 2024
- Create secure Home Assistant automations by combining a parking assistant with vehicle presence detection.
This video describes two separate projects that can work together to provide enhanced automation security in Home Assistant. Use the links below to jump to a particular project.
00:00 Intro
01:05 Parking Assistant Overview
02:40 Parking Assistant Components and Wiring
04:48 Parking Assistant MQTT
05:35 Vehicle Presence Overview
06:30 Vehicle Presence Components
07:18 Tailwind iQ3 and Garage Door Sensors
09:01 Vehicle Presence Wiring
10:01 Vehicle Presence Home Assistant Entities
10:51 Home Assistant Integration and Automation Ideas
15:14 Outro
Blog with full parts list, wiring diagrams, assembly and code:
resinchemtech.blogspot.com/20...
Tailwind iQ3 Smart Garage System: gotailwind.com/
Tailwind2MQTT Bridge for Home Assistant (beta): github.com/Resinchem/Tailwind... - Věda a technologie
Thank you so much for making this video! Exactly what I need!
You are welcome! Note that in about a week or so, I'll be releasing a video of a new version of this that uses an ESP8266 and a strip of WS2812b LEDs. It's a bit easier to both build and setup... and significantly cheaper (especially since Raspberry Pis are so hard to come by right now). Just wanted to let you know in case you were thinking about building something like this. It will also have optional MQTT if you want to use it for vehicle presence detection... but that won't be required, and it will work standalone without Home Assistant or any other external system.
Thanks for watching!
I didn't know about the tennis ball trick.. my mind is blown!
Well, that's definitely the cheap, simple and easy way to create a parking assistant! But it's really tough to integrate it into a home automation system!
Impressive; However I like the KISS-approach using the tennisball better. Keep up the good work!
I agree... sometimes the KISS approach is the best. If I could have just figured out a way to get that tennis ball integrated into Home Assistant....
@@ResinChemTech You can, if you must:
Replace string > wire; Add a motion and/or reed sensor in the tennis ball.
If you have cameras already on both vehicle spots and your Home Assistant host has enough CPU power, you could probably just use something like Frigate NVR to detect the cars from the camera feeds.
Absolutely! And I do have a garage camera that would cover both spots. But at the time I built it, I think I've might have still been running HA on an RPi. I've since moved to a VM, but the current system works so well, I've never seen a reason to go back and replace/upgrade it. But thanks for the thought.... might give others a different idea.
I'm very interested in your video. I've had very unsuccessful results trying to use the HC-SR04. I've tried using it with an ESP32 running ESPHome. I also tried using a D1 Mini running Tasmota. The ESPHome one gives almost constant readings "ending state 0.00103 cm." The one running Tasmota will give wild readings all over the scale when the vehicle is present. They settle down when the car is gone at first and read about 60 cm but after a short time will start reading odd readings like 9 cm and 2 cm. Can you suggest anything?
Well, I did a completely updated (and I think both easier and better version of this project that uses an ESP8266 and WS2812b LEDs. czcams.com/video/HqqlY4_3kQ8/video.html
But as you can see in this video, like the original, I am using a TFMini LIDAR sensor. I do a comparison of three different distance sensors, including the HC-SR04 and why it isn't a good fit for a project like this. The TFMini isn't cheap, but for a precise project like this one where a stable, accurate and reliable measure is needed, it was the best fit for my projects. Others have apparently tried to use the ultrasonic sensor with much the same results as you, as the ultrasonic sensor can be very noisy and subject to interference. But if you watch the above videos where I compare those distance sensors, you may have a better understanding as to why you are having the issues that you are.
Thanks so much.@@ResinChemTech
This is another cool video.. But why cant you use esp32 and a ultrasonic.. To make a parking assistant ? It can cut the cost and can make it work the same way right. Correct me if I'm wrong.
Like most of my videos, there are multiple ways to get the same results. I chose the RPi because (1) already had one on hand, (2) Python libraries were readily available and (3) I wanted to learn more about Python and had yet to learn C++/Arduino at the time. I think the pinouts and libraries could be an issue for the ESP32, but I'm sure it is doable.
As far as the ultrasonic sensor, I think the response time might be an issue. The TFMini is designed for time-of-flight for things like drones and remote control cars, robotics, etc. and has a very fast response time and I've found better accuracy and precision than ultrasonic. That's why I opted for lidar for parking (where better response/accuracy is needed) vs. ultrasonic for the car detection where speed/accuracy wasn't near as important.
@@ResinChemTech it sounds cool... Lidar are great but real expensive.... But for the long use case... As you said lidars are super precious and can be accurate... Keep doing more projects and love to see your more video... Good luck for you.