Email Notification If Miner Goes Down

Email Notification If Miner Goes Down

Today, we’re going to provide information that concerns one of the most useful features for those who like mining cryptocurrency. Whether you’re just beginning to discover the world of mining or an experienced miner, we believe you’ve already dealt with the situation when your mining rig suddenly stops mining and you know nothing about it. That’s the situation every miner is willing to avoid at all costs since the longer he/she is unable to take the necessary measures, the more money he/she will lose. In this article, we’ll describe the solution that’ll make you forget about the need to bother monitoring your rig manually to check if everything is okay. We all have things to do during a day. Therefore, it’s almost next to impossible to sit in front of the screen of our PCs all day long.

The solution that you’ll find to be very beneficial is the Windows Powershell script. The thing is that this script is created so that to allow a miner get email notifications in case of a mining rig or pool crash. Once you receive such a notification, you can react immediately by doing what it is that needs to be done.

Before you can start doing anything, check that Outlook email client (that comes with the Microsoft Office package). You’ll also need a Google account.

Changes to make in your Google account:

  1. If you have several Google accounts, choose and log in to the one that’ll be used for receiving email notifications.
  2. Click on the gear icon on top right. After it, click on Settings → Forwarding and POP/IMAP.
  3. Find “IMAP Access” category. Enable IMAP by putting a tick in the corresponding box.
  4. Click on the “Save changes” button.

Steps to go through in order to set app password for your Gmail account

  1. Log in to your Gmail account and click on your profile picture. Then, do the following: My Account → Sign-in & security.

Log in to your Gmail account

  1. Scroll down the page and find “Signing in to Google” tab. Click on the App Password button.

In case you can’t see the button, you’re to enable two-step verification for your account.

The password for your account and sign-in method

You need to set up a password for your account in order to protect it. Make sure that your password is as secure as possible. For example, you can set up a phrase containing numbers as your password. You can also enable two-step verification to provide additional protection to your account. When the verification is enabled, you’ll receive an SMS with a unique code each time you log in to your account.

Attention: in order to be able to change the settings you can see in the following picture, you’ll be asked to type in your current password.

you’ll be asked to type in your current password.

  1. Go to the “Select app” and choose “mail” option. In the “Select device” category, choose “Windows Computer”. (Have a look at the picture below)

Go to the “Select app” and choose “mail” option

  1. Click on the “Generate” button. Your password has been created! Don’t forget to write it down so that to be able to use it when necessary.

Configuring Outlook for your Gmail account

  1. Double-click on the icon of the Outlook client in order to start it.
  2. Choose “File” → Click on the Account Settings → New

Configuring Outlook for your Gmail account

  1. Click on the “Next” button and select “Yes”. After that, click on the “Next” button again.

Click on the “Next” button and select “Yes”

  1. Choose “Manual setup” feature and click on the “Next” button.

Choose “Manual setup” feature

  1. Tick “POP or IMAP” and click on the “Next” button to proceed.

Tick “POP or IMAP”

  1. Type in the following information in the fields you can see:
  • Your name: (You’re to type in your name)
  • Email address: (You’re to type in your Gmail Address here)
  • Account type: (You’re to choose “IMAP”)
  • Incoming mail server: (You’re to type in “imap.Gmail.com”)
  • Outgoing mail server (SMTP): (You’re to type in “smtp.Gmail.com”)
  • User name: (You’re to type in your Gmail address here)
  • Password: (You’re to enter the password that was generated for your Google account)

(Here is a picture for you to use as an example).

Type in the following information in the fields you can see

  1. Click on the “More Settings” button. Go to the “Outgoing Server” tab and put a tick in the box “My outgoing server (SMTP) requires authentication”.

Click on the “More Settings” button.

  1. Go to the “Advanced” tab and make a couple of changes there. Have a look at the picture provided.

Go to the “Advanced” tab and make a couple of changes there

  1. Click on the “OK” button and then on the “Next” button.
  2. Your Outlook client should be testing the connection now. If everything is okay (“Successful”), you can click on the “Close” button. If there occur any problems, you’ll be offered to look through the details.

Finally, let’s see what you should do in order to start receiving notifications each time your rig crashes.

  1. Download the Windows Powershell script package.
  2. Follow the instructions provided in the “How to Automatically Restart Mining If Stopped” article in order to make necessary changes.
  3. The picture below shows the code you have.

Download the Windows Powershell script package

  1. If you’ve already made the changes by following the instructions provided in the abovementioned article, there is only one thing left to do. Change “[email protected]” to the Gmail address to which the notifications should be sent.

That’s it! Now you know everything that needs to be done in order to be instantly notified about the crash of your mining rig by email.

How to start receiving notifications on your Smartphone

Even though some miners will find notification by email very convenient, it’s also possible to receive notifications on smartphone. This way you definitely won’t lose any time and take the necessary measures immediately. If you think it’ll be better for you to receive notifications on your smartphone, follow the instructions provided below.

  1. Go to the www.ifttt.com
  2. Click on the “Get Started” button. Log in to your Google account and turn on the applet.
  3. Give permission to the website.
  4. Turn on the notification feature and type in your email address.
  5. Download the official ifttt application on to your Smartphone. The app is designed for the Smartphones with Android OS.
  6. Install the app and log in to your ifttt account using your Gmail address.

Done! Now, you’ll receive notifications on your Smartphone each time your rig gets crashed.

We hope that this article is useful for you. Now, you’ll be able to mine your crypto assets without having to manually check your rig every hour.

1 Star2 Stars3 Stars4 Stars5 Stars (5 votes, average: 5.00 out of 5)
Loading...
Like this post? Please share to your friends: