fixed rpi-ip variable.
This commit is contained in:
parent
e12a7be7f5
commit
6590270552
6
main.py
6
main.py
@ -6,10 +6,10 @@ import requests
|
|||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
|
|
||||||
# ntfy.sh topic (choose your unique topic name)
|
# ntfy.sh topic (choose your unique topic name)
|
||||||
rpi-ip = "localhost:80"
|
rpi_ip = "localhost:80"
|
||||||
ntfy_topic = "motion-sensing" # Replace with your ntfy.sh topic
|
ntfy_topic = "motion-sensing" # Replace with your ntfy.sh topic
|
||||||
ntfy_url = f"http://{rpi-ip}/{ntfy_topic}"
|
ntfy_url = f"http://{rpi_ip}/{ntfy_topic}"
|
||||||
# If using ntfy.sh server and not the local docker container, set rpi-ip = "ntfy.sh"
|
# If using ntfy.sh server and not the local docker container, set rpi_ip = "ntfy.sh"
|
||||||
|
|
||||||
# Initialize the camera
|
# Initialize the camera
|
||||||
picam2 = Picamera2()
|
picam2 = Picamera2()
|
||||||
|
Loading…
Reference in New Issue
Block a user