Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfixes and improvements for openaps-menu. #21

Closed
wants to merge 44 commits into from

Conversation

cluckj
Copy link
Contributor

@cluckj cluckj commented Sep 25, 2018

(Requires merge of openaps/oref0#1130)

  • Uses socket server to control the display, for faster rendering and fewer vertical scrolling bugs.
  • Some OpenAPS loop error messages are displayed on the graph status screen.
  • Adds a new status screen with more readable glucose number, and no graph. Can be set by inserting "status_screen": "bigbgstatus" into ~/myopenaps/preferences.json
  • Autoupdating status screen can be turned off by setting "status_screen": "off" in ~/myopenaps/preferences.json
  • Will invert screen ~50% of the time to evenly wear the OLED module. This can be turned off by setting "wearOLEDevenly": "off" in ~/myopenaps/preferences.json. Added 8pm-8am inversion mode too (more lit pixels during the day, fewer at night), which can be set with "wearOLEDevenly": "nightandday" in ~/myopenaps/preferences.json.
  • Will display an error message (and not crash) when OLED module is broken. (Handle no-display scenario #16 & Show warnings if the display cannot be written to, but dont completel… #17)
  • Error messages and warnings are sent to openaps-menu service log, instead of looplog.
  • Turns brightness down on the OLED screen (for most things).
  • IP address list includes bluetooth IP
  • Fixes battery drawing code (Update battery icon drawing code #18)

bnielsen1965 and others added 30 commits March 4, 2018 14:38
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.
Fix for low number of BGs and offset
upgrade jon-dev with node pi buttons
Revert "upgrade jon-dev with node pi buttons"
This should help keep openaps-menu from crashing when the screen is broken.
bugfixes and add preferences toggle for status display
@cluckj
Copy link
Contributor Author

cluckj commented Sep 25, 2018

These commits should probably be squashed...

index.js Outdated
@@ -35,7 +36,7 @@ var voltage = require('./lib/voltage/voltage')(voltageConfig)
var batteryConfig = require('./config/battery.json')
var socketServer = require('./lib/socket-server/socket-server')({
voltage: voltage,
battery: batteryConfig
battery: batteryConfig,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is allowed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was working for me, but I think I added something below that at some point and forgot to remove the comma. Thanks.

@scottleibrand
Copy link
Contributor

I still vote for an 8pm-8am night mode for OLED inversion, but that’s a feature request, not something we have to do in this PR.

@cluckj
Copy link
Contributor Author

cluckj commented Feb 13, 2019

(Superceded by #22 )

@cluckj cluckj closed this Feb 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants