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:
- If you have several Google accounts, choose and log in to the one that’ll be used for receiving email notifications.
- Click on the gear icon on top right. After it, click on Settings → Forwarding and POP/IMAP.
- Find “IMAP Access” category. Enable IMAP by putting a tick in the corresponding box.
- Click on the “Save changes” button.
Steps to go through in order to set app password for your Gmail account
- Log in to your Gmail account and click on your profile picture. Then, do the following: My Account → Sign-in & security.
- 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.
- Go to the “Select app” and choose “mail” option. In the “Select device” category, choose “Windows Computer”. (Have a look at the picture below)
- 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
- Double-click on the icon of the Outlook client in order to start it.
- Choose “File” → Click on the Account Settings → New
- Click on the “Next” button and select “Yes”. After that, click on the “Next” button again.
- Choose “Manual setup” feature and click on the “Next” button.
- Tick “POP or IMAP” and click on the “Next” button to proceed.
- 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).
- 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”.
- Go to the “Advanced” tab and make a couple of changes there. Have a look at the picture provided.
- Click on the “OK” button and then on the “Next” button.
- 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.
- Download the Windows Powershell script package.
- Follow the instructions provided in the “How to Automatically Restart Mining If Stopped” article in order to make necessary changes.
- The picture below shows the code you have.
- 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.
- Go to the www.ifttt.com
- Click on the “Get Started” button. Log in to your Google account and turn on the applet.
- Give permission to the website.
- Turn on the notification feature and type in your email address.
- Download the official ifttt application on to your Smartphone. The app is designed for the Smartphones with Android OS.
- 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.