UNPKG
pimote
Version:
latest (1.1.7)
1.1.7
1.1.6
1.1.5
1.1.4
1.1.3
1.1.2
Control Energenie Switches from a Raspberry Pi
github.com/CliffS/pimote
CliffS/pimote
pimote
/
test.coffee
10 lines
(7 loc)
•
131 B
text/coffeescript
View Raw
1
2
3
4
5
6
7
8
9
10
Pimote
=
require
'./src/pimote'
pimote =
new
Pimote
pimote.
switchOn
1
setTimeout
-> pimote.
switchOff
1
pimote.
close
() ,
3000