Dog Detector

Our dog has a habit to once in a while, chase rats in our greenhouse, causing untold damage. In stead of fencing the 30x10m area, I was wondering if there might be a way to detect the dog’s presence in the greenhouse and alert my phone.

Can anyone suggest a good technology for this? Something attached to his collar, I’ll waterproof and toughen it. It wont be practical to charge it often. Maybe RFID? Or maybe just a general presence detection with a LD2410 - but will it detect a medium size dog?

Any ideas are welcome!

You could use ESPresence and get a tractive dog tracker.

Esp with ble tracker in center of zone, tile sticker on collar, if rssi is above or below x amout, then in zone/out of zone.

What do you mean by tile sticker?

Not ESPHome but Frigate is rock solid in recognising objects

https://www.amazon.com/Tile-Sticker-Bluetooth-Water-Resistant-Compatible/dp/B09B3XCXHN?source=ps-sl-shoppingads-lpcontext&ref_=fplfs&psc=1&smid=ATVPDKIKX0DER

https://www.amazon.com/Silicone-Anti-Lost-Compatible-Backpack-Accessories/dp/B097RBGHPY?th=1

I use these with ESPresense around my house and by combining them with a ESPHome pressure sensor, I was able to achieve an accurate reading on when my cats are eating and which one. If you’re only looking for one zone, then you would want just the BLE tracker from ESPHome and measure the RSSIs.

@JulianDH beat me to it. I use a cheap camera (WyzeCam3 flashed with RTMP) and the free Frigate Add-On to detect people in my driveway to turn on a floodlight. It can be configured to recognize dozens of objects, like people, cars, dogs, sheep, cow, banannas, toilet.

Why anyone would train an object recognition for inanimate objects? Like, is a toilet going to walk into your living room?

No, but the banana might. It’s a slippery fellow, that one :upside_down_face:

Frigate had detected my daughter-in-law as a dog. Mildly amusing, but she doesn’t destroy greenhouses.

Frigate isn’t too precise. It’s amazing what it can do with limited memory and processor speed. It sees a squirrel as a cat. I trained my WyzeCam on a bird feeder because I wanted to see how the squirrels were getting to it. I was surprised to see them jump up over five feet from a standing start.

Could a motion/presence activated dog deterrent be another approach?

Something like that might not only do the detection, but also “takes immediate action”. I dunno if they are effective. Shouldn’t be much of an impact of false positives?

YaSao WH-510 Solar-Powered Animals Repeller -Wave Dog Cat Repellent for Outdoor Lawn Garden Yard Farm Use

https://amzn.asia/d/hhEjP5g

If you believe some of the marketing, it might even help with rats.

Thanks all, I’ll look into Fregate, this might mean I any dog would trigger the alarm and I don’t need a special tag on the collar. Though the tiles seems like a bulletproof solution. Now need to decide…!

Frigate requires some decent hardware and fiddling ……… I would try tiles first and see how far you get.

1 Like