-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Converted to use node-pi-buttons module and made pi-buttons a separate service. * Bugfixes and improvements (#17) * Fix for low number of BGs and offset Fixes crash when actual number of BGs in monitor/glucose.json is fewer than the number we want to display (72 or 120). Thanks to @mhaeberli for catching & patching! Also fixes graph offset so we have a continuous line of BGs. * customizations for jon's production rig * various personalizations and possible improvements * revert screenoff code and add pump status to screen * status screen improvements and bugfixes * Update README.md * improvements, bugfixes, and exit on display malfunction * Clearer error messages * comments * fixing error handling when only writing to the screen once * bugfixes * stop calling status scripts from the commandline * use socket server to control display * improvements and bugfixes * status screen for cas * nice typo * Remove custom rig code * revert readme * fixes and improvements * Revert "upgrade jon-dev with node pi buttons" * Don't crash if buttons are pressed & screen broken This should help keep openaps-menu from crashing when the screen is broken. * bugfixes and add preferences toggle for status * more preferences, update big_bg_status.js * Update README.md * Update menu.json * Delete casstatus.js * Revert package.json Bryan merged upstream bugfixes... * Remove comma Random comma? * Add preferences switch info * Add 8am-8pm invert display option. * Add 8am-8pm invert display option. * Variable name bugfix * Logic fix for day/night inversion * Logic fix for day/night inversion
- Loading branch information
1 parent
42c6ac5
commit c4d6fcc
Showing
19 changed files
with
484 additions
and
763 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{ | ||
"pins": { | ||
"buttonUp": 11, | ||
"buttonDown": 13 | ||
"gpios": { | ||
"buttonUp": 17, | ||
"buttonDown": 27 | ||
}, | ||
"options": { | ||
"pressed": 200, | ||
"clicked": 400 | ||
"socketPath": "/var/run/pi-buttons.sock", | ||
"reconnectTimeout": 3000 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.