Loading files…
Feline Watchdog is an ESP32-based system designed to monitor the Wi-Fi connection between your cat's collar-mounted ESP32 device and your home network. If the Wi-Fi connection is lost, indicating that your cat may have wandered out of range, the system sends a notification to your iOS or Android device using the ntfy Linux tool.
Have you ever worried about your cat wandering too far from home? Feline Watchdog provides peace of mind by alerting you when your cat goes missing. By monitoring the Wi-Fi connection between your cat's collar-mounted ESP32 device and your home network, Feline Watchdog can detect when your cat is out of range and send you an alert notification on your mobile device.
Two implementations of Embedded System Configuration
Setting Up a Wi-Fi Hotspot on Embedded System
For detailed instructions on setting up a Wi-Fi hotspot on your embedded system, please refer to the Wi-Fi Hotspot Setup Instructions.
Use the provided bash script using the nmcli tool to create a Wi-Fi hotspot on the Raspberry Pi.
bash create_hotspot.sh
or
./create_hotspot.sh
Install Docker on your Raspberry Pi
sudo docker --version
Docker version 20.10.21, build 20.10.21-0ubuntu1~18.04.3
docker run \
-v /var/cache/ntfy:/var/cache/ntfy \
-v /etc/ntfy:/etc/ntfy \
-p 80:80 \
-itd \
binwiederhier/ntfy \
serve \
--cache-file /var/cache/ntfy/cache.db
ESP32 Configuration
cat.ino code to your ESP32.Raspberry Pi Monitoring and Notification
For a basic example of using NTFY with ESP boards, check out the ntfy_on_a_chip repository. It provides a foundational setup for communicating with the NTFY server and can be adapted for various projects, including this.
Connect ESP32 Directly to Router
ESP32 Configuration
cat.ino code to your ESP32.Notification Setup
This setup allows the ESP32 to be powered either by a Li-ion battery or directly from a USB source via a voltage regulator.
Screenshots from KiCad:
Screenshots from Fusion 360:
Screenshots from Fusion 360:
Screenshots of the printed 3D case:
Contributions are welcome! Feel free to submit pull requests or open issues if you encounter any problems.
A special thanks to the ntfy_on_a_chip repository by Gerge. The example code and documentation provided were instrumental in implementing the direct connection option for the Feline Watchdog project. The guidance on using NTFY with ESP boards and the detailed explanation of HTTPS communication enabled us to streamline our setup by connecting the ESP32 directly to a router without needing an intermediate server like a Raspberry Pi. Your work greatly facilitated our development process and contributed to the success of the Feline Watchdog system. Thank you!
We would also like to acknowledge the creators of the ntfy app. The app’s simplicity and functionality made it easy to send and receive notifications, which is a core feature of the Feline Watchdog system. The ability to integrate it seamlessly into our project greatly enhanced its effectiveness.
This project is licensed under the GPLv3 License - see the LICENSE file for details.
Thank you for visiting FelineWatchdog! ✨
No comments yet. Be the first to ask about this board.