You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I would like to connect Automatic1111 to my NTFY server so that I get notification when my images are done. (I know about the sound notification and browser notification but I'm away from my computer many times so I would like to be notified on my phone.)
So I have been able to get together this python code to call curl command to my server:
import shlex
import subprocess
cmd = '''curl -d "Is it working from python???" ntfy.yourdomain.com/test'''
args = shlex.split(cmd)
process = subprocess.Popen(args, shell=False, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
Only thing that I don't know is from where to call it (I suppose that something must be calling for sound and web notification)
Can anybody tell me where to put the code?
Thanks
PS: I'm new to python so please keep that in mind. Thanks
I have also made post on reddit but nobody replied yet.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I would like to connect Automatic1111 to my NTFY server so that I get notification when my images are done. (I know about the sound notification and browser notification but I'm away from my computer many times so I would like to be notified on my phone.)
So I have been able to get together this python code to call curl command to my server:
Only thing that I don't know is from where to call it (I suppose that something must be calling for sound and web notification)
Can anybody tell me where to put the code?
Thanks
PS: I'm new to python so please keep that in mind. Thanks
I have also made post on reddit but nobody replied yet.
Beta Was this translation helpful? Give feedback.
All reactions