Commit Graph

359 Commits

Author SHA1 Message Date
mmcwilliams ab609c4f31 Remove post body from frame, reverse frames are not happening. 2017-11-21 17:54:56 -05:00
mmcwilliams a1d193fc56 Fix typo within setExposureScale 2017-11-21 17:52:26 -05:00
mmcwilliams 01dddcbb4b Remove all jquery from getState roundtrip. 2017-11-21 17:48:30 -05:00
mmcwilliams ae9fd34445 Provide options for fetch to get state. 2017-11-21 17:15:13 -05:00
mmcwilliams 134afb8e05 Log all json responses. 2017-11-21 17:13:07 -05:00
mmcwilliams cf3e4ca69b Trigger a frame and increment the counter. 2017-11-21 17:08:54 -05:00
mmcwilliams a99f364fb9 Set a content-type header for json posts 2017-11-21 16:59:22 -05:00
mmcwilliams 5ea31a7050 FormData is choking the server 2017-11-21 16:55:44 -05:00
mmcwilliams 58d173da75 Use form data constructor 2017-11-21 16:52:59 -05:00
mmcwilliams 550dad4c91 Parse response with .json() within fetch callback. 2017-11-21 16:49:02 -05:00
mmcwilliams c402e6e87d Remove jquery from setDirLabel. 2017-11-21 16:43:56 -05:00
mmcwilliams 722d3701ac POST not /POST and invert checkbox state before submitting. 2017-11-21 16:38:11 -05:00
mmcwilliams 42aa573698 Begin removing jquery, use vanilla js 2017-11-21 16:34:07 -05:00
mmcwilliams 4e76274e83 Turn off wireless power management 2017-11-21 16:33:51 -05:00
mmcwilliams 31ee3e1ca1 Update app to not use text blobs 2017-11-21 13:50:13 -05:00
mmcwilliams ed3e9c13c5 Configuration file used to enable wlan0 in network interfaces 2017-11-21 13:50:13 -05:00
mmcwilliams 5a94f52b79 Update to larger dc jack for intval case. 2017-11-20 17:16:00 -05:00
M McWilliams c7bbe4a592 Merge branch 'dev' of https://github.com/sixteenmillimeter/intval3 into dev 2017-11-10 04:58:17 -05:00
M McWilliams d17e871ba9 Add pads file for creating a compact board 2017-11-09 09:41:19 -05:00
mmcwilliams d939eeb847 flipped text 2017-11-08 12:45:35 -05:00
M McWilliams 8fd1ae63ec V4 prototype of the board. This one goes to production. 2017-11-08 07:47:04 -05:00
mmcw-dev 2d0c8f0755 Update PCB design to use raspberry pi 3 headers. Use 5mm terminal blocks. 2017-11-03 14:29:50 -04:00
M McWilliams 2fbabbdd3e Third revision of the intval3 prototype board. Lookin good. 2017-10-30 18:02:14 -04:00
M McWilliams 14b36f76bf Tighten up board design 2017-10-27 18:56:45 -04:00
M McWilliams 05cdda615b Adjust length of panel connection 2017-10-27 17:40:32 -04:00
mmcw-dev 0e4314818e Extend the panel attachment tube to reach the top of the panel 2017-10-27 14:53:26 -04:00
mmcw-dev 2f547e773c Use local stash 2017-10-27 14:42:27 -04:00
M McWilliams 2fe218b3ef electronics_mount doesnt exist, just use l289N_mount 2017-10-26 20:28:44 -04:00
mmcwilliams ef9e61b736 Made minor adjustments to case for better fit and for access. 2017-10-25 12:13:03 -04:00
mmcwilliams abbf6500b5 Test case ready to cut 2017-10-25 11:40:54 -04:00
mmcwilliams 461a0a77d9 Position tabs on case side pieces using arguments, not hardcoded values. 2017-10-25 10:42:37 -04:00
mmcwilliams 71610405d2 Start adapting case to new size requirements. 2017-10-24 16:44:06 -04:00
mmcw-dev d841f29006 Restore state gracefully. 2017-10-24 09:56:59 -04:00
mmcw-dev a408414090 Begin re-write of intval hardware files. 2017-10-24 09:56:15 -04:00
mmcw-dev 621464973a Reduce padding top from 20px to 5px 2017-10-23 20:54:03 -04:00
mmcw-dev 39e89b4b33 setCounter not defined. 2017-10-23 20:44:35 -04:00
mmcw-dev 2ea975e480 counter not count. 2017-10-23 20:43:16 -04:00
mmcw-dev 05da1f280f Add setCounter feature. 2017-10-23 20:41:28 -04:00
mmcw-dev 8eccf05a68 storage.getItem, not getItem, you scrub. 2017-10-23 20:31:24 -04: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 7ac642ee30 Accidentally commented out gpio from intval module 2017-10-23 13:32:45 -04:00
mmcw-dev b307567a51 Persist device state with node-persist. This allows multiple controllers to share state, and for device to maintain settings between shutdowns. 2017-10-23 12:58:37 -04:00
mmcw-dev d0e1026c7a Don't set expsure to null. 2017-10-23 01:24:22 -04:00
mmcw-dev 0fcd6d0970 use setExposureScale to properly calculate time after autoscaling. 2017-10-23 01:20:20 -04:00
mmcw-dev 6801f30881 Change order again to prevent bad scaling. 2017-10-23 01:17:05 -04:00
mmcw-dev 4e819c84f9 Was accidentally writing object to number input. Was failing. Now writing the STATE.exposure integer and then changing the scale. 2017-10-23 01:13:31 -04:00
mmcw-dev 1689fb510f Events were being triggered in wrong order. 2017-10-23 01:11:46 -04:00
mmcw-dev 7ca9ade4ea Autoscale exposure on getState 2017-10-23 01:08:18 -04:00
mmcw-dev 65b1802390 If exposure is less than _frame.expected, set to 0 (default) 2017-10-23 00:37:44 -04:00