Commit Graph

546 Commits

Author SHA1 Message Date
mmcwilliams 07229c7925 Refactored wifi and ble into typescript and converted logic to async/await for most methods. Compiles without errors ATM. 2019-11-26 22:10:59 -05:00
mmcwilliams de481ee185 Add bleno types. 2019-11-26 21:16:13 -05:00
mmcwilliams a627143c22 update 2019-11-26 11:42:04 -05:00
mmcwilliams d04b0a1d09 Installed pkg as dev module for building a binary on the pi (maybe). Added build scripts for automatically handling versioning on new commits. 2019-11-26 11:41:59 -05:00
mmcwilliams 8986014a82 Refactor wifi lib into Typescript. Only used one "any" on a custom module require that I need to revisit. (log). Yeeha! 2019-11-26 11:41:15 -05:00
mmcwilliams 84ee49a71c Compile ble and wifi as is. 2019-11-26 10:44:08 -05:00
mmcwilliams 9d1163926f Copy ble and wifi modules as .ts source. Begin refactor into typescript as is before addressing bug issues. 2019-11-26 10:43:54 -05:00
mmcwilliams 883187a591 Change "build" script to "compile" which is semantic. Adding a new "build" process of packaging app into a binary with pkg.js (maybe). Would make deployments faster and easier. 2019-11-26 10:43:05 -05:00
Matt defa0afe7f
Use node LTS on latest raspian (buster) 2019-11-17 20:58:13 -05:00
Matt f201e50536
Use node LTS on latest raspian (buster) 2019-11-17 20:57:40 -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 911ee8637c All changes warrant a minor version upgrade 2019-10-31 01:20:50 -04:00
mmcwilliams 839ff97f5a Properly escape passwords and ssids 2019-10-31 01:16:01 -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 bdee0c1431 Use correct method name in log statement 2019-10-30 23:58:52 -04:00
mmcwilliams 6ac19c2dd8 Make a new public sequence.stop method to prevent double logging 2019-10-30 23:58:06 -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 d566c2160b Properly use delay from intval object. 2019-10-30 23:36:04 -04:00
mmcwilliams eed8905f29 Need to bind intval this to callback within promise. 2019-10-30 23:29:32 -04:00
mmcwilliams 5b0d120275 Frame must return a promise for sequence to work. For any of it, really. 2019-10-30 23:27:09 -04:00
mmcwilliams 0f57c1c630 When I said I had made the last boneheaded error or the night I was lying. Need to set sequence.active = true at beginning of the sequence 2019-10-30 23:19:50 -04:00
mmcwilliams 92172e19b1 Build logging changes 2019-10-30 23:16:34 -04:00
mmcwilliams 09431a6a05 Sequence is not running on prototype 2019-10-30 23:15:40 -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 4d41dcb7b5 Did not complete previous commit 2019-10-30 22:50:41 -04:00
mmcwilliams a205f07bab State object was re-structured. Watch() callbacks need to be bound to current object 2019-10-30 22:49:15 -04:00
mmcwilliams 6ae25134a2 Use correct require method for node-persist (blegh) 2019-10-30 22:43:18 -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 ac986e874f Merge remote-tracking branch 'origin/master' 2019-10-16 10:58:54 -04:00
mmcwilliams 26655ea0a7 re-write progress, changing platforms 2019-10-16 10:58:46 -04:00
litter fb5b67c04d Update app and remove appcenter modules (breaking the build) 2019-10-11 19:07:50 -04:00
Matthew McWilliams af5e493980 Install on raspian 2019-10-11 23:58:08 +01:00
mmcwilliams 8974c8ddcc Properly export and require delay module in sequencer 2019-10-11 18:24:41 -04:00
mmcwilliams d90dfc4a6c Sequencer converted into a singleton class. 2019-10-11 18:15:32 -04:00
mmcwilliams 076444f2fe npm update lodash --depth 3
Wraps up #15. Cannot fix squel warning without a rewrite.
2019-10-11 18:02:47 -04:00
mmcwilliams 3634b580bc Change 630 default/min to 530ms in core app. 2019-10-11 17:57:29 -04:00
mmcwilliams f953a79080 Backup intval module, in case this whole thing goes awry. 2019-10-11 17:57:07 -04:00
mmcwilliams 70ca24c62f Intval default should be 530, not 630 as it is right now. 2019-10-11 17:56:10 -04:00
mmcwilliams 67ed6c7d0b Ignore tsbuildinfo 2019-10-11 17:55:25 -04:00
mmcwilliams 70f5834934 Add a tsconfig that works (from mcopy). 2019-10-11 17:55:11 -04:00