Akachan is a LINE BOT API Trial account that is linked to a Raspberry Pi, speaker and USB web camera.
The web server is written in Node JS which handles communication between LINE and audio server. It should ideally run on a public IP, Heroku (https://dashboard.heroku.com/), or other cloud services to communicate with LINE securely. Audio server is running on Raspberry Pi and communicates with the web server through web socket. Sound detector uses Neil Yager application.
- Create the LINE channel on LINE Bussiness Center
- Raspberry Pi
- Edimax WiFi
- 8GB or higher SD Card with Raspbian OS
- Any supported Web camera
- Any supported Audio speaker
- Install nodeJS, npm
- Install USB webcam
- Install heroku (optional)
- Install the media related applications and node modules
$ sudo apt-get install omxplayer $ sudo apt-get install arecord $ sudo apt-get install aplay $ sudo apt-get install jackd $ npm install - Rename config/config_sample.json as config/config.json, input the web address, mid, channel ID and channel secret.
- Please note that you would most likely need to configure a lot more than what's written here. Please check Raspberry Pi forums for troubleshooting
$ node server.js $ python audio_server.py - To check web client open http://:
node_modules
- This sample is built as a simple testbed. Please take care the settings and security staff if you want to use this sample as production enviroment.