resources - http://mcra.t8o.org/2019/12/26/kano-coding.html
not 100% on replicability of below, will test again to see exactly how it works now that I got it running on my pi
1. Flash pi w/ ssh and wifi info
2. add pi to vscode ssh
3. clone to local
4. install nvm
5. npm rebuild @tensorflow/tfjs-node --build-from-source
6. npm install
7. systemctl enable bluetooth
8.
tensorflow/tfjs#5937 – current issue is that tfjs-node doesn’t work on arm-64 so i'm on the 32 bit version, thus step 5 https://github.com/mvp/uhubctl/blob/master/README.md#raspberry-pi-4b - control usb hub power, install and permission steps there https://javascript.plainenglish.io/how-to-execute-commands-in-node-js-46d8d982fe2a - for child process help
https://github.com/fivdi/onoff#debouncing-buttons - for button https://thekenyandev.com/blog/how-to-restart-a-node-js-app-programmatically/ - for restarting the process on button press