https://github.com/magicmonkey/l8js
A NodeJS library for talking to an L8 Smartlight
https://github.com/magicmonkey/l8js
Last synced: 9 months ago
JSON representation
A NodeJS library for talking to an L8 Smartlight
- Host: GitHub
- URL: https://github.com/magicmonkey/l8js
- Owner: magicmonkey
- License: apache-2.0
- Created: 2014-07-06T10:53:25.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-07-06T21:37:16.000Z (almost 12 years ago)
- Last Synced: 2025-03-21T17:34:22.908Z (about 1 year ago)
- Language: JavaScript
- Size: 188 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
l8js
====
A NodeJS library for talking to an L8 Smartlight
I use Ubuntu, and find that I have to have this in /etc/bluetooth/rfcomm.conf:
```
rfcomm0 {
# Automatically bind the device at startup
bind no;
# Bluetooth address of the device
device 00:17:EC:4C:60:9D;
# RFCOMM channel for the connection
channel 1;
# Description of the connection
comment "L8 serial port";
}
```
and then run this to open the serial port:
```
sudo rfcomm connect 0
```
and then I can run this:
```
node cli
```