This package has been deprecated
Author message:
Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
routoh-device-clock
0.0.21 • Public • Published routoh-device-clock
A fork / ES2015 rewrite of the time module on route.io.
The device will emit events every minute with format 'Clock.'.
const Route = require('routoh');
const Clock = require('routoh-device-clock');
const route = new Route();
route.addDevice(new Clock());
route.addEventCommand('Clock.0600', () => {
});
route.addEventCommand('Clock.0700', () => {
});
Readme
Keywords
nonePackage Sidebar
Install
npm i routoh-device-clock
Weekly Downloads