UNPKG
hugo
Version:
latest (0.0.3)
0.0.3
0.0.2
0.0.1
Yet another node.js interface for philips hue
github.com/bkw/hugo
bkw/hugo
hugo
/
demos
/
blink.js
11 lines
(8 loc)
•
227 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env node
'use strict'
;
var
bridge =
require
(
'../index'
).
Bridge
(); bridge.
on
(
'ready'
,
function
(
) { bridge.
put
(
'groups/0/action'
, {
alert
:
'select'
},
function
(
e, r, b
) {
console
.
log
(e, b); }); });