Commit Graph

558 Commits

Author SHA1 Message Date
mmcwilliams 888cd074e6 Typo in createLogger 2020-01-14 13:33:13 -05:00
mmcwilliams 3ca335b113 Merge branch 'master' of https://github.com/sixteenmillimeter/intval3 2020-01-14 12:00:22 -05:00
mmcwilliams c83bce13f7 update 2020-01-14 11:59:35 -05:00
mmcwilliams 1cf581602b New log format that is more readable, not json. Has timestamps. 2020-01-14 11:59:29 -05:00
mmcwilliams 94e6982adb Remove excessive log point to make them less noisy. 2020-01-14 11:59:12 -05:00
litter 30c78ba58d Got build working again with AppCenter distrobution. 2020-01-02 16:55:22 -05:00
litter a87e81f128 Merge branch 'master' of https://github.com/sixteenmillimeter/intval3
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
Merge server changes with more recent app changes.
2020-01-02 12:41:39 -05:00
litter d4f04ec9f1 Fix error message on app startup. Test to determine this doesn't break functionality with connected app. Must run "getState()" on wake as well as startup. 2020-01-02 12:40:40 -05:00
mmcwilliams e745ce404d update 2019-12-27 19:49:36 -05:00
mmcwilliams ee6c3d1a81 Mortally stupid typo 2019-12-27 19:49:31 -05:00
mmcwilliams a328e824fb update 2019-12-27 18:57:39 -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 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