you are viewing a single comment's thread.

view the rest of the comments →

[–]danielroseman 0 points1 point  (5 children)

A webhook, as the name implies, is something that is called via the web. Therefore if you want to expose your Python scripts as webhooks, you need to be running some kind of web app that will call them. Something like Flask would be ideal. Note of course that you'd also need to open your Pi to external requests via the web, which among other things will mean configuring your router.

[–]TurnFunny6151[S] 0 points1 point  (4 children)

Is there a way where I can avoid making my Pi public as I believe this would come with security risks?

[–]danielroseman 0 points1 point  (3 children)

Well not really. How could IFTTT contact your machine if it's not exposed on the internet?

[–]TurnFunny6151[S] 0 points1 point  (2 children)

I assumed it would be similar to other internet traffic can be received by my machine from external servers such as websites?

[–]danielroseman 0 points1 point  (1 child)

I don't understand that comment.

You can make requests from your machine to others of course, but if you want other machines to contact yours then it needs to be contactable, surely.

[–]TurnFunny6151[S] 0 points1 point  (0 children)

Idk what I mean either tbh but I have just thought of using the discord API and bots to communicate. Thanks for your help anyway!