Commit Graph

173 Commits

Author SHA1 Message Date
mmcwilliams 70ca24c62f Intval default should be 530, not 630 as it is right now. 2019-10-11 17:56:10 -04:00
mmcwilliams f99290d6ce Install delay module and compile from Typescript source. 2019-10-11 17:54:29 -04:00
mmcwilliams 591641774a Compile sequence module as is. 2019-10-11 17:53:41 -04:00
mmcwilliams f1ab4ca1af Backup sequence and create typescript source for it 2019-10-11 17:36:49 -04:00
mmcwilliams adfadc8008 Bug in wifiRes was writing to constant variable on error state 2019-03-27 18:36:39 -04:00
mmcwilliams 46c497bd54 Use ip instead of ifconfig, which is deprecated and breaks on the latest stretch, for me 2019-03-27 18:26:33 -04:00
mmcwilliams 52a5038b1a I was wrong. Reinstall sqlite3 and db lib. 2019-03-27 17:08:50 -04:00
mmcwilliams 6976d2089a Remove sqlite3 from dependencies (unused) and remove lib/db (unused). Originally this was intended to be used for analytics, but that isn't on the roadmap right now. 2019-03-27 12:52:43 -04:00
mmcwilliams 3a4c076d82 Limit list to 20 wifi APs, not 5. 2019-03-26 16:08:16 -04:00
mmcw-dev 2ad2aa57ab Gpio must be constructed with new 2019-02-23 20:52:47 -05:00
mmcw-dev 238656a1e1 Uninstall gpio and rpio for now. Just use onoff 2019-02-23 20:08:26 -05:00
mmcwilliams 2be63972b2 winston.Logger was replaced by winston.createLogger 2019-02-23 18:05:48 -05:00
mmcw-dev 4d66c5c07a Placeholder for re-write of intval lib using rpio. Potential speed increase on io functions. 2018-08-09 08:01:04 -04:00
mmcwilliams ca4282c02f Change was causing double frames. Remove for now. 2018-01-09 15:09:39 -05:00
mmcwilliams 757e3dd86d Only list top 5 wifi hotspots 2018-01-09 13:39:43 -05:00
mmcwilliams a9414c6212 Prevent motor from stopping before 100ms. Took out the logging in watchMicro, due to the fact that the problem with backwards frames was likely a bad connection. 2018-01-08 22:08:41 -05:00
mmcwilliams fb54403891 Pause before setting direction of frame. 2018-01-08 20:06:02 -05:00
mmcwilliams b01a9e4483 Potential fix, which prevents priming from happening after a determined interval 2018-01-08 19:29:14 -05:00
mmcwilliams 01f17830f8 Restore logging for microswitch state 2018-01-07 18:05:24 -05:00
mmcw-dev 30e8636ea8 FUCK! The problem is that the script must run as root. Was looking in the wrong dir. 2018-01-06 10:55:52 -05:00
mmcw-dev 74af6218e0 Put db in config file (WHY IS THIS NOT WORKING) 2018-01-06 10:54:00 -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
mmcw-dev df1c39604a Referenced the filtered array, not the first element, like a jackass. 2018-01-04 16:14:12 -05:00
mmcw-dev 980f1f56c5 Log the local ip so info is readable server-side as well. 2018-01-04 16:12:32 -05:00
mmcw-dev 3af05e442d Track the local ip address of the wlan0 interface and report information to the BLE service. 2018-01-04 16:10:38 -05:00
mmcwilliams 0b5e4c47d3 parseConfig rejoins the class as _parseConfig 2018-01-01 00:38:08 -05:00
mmcwilliams 40a306c9e1 Callback reads _ssid not ssid 2018-01-01 00:37:00 -05:00
mmcwilliams 83ed21441c Bind functions to this 2018-01-01 00:34:24 -05:00
mmcwilliams 4ce4ac2735 Restore wifi functionality for writing full config file. 2018-01-01 00:28:11 -05:00
mmcwilliams 5496881616 Improve parser to ignore stanzas that are commented out or not formatted by this program. 2018-01-01 00:19:07 -05:00
mmcwilliams bcc29424da Caught mixed usage, use .find() not .filter() to locate a single entry. Test exising methods now. 2018-01-01 00:10:50 -05:00
mmcwilliams 7e58ac40aa If entry is for an SSID that exists, replace old with new. If entry is for SSID that doesn't exist, add to file. 2018-01-01 00:04:49 -05:00
mmcwilliams 781f6046e5 parseConfig moved out of class 2017-12-31 23:52:00 -05:00
mmcwilliams 15ded20735 Parse wpa_supplicant file 2017-12-31 23:45:40 -05:00
mmcwilliams 2c3b4408fb Log excessively and use info to build parseConfig function 2017-12-31 23:16:01 -05:00
mmcwilliams 9896bf1ad5 Array output must be let, not const, to filter before sending to device. 2017-12-31 22:27:02 -05:00
mmcwilliams 89199a5095 Remove blank responses in wifi access point listing 2017-12-31 22:03:42 -05:00
mmcwilliams 0064f75e3b List wifi APs and log when process is starting 2017-12-31 21:41:18 -05:00
mmcwilliams 5b3d1ff2b3 Update write characteristic to use hash function, making createPSK public function 2017-12-31 21:32:09 -05:00
mmcwilliams 43f62e4885 wifi read characteristic in bleno and get network SSID on startup 2017-12-31 21:23:31 -05:00
mmcwilliams 488b614e16 Parse out hash and passphrase, mask passphrase when creating a record 2017-12-31 21:06:42 -05:00
mmcwilliams d3a7a97c78 Wifi module test. Use wpa_passphrase to generate a safe password hash 2017-12-31 20:55:54 -05:00
mmcw-dev bb41526516 Intval.reset() instead of intval._setState() 2017-12-22 15:28:47 -05:00
mmcw-dev e1a54c10e0 Prevent sequence from starting if already started. Add an id to the sequence, for logging (though the doubling up should discontinue). 2017-12-20 23:29:08 -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 0b48dc87b4 use the microdelay to prevent multiple frames 2017-12-20 22:30:48 -05:00
mmcw-dev a7bcb0a87b Combine sequence and intval functionality 2017-12-20 22:10:36 -05:00
mmcw-dev 19815dbb4d Log step sequence to keep track during tests. OFF BY ONE! OFF BY ONE! 2017-12-20 21:59:30 -05:00
mmcw-dev 11bf8b95f8 flag the start of a sequence and stop it. 2017-12-20 21:49:26 -05:00
mmcw-dev b1085cb77c Need to declare pins even during state restore failure. 2017-12-20 21:41:41 -05:00