Skip to content

line/line-things-starter

Repository files navigation

LINE Things Starter

This repository contains sample codes for LINE Things Developer Trial.

LINE Things compatible device example firmware, LIFF app code and LINE bot code are included.

English | 日本語

Getting Started

LINE Things is a platform that connects Bots and Web services together with IoT devices that are Bluetooth LE enabled.

To start developing for LINE Things using the example code and the sample firmware, the following steps are necessary.

Installing the Firmware

To start development using the example firmwares, you will need a compatible Bluetooth LE enabled development board. Currently LINE Things Starter firmwares supports the following 6 development boards

Each firmware is located under line-things-dev-board, esp32, m5stack, m5stick-c,nrf52, microbit, obniz and puckjs respectively. For further details, please refer to the README file in each directory.

Enable LINE Things

Please scan the following QR code with LINE to activate LINE Things.

Upon turning the device on, a device with the name LINE Things Starter (Default Firmware) will be detected. Once the device is connected, the LIFF app can then be launched by selecting the device. Here you can test all the LIFF BLE functionalities of LINE Things.

Developer Trial

Developers can try the functions of LINE Things for free with the LINE Things Developer Trial.

Documentation regarding firmware development and LIFF functions for LINE Things are published at LINE Developers - LINE Things.

Product registration and creating LIFF app

In order to develop for LINE Things using Developer Trial, you will need to create a LIFF app, register a trial product, and issue a GATT Service UUID. For additional details, please visit the LINE Developers site.

Automatic communication

LINE bot sample code for the automatic communication feature is also included in bot/app.py. You can deploy it to Heroku from following button.

Deploy

In order to develop automatic communication, you have to setup webhook for LINE Messaging API and register "Scenario set" by LINE Things REST API. Please see bot/README.md for details.

References

Please refer to the following step by step article from LINE Engineering Blog.

Community based starters

Link Description Publisher License Stars
https://github.com/meganetaaan/line-things-starter-moddable Starter built on Moddable SDK, a JavaScript-based embedded application platform meganetaaan MIT stars

License

LINE Things Starter code is licensed under Creative Commons License CC0.