Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.

Line Bot for Controlling IoT Smart Home Devices | 物聯網導論 | Introduction to the Internet of Things | NTU | 吳瑞北教授 | 2021 Fall

Notifications You must be signed in to change notification settings

alvin870203/heran-iot-line-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"LINE BOT" 結合 "禾聯物聯網智慧家電" 解決方案

Final Project for: 物聯網導論 | Introduction to the Internet of Things | NTU | 吳瑞北教授 | 2021 Fall

Framework

framework

Demo

IoT_4-9N9mdIQPsTo.mp4

Deploy the Heran-IoT-LineBot app

Step 1

Create a new channel on the LINE Developers Console and get the channel secret and channel access token. Add the LINE Official Account associated with your bot as a friend by scanning the QR code on the Messaging API tab.

Step 2

Clone the Heran-IoT-LineBot GitHub repository onto your local machine.

Step 3

Create a new Heroku app from the Heroku dashboard and copy the app name.

Step 4

Go to your Heran-IoT-LineBot directory and add a Git™ remote. Note: {HEROKU_APP_NAME} is the app name from step 3.

$ heroku git:remote -a {HEROKU_APP_NAME}

Step 5

Push changes to Heroku.

$ git add .
$ git commit -m 'First commit'
$ git push heroku master

Step 6

Enter the webhook URL in the LINE Developers Console using this URL format: https://{HEROKU_APP_NAME}.herokuapp.com/callback.

About

Line Bot for Controlling IoT Smart Home Devices | 物聯網導論 | Introduction to the Internet of Things | NTU | 吳瑞北教授 | 2021 Fall

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages