Skip to main content

Notification by LINE Official Account

Table of contents

[[_TOC_]]

Changelog

VersionAuthorUpdate dateComment
2.4.1ITsung.Shen2025/07/02First Version

1. Introduction

The LINE Notify service was discontinued on March 31, 2025, so EdgeHub can no longer send alarm notifications via LINE Notify.

To continue receiving alarms through LINE, switch to a LINE Official Account (OA). The overall workflow is:

  1. Register your own LINE Official Account
  2. Add the LINE users who should receive notifications to that OA
  3. Obtain the OA’s Channel Access Token
  4. Enter this token in EdgeHub’s Alarm User Group
  5. When an alarm is triggered, EdgeHub sends the message to the OA, which then forwards it to the LINE users

⚠️ Usage limitations

  • A LINE OA has a monthly message quota that EdgeHub cannot control. If you need to send more messages, upgrade to a paid plan.
  • Only users who have joined the OA will receive LINE notifications. Even if they are listed in the Alarm User Group, they must join the OA to receive messages.

The following sections explain how to create a LINE Official Account and integrate it with EdgeHub.


2. LINE Official Account SOP

2.1 Create a LINE Official Account

Follow these steps to create a LINE Official Account:

  1. Go to LINE Business ID and sign in with your LINE account.
    LINE-OA-2.1-1-BZ-ID.png

  2. Click Create new.
    LINE-OA-2.1-2-create-new.png

  3. Fill out the registration form and submit it.
    LINE-OA-2.1-3-create-form.png

  4. Confirm the information you entered.
    LINE-OA-2.1-4-confirm.png

  5. After the account is created, choose Verify later.
    LINE-OA-2.1-5-confirm-completed.png

  6. Return to the console; you can now manage your LINE Official Account.
    LINE-OA-2.1-6-management-ui.png


2.2 Add Users to Your LINE Official Account

  1. In the console, navigate to Gain friends → “Add friend” tools.
    LINE-OA-2.2-01-Add-friends.png

  2. LINE provides several ways to invite users to your OA—QR code, link, etc. Follow the on-screen instructions to invite users. LINE-OA-2.2-02-add-by-many-ways.png


2.3 Create a Channel Access Token

Generate a Channel Access Token of this LINE official account to use in EdgeHub:

  1. In the console, go to Settings → Messaging API → Enable Messaging API.
    LINE-OA-2.3-01-enable-messaging-api.png

  2. Enter developer information.
    LINE-OA-2.3-02-reg-developer.png

  3. Enter any string as the provider name.
    LINE-OA-2.3-03-select-provider.png

  4. Once enabled, the status shows Enabled. Click LINE Developers Console.
    LINE-OA-2.3-04-messaging-api-enabled.png

  5. In the Developers Console, click the provider you just created.
    LINE-OA-2.3-05-developer-page.png

  6. Select the Channel that corresponds to your OA.
    LINE-OA-2.3-06-provider-channel.png

  7. Open the Messaging API tab.
    LINE-OA-2.3-07-provider-messaging-api.png

  8. Scroll to Channel access token, then click Issue.
    LINE-OA-2.3-08-issue-token.png

  9. Copy the generated token and paste it into EdgeHub’s Alarm User Group settings.
    LINE-OA-2.3-09-token-issued.png


3. EdgeHub Alarm User Group Settings

You can apply the Channel Access Token in two places:

  • Data Management → Group Settings → Event & Actions → Alarm User Groups
  • Device Management → Alarm Settings → Event & Actions → Alarm User Groups

Configuration steps

  1. Open the Alarm User Groups tab and click Add to create a new group or Edit to modify an existing one.

  2. In the setting page, you will see a LINE Channel Access Token field. Paste the token from section 2.3, fill in the remaining fields, and submit.
    LINE-OA-3.1-01-alarm-user-group.png

  3. After saving, the configuration is complete. Other notification settings remain unchanged. For details, refer to the Event & Actions documentation.