Commit Graph

23 Commits

Author SHA1 Message Date
mmcwilliams 9c5d429051 Use sequence module and begin fashioning requests around it. 2017-11-22 20:26:34 -05:00
mmcwilliams dd74ba7218 Res.send not req.send you absolute knucklehead. 2017-11-22 11:31:08 -05:00
mmcw-dev 0272ca21f6 Add bleno to main process by adding a module that gets incorporated into the same process running express. 2017-11-22 09:30:08 -05:00
mmcw-dev 67f864f975 rReset not rRest, gah 2017-10-23 20:29:52 -04:00
mmcw-dev f2f5d583ce Added /reset endpoint to reset device state. 2017-10-23 13:33:05 -04:00
mmcw-dev 65b1802390 If exposure is less than _frame.expected, set to 0 (default) 2017-10-23 00:37:44 -04:00
mmcw-dev a9e13ac2a6 Restore device state in app, set counter in webapp, 2017-10-22 19:59:38 -04:00
mmcw-dev d7ca2ebe46 All features added to /frame endpoint, can set direction independent of the state and can set the exposure as well. 2017-10-21 20:12:39 -04:00
mmcw-dev 0b245a00c4 Log after frame is complete 2017-10-21 12:21:15 -04:00
mmcw-dev 9302cf1b21 Force example frame before evaluating query and body of post for parameters 2017-10-21 12:10:16 -04:00
mmcw-dev 0848d5bfc0 Add logging to webapp and callback to frame function in intval 2017-10-21 12:08:12 -04:00
mmcw-dev 06bdb8b763 Need to initialize intval in server code. 2017-10-21 11:47:55 -04:00
mmcw-dev 186b8324d1 Manage state from the webapp. Build all features there before mobile. 2017-10-21 11:46:06 -04:00
mmcwilliams 7d9377e7ea Start fleshing out API for web/mobile 2017-10-20 13:58:01 -04:00
mmcwilliams 7f48045bbd Log with appropriate tagging 2017-09-25 23:25:34 -04:00
mmcwilliams 9eac1e0193 Install with latest node.js and latest npm
Create a sim library as a fallback for the on off module, for
development
2017-08-28 08:49:47 -04:00
mmcwilliams 1c53af9215 Add routes for basic app structure 2017-08-22 00:00:24 -04:00
mmcwilliams aca94c1ec9 Remove old clearPins function 2017-08-21 23:55:38 -04:00
mmcwilliams e77db95684 Require intval module at correct path 2017-08-21 23:54:38 -04:00
mmcwilliams 16cf29adbb Create an intval library for all the gpio logic 2017-08-21 23:52:27 -04:00
mmcwilliams 6716be882b Convert initial server code to intval3 basic structure 2017-08-21 22:59:44 -04:00
mmcwilliams 782484b7e9 Install winston for logging
Use winston to manage log structure and to make it easy to redirect
logs to different files
2017-08-21 21:23:48 -04:00
mmcwilliams 3f9e2853b0 Start project with blootstrap (pre publishing) 2017-08-21 21:11:07 -04:00