alexbn71 / AgentDVR-Telegram

A PHP script to send alerts to your Telegram bot with the free version of AgentDVR
9 stars 0 forks source link

[Question] Do you still need a service like pythonanywhere with this function to work? #1

Closed Dvalin21 closed 1 month ago

Dvalin21 commented 1 year ago

As said in titled.

Currently using Smtp to telegram and it requires an outside service. pythonanywhere is free, but I would rather keep everything in house

alexbn71 commented 1 year ago

@Dvalin21 here there are two solutions, one uses PHP so you have to hosts an Apache/PHP server somewhere in your private network but... the new one ueses the script engine provided by AgentDVR so no external service is required.

Dvalin21 commented 1 year ago

So I can install this and not have to have anything hosted our of the network? Which this would send a notification vs a smtp email?

alexbn71 commented 1 year ago

You have to install it in AgentDVR "commands" folder. Why are you talking about smtp? This script does not make use of SMTP.... it pushes a notification directly to the Telegrem bot you have to create

Dvalin21 commented 1 year ago

Sorry, I had just mentioned it because I was using smtp to telegram dvr. I was trying to make sure I didn't need to set anything up outside like going to pythonanywhere to make sure telegram got the notifications

Update: So just to be clear, after editing .sh and .php files, I place them on in the command folder correct?

On Tue, Feb 21, 2023 at 8:03 AM Alessandro Blason @.***> wrote:

You have to install it in AgentDVR "commands" folder. Why are you talking about smtp? This script does not make use of SMTP.... it pushes a notification directly to the Telegrem bot you have to create

— Reply to this email directly, view it on GitHub https://github.com/alexbn71/AgentDVR-Telegram/issues/1#issuecomment-1438548790, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABY7PVNCIW2EU7JVW42P4OTWYTDKJANCNFSM6AAAAAAVBMGS3M . You are receiving this because you were mentioned.Message ID: @.***>

alexbn71 commented 1 year ago

You don't need PHP file if you are not planning to use Apache/PHP. Edit and copy only .sh in Commands folder.