Have you mice on your attic too?
And you won't slay or poison these mice?
But if you are placing a live catch trap there and you will forget it so they will starve in a long way. Also not better.
Therfore i have upgraded a live trap from amazon with a little circuit which sends via WLAN / internet a message to my telegram-bot.
(See the demonstration video here: https://youtu.be/tJTT1gJi4og)
Telegram is my preferred social app. It's easy to create a bot there for your own ideas, so it's simple to send your bot a message with an URL called by any device.
Because the attics have mostly no LAN-cable i am using the WLAN in my house. So a IOT device with WLAN is needed. I am using 'Wemos D1 mini', it costs not more than 4 dollars from china.
The genious idea of this project is, that the trap needs no current! If you are powering WLAN-chipsets to wait for closing the trap, you have to charge the batteries (AA/AAA) all 4 days.
So my idea is not to power the device at all:
Take a wooden clothespin, drill 2 thumbtacks into it and solder the plus-cable to them.
Open the clothesin and move a little plastic between the mouth. So nothing is powered.
Tie a stitch from the plastic to the moving parts of your trap.
If the trap is closing, the stitch removes the plastic, the thumbtack are connecting and the device can power up! After powering the device will register itself in your WLAN and call the URL of your telegram bot.
After this the code sets the device into a deep sleep mode, so nearly no current is needed.
Get your message, free the mouse (far away from your house :-) and move the plastic back into the clothespin.
On your device, you have to code something, so the device is calling the URL you have prepared in you social app bot. You can find my example in this package. Be aware, that you have to replace your WLAN-login data and your ids from your bot before uploading it.
For programming your WLAN device search in the net. There are many free developing tools and articles for doing this.
So have fun and be friendly to the mice :-)
Update: The first mouse is catched :-) Alive!