From e12a7be7f5052e8d7eefc23b6dd1a26f1cca073e Mon Sep 17 00:00:00 2001 From: Kshitij Date: Sat, 19 Oct 2024 21:23:20 +0530 Subject: [PATCH] Added more instructions for wireguard step. --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 39d4ab9..a4f911a 100644 --- a/README.md +++ b/README.md @@ -65,15 +65,22 @@ sudo systemctl enable ufw # Get your public IP by using something like http://ip.me, and paste your public IP there ``` + 8. Create and run the containers: ```shell docker compose up -d ``` -9. Check if ntfy.sh is setup correctly: +9. Check if ntfy.sh and wireguard tunnel is setup correctly: + - Visit `:80` from a browser. Make sure Raspberry Pi and the other device are on the same network. On Raspberry Pi, you can visit `localhost:8080` + - If you see a dashboard, it implies Docker and ntfy.sh were setup correctly. + - Visit `:51821`, enter the password which you specified in the beginning (NOT the password hash, the password). + + - Add new clients to remotely connect and receive notifications. + 10. In ntfy.sh dashboard, in the left menu at the bottom, click on `Subscribe to topic`, and specify the topic name: `motion-sensing` 11. Lastly, run the `main.py` file to view motion detection window on screen and send notifications on detecting motion: