ZigBee Arrival Sensor For Car

Throw me on that list as well!

1 Like

@rlithgow1, thank you for the interest. I will update everyone here with the progress.

1 Like

@iharyadi, and any one else interested -

Iman’s arrival sensor is simply sensational. This review is “brief” because I’ve cut my finger, rendering typing troublesome.

I use the arrival sensor to set presence, mode, raise my garage door when I arrive, and lower it if I forget to do so when I leave. With my previous setup (SmartThings Presence Sensor), I had to have a zigbee repeater outside the house so that my car was detected ~10-20 feet from my house. Even then, most often, I would have to sit in my car for 10-30 seconds before presence was registered and the door went up.

With this sensor, I no longer need a zigbee repeater outside my house. Presence is detected within 20 feet of my house in both directions, so the door is in the process of going up as I enter my small driveway.

I have also tested how long the sensor lasts on battery power. It lasted at least a week. I have set the timeout to be 10 minutes on battery power and 1 minute on DC.

Thank you, Iman!

6 Likes

Iman,

Have you considered making a 12V version instead of a 5V version of this? Use case: direct wired into the car ignition on circuit so you don't have to have a USB converter permanently plugged into a socket.

5 Likes

Hi Ashok,

I am not trying to be negative, but wanting all things to be equal. When you did your testing with the SmartThings arrival sensor, was that before or after your antenna mod?

And sorry to hear you hurt your finger.

1 Like

I don't have the zigbee antenna modified. Only Z-wave. So they're tested equivalently.

Trying to unbox a Weatherflow Tempest :joy:
Cut pretty deep, but it'll heal.

2 Likes

Thank you for the clarification.

Geesh. Cut yourself opening an new toy. That REALLY sucks !!!

1 Like

@steve.maddigan

You asked a good question. Here's a direct comparison of the two. For my last three arrivals. I cannot compare departure because the timeout is different.

Iman's Arrival Sensor = "Ashok's Car Arrival Sensor"
SmartThings = "Ashok's Car Presence"

2 Likes

Yes.... I have started a design for a sensor that will use the 12v power. It will be permanently powered from the 12v.

I will have a few early prototype board in a few weeks for this version. I will have to source the components. It could take sometime to get it to the point where I can share it here. But, it is in the work.

Electronically, it is a bit more challenging. But, the software side will be very close between versions.

3 Likes

Thanks for the update @aaiyar.

Just FYI, I did start this project with the motivation to automate the garage door. As the time goes, I am also happy to have the additional sensor setup for my cars parked on my drive way. I started to integrate the motion and shock sensor event to my home lighting.

My Youtube feed somehow pop this to my attention. Here is a Canadian reporting on car theft. It is not as sexy as "Gone in 60 seconds". But, it is quite eye opening. Many car is stolen under the watch of our camera. One of the comments that stick to me is that they find out the car is gone in the morning. It is a long video. I link it to the part that is interesting.

My sensor may not be able to prevent the theft. But, I hope that with the help of my house lighting I can set up something to scare the thieve. If the car is stolen any way, I am notified as soon as possible (not the morning after). I hope I am giving my car and myself a fighting chance.

3 Likes

I love this idea- and the shock sensor is very sensitive!

2 Likes

I think it would be wise to have much more intrusive notification if the car is powered on between 12 AM and 5 am in the morning. At least, it is very unlikely for me to drive that time of the hours.

1 Like

Maybe even tie this sensor in with HSM? Although the neighbors might not care for an outdoor siren.

1 Like

@aaiyar Can you post a copy of your arrival rule with @iharyadi 's sensor? Trying to see how to best use here and examples help me

It’s in NodeRED.

1 Like

How do you prevent your garage door from opening if the battery goes out (obviously changing the device to not present) then being powered up and showing present (tripping garage door) (Hope you're finger gets better soon!)

Presence only opens the door for the first 5 minutes after the mode changes to Home.

Mode changes to Home based on an OwnTracks geofence that is about 300 ft. So my garage will only open if my phone is with me.

2 Likes

So if phone is present (via own tracks) but the fob goes dead from battery (not present) since you're already home with the phone the door doesn't react. But if both go not present and then both go present and phone changes mode to home then door reacts?

Correct. And phone will precede the arrival sensor by about 20 seconds.

2 Likes

Antenna size matters a lot. For best performance, a vertical antenna should be 5/8 x wavelength of the RF signal. However, 1/4 wavelength antennas can also be used. If the length is shorter than 1/4 wavelength, the performance will be poor. That is the reason that antennas crammed into boxes such as key fobs and Hubitat hubs contain a suitable length of wire wound around a toroid core.

I am an amateur radio operator who operates in the HF, VHF and UHF frequency bands. The UHF bands range from 300 MHz to 3 gHz. Thus, the frequencies used for Z-wave (around 908 mHz) and Zigbee, WiFi and Bluetooth (around 2.4 gHz) fall into the UHF spectrum.

Wavelength in meters is calculated by dividing the speed of light in meters/sec by the frequency in Hz.

Thus, for a frequency of 908 mHz, the wavelength is
299,792,458 m/s / .000908 Hz = 0.330 meters

Thus, a 5/8 wavelength antenna for Z-wave would be 0.206 meters which is

For Z-wave, the appropriate length for a 5/8 wavelength antenna would be 206 mm or 8.11 inches.

For a slightly less effective 1/4 wavelength antenna, the appropriate length would be .0825 meters, 82 mm or 3.2 inches.

I have seen posts indicating that placing an 8" piece of copper wire vertically as close as possible to the internal Z-wave antenna in their hubs or devices can improve the signal strength.

In a similar manner, the wave length for the 2.4 gHz frequency can be calculated as 0.125 meters.

For Zigbee, WiFI and Bluetooth, a 5/8 wavelength antenna would be 0.078 meters, 78 mm, or 3.1 inches. A 1/4 wavelength antenna would be 0.031 meters, 31 mm or 1.2 inches. Many routers will come with 5/8 wavelength antennas to maximize range while many bluetooth devices often come with only 1/4 wavelength antennas.

Most Zigbee and Z-wave devices have internal toroid wound antennas. Signal strength can be improved using either a passive or active external antenna of appropriate length.

3 Likes