Commit Graph

85 Commits

Author SHA1 Message Date
mmcwilliams ee6c3d1a81 Mortally stupid typo 2019-12-27 19:49:31 -05:00
mmcwilliams 1013ff1176 Broke the index page. I can't believe I let that slip. 2019-12-27 18:57:08 -05:00
mmcwilliams d06ae6e563 Reference to sequence._state eliminated in index.js 2019-10-31 11:24:09 -04:00
mmcwilliams cb1eb16864 Wrong again! 2019-10-31 02:22:40 -04:00
mmcwilliams b30c13bad9 Last boneheaded error of the night triple promise 2019-10-31 02:21:21 -04:00
mmcwilliams 8e34fb41ce List npm version, too. Just in case. 2019-10-31 02:00:22 -04:00
mmcwilliams db51a8841c Cleanup text output from commands used in info() function 2019-10-31 01:48:41 -04:00
mmcwilliams b6d7e48d26 Add an info feature to get app version and runtime data. No one asked for it but I need it for debugging. Oh well it's 1:41AM 2019-10-31 01:41:57 -04:00
mmcwilliams 69ccdc58c1 Use fs-extra in index. 2019-10-31 00:57:54 -04:00
mmcwilliams 5611ea338a Prevent frame from running if _state.frame.active is true. 2019-10-31 00:43:44 -04:00
mmcwilliams 7ac2e7ed67 Complete the frame request 2019-10-31 00:16:25 -04:00
mmcwilliams 074d70510f No. I was wrong. Too much of a rewrite 2019-10-30 23:53:11 -04:00
mmcwilliams 3667c8dd36 Pull delay setting out of the _state.frame object into the _state object. Ugh this is such a mess. 2019-10-30 23:47:34 -04:00
mmcwilliams 037eb0f352 Caught the last boneheaded error I will make tonight 2019-10-30 23:10:25 -04:00
mmcwilliams 93e399536c Add new optiosn to resolve issue #14 and issue #13. Also resolves #10, #11, and #12. 2019-10-30 23:04:43 -04:00
mmcwilliams ef807ea69c Dum dum error in the require statements of index.js 2019-10-30 22:37:55 -04:00
mmcwilliams 26116303cc Ready to try re-write in prototype 2019-10-30 22:32:52 -04:00
mmcwilliams 45e427caf9 Reset state and then set newly reset state to web UI 2018-02-12 14:57:06 -05:00
mmcwilliams 6accb1ba83 Add logging statements for ble endpoints for reset, restart and update 2018-02-12 14:38:27 -05:00
mmcwilliams a8907a059d Re-order timeout for update and restart BLE endpoints 2018-02-12 14:22:31 -05:00
mmcwilliams 2c40fa4e0e Restart and update both work with restify, so put them behind POST endpoints to prevent absentminded browser requests from breaking sequences. They will need to be added to the UI in a reasonable way. 2018-02-08 16:23:10 -05:00
mmcwilliams 0cb9f79756 Fix typo in reset 2018-02-08 16:16:44 -05:00
mmcwilliams c5c1f649a3 Log reset requests as well (to differentiate intentional resets, restarts and updates in the logs) 2018-02-08 16:02:18 -05:00
mmcwilliams aa82973598 Log update and restart requests 2018-02-08 16:01:22 -05:00
mmcwilliams 9c0ca37481 End response and call next() before restarting process. 2018-02-08 15:50:21 -05:00
mmcwilliams 64343bfc0b Execute functions after response. 2018-02-08 15:46:51 -05:00
mmcwilliams 5f71e48c38 Restart, update and reset all have ble and restify endpoints 2018-02-08 15:31:48 -05:00
mmcwilliams 42580c46b9 Sequence feature for bluetooth control does NOT need to be split (yet) into start and stop. intval.mobile.js was using the incorrect callback on the sequence characteristic and should be tested before changes are made. 2018-02-07 18:38:19 -05:00
mmcwilliams 8ec1694b02 Add a "sequence stop" endpoint 2018-02-06 17:42:50 -05:00
mmcwilliams b8787c0fac If exposure if over 5000ms, call back from ble service immediately and block UI until frame is done. 2018-01-17 15:58:55 -05:00
mmcwilliams 63eee43386 Simply exit process to restart. 2018-01-12 17:48:26 -05:00
mmcwilliams 64adc6cc86 Create an update script and add an update command to the main process. 2018-01-11 15:50:36 -05:00
mmcw-dev 0d251b212e Add path module to db to better format url? Why is database no longer writing?
Move ip above list of wifi.

List package.version in app server creation.
2018-01-05 17:31:00 -05:00
mmcwilliams 93387b27f2 Seq_id doesn't exist in a stop context 2018-01-01 01:08:59 -05:00
mmcwilliams 68dab59e6b Bluetooth sequence logic was waiting for a callback that never came... 2018-01-01 00:52:29 -05:00
mmcw-dev 360998e9a0 Using periods instead of commas. Starting to get tired. 2017-12-20 23:52:58 -05:00
mmcw-dev e880e44a5c Control sequence with GUIs 2017-12-20 23:47:37 -05:00
mmcw-dev ccd87b4d7e Send a "started" object when sequence is started 2017-12-20 23:29:43 -05:00
mmcw-dev 8333f451f8 Post sequence callbacks are not firing. Skip for now and just call back immediately 2017-12-20 22:39:20 -05:00
mmcw-dev 02aea27ff9 Log when sequences are started and stopped by release cable 2017-12-20 22:34:30 -05:00
mmcw-dev c36c0ab598 Declare variables to pass into sequence.start() 2017-12-20 22:30:13 -05:00
mmcw-dev 386de6dc56 Add delay restify endpoint. 2017-12-20 22:15:40 -05:00
mmcw-dev a7bcb0a87b Combine sequence and intval functionality 2017-12-20 22:10:36 -05:00
mmcw-dev 11bf8b95f8 flag the start of a sequence and stop it. 2017-12-20 21:49:26 -05:00
mmcw-dev c7ed8bed3b Was returning sequence start, now calling and then returning 2017-12-20 21:12:40 -05:00
mmcw-dev fc99b9ff06 Do not wait for sequence to finish to respond to /sequence request 2017-12-20 20:51:14 -05:00
mmcw-dev af28f14ecc Fix syntax error and update to latest node modules on ubuntu 2017-12-20 20:42:20 -05:00
mmcw-dev e6070465e5 Sequence logic ready for testing 2017-12-20 18:40:51 -05:00
mmcwilliams 22d497b464 BLE features are working, minus the wifi feature. Good work today. 2017-12-13 18:40:14 -05:00
mmcwilliams 52194e0b41 Set counter via ble 2017-12-13 17:27:42 -05:00