Skip to content

These are the codes for LINE Things Developer Trial to use with Raspberry Pi using Node.js

Notifications You must be signed in to change notification settings

petchumpriwan/LINE-Things-on-Raspberry-Pi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LINE Things with Raspberry Pi

These are the codes for LINE Things Developer Trial to use with Raspberry Pi using Node.js.

Getting Started

  1. Wire the Pi's GPIO like this image.

  2. Clone this repository.

  3. Install Node.js version 8.x, open terminal and run this code

    If you have higher version please downgrade to 8.x or Bleno might fail to install.

    curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
    sudo apt-get install -y nodejs
    
  4. Install this code in terminal.

    sudo apt-get install bluetooth bluez libbluetooth-dev libudev-dev
    
  5. Run npm install to install all requirements.

  6. Run sudo npm start to start bluetooth service.

    If you want to see what happenning under the hood, run sudo npm run debug.

  7. 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.

  8. Now you can with LED and Button. Control LED over the LIFF app or push button on board and see what happen on LIFF app.

About

These are the codes for LINE Things Developer Trial to use with Raspberry Pi using Node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published