From b3a207641651ee1d3e434aa4afaee9ec56ecfa30 Mon Sep 17 00:00:00 2001 From: Ashish D'Souza Date: Sun, 18 Feb 2024 10:54:44 -0600 Subject: [PATCH] Disabled SSL certificate validation for Ntfy --- uptime/src/uptime/notify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uptime/src/uptime/notify.py b/uptime/src/uptime/notify.py index db26af7..880be03 100644 --- a/uptime/src/uptime/notify.py +++ b/uptime/src/uptime/notify.py @@ -26,7 +26,7 @@ class NtfyNotifier: async def send_notification(self, camera: str, status: bool) -> None: logger.debug(f'Sending notification for {camera=}...') message = f'{camera} is back online' if status else f'{camera} is offline' - await self._aiohttp_session.post(self._ntfy_url, json={ + await self._aiohttp_session.post(self._ntfy_url, ssl=False, json={ 'topic': 'frigate_camera_uptime', 'title': 'Frigate', 'message': message,