UNPKG

pimote

Version:

Control Energenie Switches from a Raspberry Pi

10 lines (7 loc) 131 B
Pimote = require './src/pimote' pimote = new Pimote pimote.switchOn 1 setTimeout -> pimote.switchOff 1 pimote.close() , 3000