alvin870203 / Heran-IoT-LineBot

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"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


Languages

Language:Python 100.0%