Commit Graph

76 Commits

Author SHA1 Message Date
Timothy Allen adc87c0908 redragon-lights.py: Add debugging 2024-03-24 10:45:06 +02:00
Timothy Allen 2ea1d143d0 redragon-lights.py: Distinguish between screen on and off a little more clearly 2024-03-24 03:17:30 +02:00
Timothy Allen f88957ea0d Add a script to mopdify the lighting on a Redragon K621 Horus keyboard, along with an option to turn off the lights when the monitor turns off 2024-03-24 03:14:24 +02:00
Timothy Allen 41fd89f3f2 Clear old scripts 2023-11-24 17:16:46 +02:00
Timothy Allen ea56d2e85e Only send an ipv6 address when one exists. 2021-09-17 09:58:18 +02:00
Timothy Allen 783baf723f Update for IPv6 addresses...
... along with various debugging cleanups.
2021-08-10 21:00:08 +02:00
Timothy Allen 36989f346b Add after-tax amount, and some highlighting 2020-11-05 12:52:18 +02:00
Timothy Allen 687739acdc Update to accept either high or low amounts, and add some formatting. 2020-11-05 12:44:33 +02:00
Timothy Allen a0936fd8ad Script to apply taxes to an amount. Updated for 2021 tax year rates. 2020-11-05 12:44:22 +02:00
Timothy Allen b251ffda2b ... and another 2020-04-26 22:12:13 +02:00
Timothy Allen cb6472a980 Clean up bash issues with missing files. 2020-04-24 20:15:57 +02:00
Timothy Allen 7ac52b9ea1 Slight corrections to copying logic; avoid deleting a backup when the process has been run twice in a minute 2020-04-22 17:18:45 +02:00
Timothy Allen b8e6933ec0 Add some tools for copying data out of Firefox, for backups. 2020-04-22 16:49:49 +02:00
Timothy Allen 8c039a4ea7 Further cleanups. 2018-05-11 20:07:17 +02:00
Timothy Allen c8796bf210 Fix treatment entries. 2018-05-10 23:14:42 +02:00
Timothy Allen f2fd1a0acd Cleanup script. 2018-05-10 22:53:21 +02:00
Timothy Allen 93a4c412c5 Upload CSV files generated by glucometerutils to NightScout 2018-05-10 22:50:14 +02:00
Timothy Allen 5ec4b75d18 Changes to skip ketone measurements; optionally skip manual readings; and support decimal figures in insulin and food doses. 2018-03-15 22:27:16 +02:00
Timothy Allen b46b8b1eae Switch to using nslookup, which should come with nsupdate. 2018-03-10 00:13:49 +02:00
Timothy Allen 4d5ad57d52 Be specific about the deletes. 2018-03-10 00:07:32 +02:00
Timothy Allen d9a44ff531 A better way to ensure we only get the IPv4 address. An added advantage is that, if we check the IP on the VPN host, we should get our actual IP address, not the VPN-assigned address. 2018-03-09 23:45:04 +02:00
Timothy Allen 848d673257 Skip if it's an IPv6 address; at some point, maybe we'll support that too. 2018-03-09 20:30:01 +02:00
Timothy Allen 1214a6532e Add the full date range to the overall glucose summary title; remove A1c from daily graphs, since it's more useful as a longer-term measurement; introduce commented-out code to allow decimal comment variables. 2018-01-27 21:37:27 +02:00
Timothy Allen 6595ffd2ab Fix zorder issue with collections. 2018-01-27 11:27:09 +02:00
Timothy Allen 2bf2d7d359 Remove unused import. 2018-01-05 17:32:18 +02:00
Timothy Allen 9f3b597f55 Cleanup documentation. 2018-01-05 17:29:59 +02:00
Timothy Allen 4d77fac610 Final cleanup. 2018-01-05 09:59:09 +02:00
Timothy Allen b070cc51ce Cleaned up. 2018-01-05 08:47:24 +02:00
Timothy Allen 7cdb61dae2 Add font icons sets for labels. 2018-01-05 08:37:04 +02:00
Timothy Allen 6959174863 Fix unit detection. 2018-01-03 23:38:37 +02:00
Timothy Allen 5394bcee7c Fix labels with different units. 2018-01-03 12:12:30 +02:00
Timothy Allen 7087b5299a Fix bugs that occur when switching to mg/dL units. 2018-01-03 02:45:45 +02:00
Timothy Allen 9ed89e7f8f Add a python version of the glucometer data grapher. 2018-01-03 01:35:39 +02:00
Timothy Allen 86f3f91129 Change A1c from median to mean; fix weekly average bug. 2017-12-28 12:34:01 +02:00
Timothy Allen aa5c09c51b Reverse the order of the graphs, and fix subsequently-exposed bugs; tweak colours and move x grid to the rear. 2017-12-23 02:56:14 +02:00
Timothy Allen aed0021900 Fix bug in weekly max/min graphs. 2017-12-22 00:45:00 +02:00
Timothy Allen 1aa5be56a7 Cleanup parsing of comments, and fix some colour issues. 2017-12-20 11:34:04 +02:00
Timothy Allen 0a1dab0a47 Minor colour tweak. 2017-12-20 02:52:22 +02:00
Timothy Allen 412a4e21fc Colour and decoration changes, as well as adding the number of insulin units for each injection. 2017-12-20 02:44:41 +02:00
Timothy Allen 86c5dd9cce Correct A1c readout. 2017-12-19 23:52:02 +02:00
Timothy Allen 83838a8414 Clean up testing output. 2017-12-19 23:00:42 +02:00
Timothy Allen b365c06230 Collapse multiple injections into one label. 2017-12-19 22:38:28 +02:00
Timothy Allen 0241354dc1 Cleanup. 2017-12-19 01:09:11 +02:00
Timothy Allen fddd1c6b84 Fix a week length problem; load all data as space-separated to avoid separator changes; add icons for insulin and food. 2017-12-19 00:57:04 +02:00
Timothy Allen 75c49fe88f Add a weekly average graph. 2017-12-18 21:46:26 +02:00
Timothy Allen 5119550036 Cleanup and refactoring for cleanliness, in preparation for average weekly graphs. 2017-12-18 20:15:57 +02:00
Timothy Allen b743174a31 Cleanups. 2017-12-18 20:15:15 +02:00
Timothy Allen d0dcc15d44 Add a new graph to show overall average values. 2017-12-18 20:14:24 +02:00
Timothy Allen 410b1363b6 Manage gnuplot with IPC::Open3, so we allow fancy output filenames, with spaces! 2017-12-17 11:06:14 +02:00
Timothy Allen a43b67fe7e Some cleanups. 2017-12-17 10:28:08 +02:00