[Hinemos x IFTTT] Output Monitoring Results to SMS

Hello!

This is another article about integration between Hinemos and IFTTT.

In the previous article, we introduced how to output notifications sent from Hinemos to LINE.
Today, we will introduce you to how to send notification from Hinemos to mobile phones via SMS (for those which  LINE isn’t a desirable choice).

*Note
The number of messages you can receive is limited due to the limitation of IFTTT’s SMS service.
You can receive up to 100 SMS messages per month if you are phone users in the U.S. and Canada. If you are living outside of North America (e.g. Japan) you can only receive up to 10 messages per month.

For most of you, 10 messaged per month obviously isn’t enough to give you any benefit.

But don’t worry! There is a way to break the limit. You can increase the number of SMS messages you can receive from 10 per month to 100 per month by simply using Nextplus, a popular messenger and phone service application in the U.S.

The steps for setting up Nextplus are as follows.

*You can skip this part if Nextplus is already installed on your device.

1.Install NextPlus

First, download and install NextPlus; it is available for both Android and iPhone users for free.

・For Android
https://play.google.com/store/apps/details?id=me.nextplus.smsfreetext.phonecalls

・For iPhone
https://itunes.apple.com/jp/app/nextplus-private-phone-number/id920869470?mt=8&uo=4

Start the application after installing it on your device.
The following screen will be displayed when you start the application for the first time. Tap on the “SIGN UP” button at the bottom left.

Enter your username and password, and then tap on the “SIGN UP” button.

Select the state and area code.

The following screen will be displayed and now you have yourself a new working U.S. phone number for free!

That is it for setting up Nextplus. Move on to the section below for the steps for creating a setting on IFTTT.

2.Create an Applet on IFTTT

First, go to https://ifttt.com/ and sign in.

Select “New Applets”.

Click on “this” to search for the service which will act as a trigger.

Enter “Webhooks” and select the service which appears below.

Choose a trigger provided for the service.

Enter any name for the “Event Name”. (You will be using this information in later steps).

That is it for the trigger.

Next, click on “that” to search for the service which will act as an action.

Enter “SMS”, and then select “SMS” from the list of services which appear below.

Click on the “Connect” button and you will be asked to enter a phone number.


Enter your phone number or the phone number you obtained using Nextplus and press the “Send PIN” button.

Enter the four-letter PIN code which you will receive via SMS.

Press the “Connect” button, and IFTTT will be integrated with SMS.

Go back to the IFTTT setting screen, and then select the action “Send me an SMS”.

Create an SMS notification message.
*You can include various information in the message. For example, by adding {{OcurredAt}} to the Ingredient, the time when the notification was output will be included.

Click on “Create action” after the setting is complete.

Enter the title (description) of the applet, and then click “Finish”.

3. Download the “IFTTT Integration Solution” Package

Follow the link below and download the required package according to your environment.

https://github.com/hinemos-nb/ifttt_integration_solution/releases/tag/1.0.0

This time, we will be using the package for Linux: “ifttt_webhooks_trigger.tar.gz”.

See step 4 or refer to the following manual for details regarding the setup procedure.

https://github.com/hinemos-nb/ifttt_integration_solution/tree/master/manual

4. Place the Script and Configuration File

Place the tar.gz file from step 3 to the target node.

Extract “ifttt_webhooks_trigger.tar.gz” and place the files under any directory.
The steps below are explained assuming that the files are extracted to “/tmp”.

Create a target directory for the copied files.

Change the access permissions of the files.

Modify “ifttt_conf.cfg” as shown below.

Enter the event name and the key generated in the previous steps.

5. Create Monitor Settings on Hinemos

Create necessary settings from Hinemos Client.

*For details, please refer to this article.

Output

The message above will be displayed when your phone receives the notification sent out from Hinemos successfully!

That’s it for the brief introduction of how to integrate Hinemos×IFTTT and SMS.

And as always, thanks for reading!


ご意見やお問い合わせについて

この記事へのご意見やお問い合わせについては、こちら(お問い合わせフォーム)もしくは
Hinemos営業担当【hsd-sales@atomitech.jp】までご連絡ください。

※お問い合わせフォームからご連絡の場合には、お問い合わせ内容で「Hinemosについて」を選択し、
 本文の冒頭に「Hinemos研究日記_【タイトル名】」とご記載ください。
※メールアドレスへご連絡の場合には、件名を「Hinemos研究日記_【タイトル名】」でご連絡ください。