James Woglom
64aeb4d752
v2.3.1
2025-06-08 17:17:13 -04:00
James Woglom
6a9a426b97
explicit time_start/time_end for autoupdate
2025-06-08 11:07:57 -04:00
samfundev and James Woglom
5a76a4cfd1
Fix auto-update only running for 24 hours
...
Fixes #11
2025-06-08 11:06:24 -04:00
James Woglom
4837ac1e86
v2.3.0
2025-06-07 23:34:42 -04:00
James Woglom
8b15ec5c90
add test_profile_data
2025-06-07 23:31:10 -04:00
James Woglom
37b008f6c3
fix test path
2025-06-07 23:29:09 -04:00
James Woglom
8c40fdb533
fix test import
2025-06-07 23:27:42 -04:00
James Woglom
d51080f6d0
Fix profile test
2025-06-07 23:24:41 -04:00
James Woglom
b32415aaac
Delete dead non-tandem source tests
2025-06-07 23:21:38 -04:00
James Woglom
ffd3c5b1ea
Delete dead non-tandem source code
2025-06-07 23:21:18 -04:00
James Woglom
0b4674bae9
update check script
2025-06-07 23:19:23 -04:00
James Woglom
a1202decbe
ignore name never assigned in scope flake8
2025-06-07 22:53:18 -04:00
Adam Bovill and James Woglom
4888426034
feat: Add EU region support for Tandem t:connect API
...
Add comprehensive support for European Tandem t:connect servers alongside existing US support.
Features:
- Region parameter in TandemSourceApi (default: US, supports: US/EU)
- EU-specific API endpoints and client ID configuration
- Region-aware credential caching to prevent cross-region conflicts
- Command line --region flag and TCONNECT_REGION environment variable
- Full backward compatibility (defaults to US region)
Technical Changes:
- Separated common SSO URLs from region-specific service URLs
- Added region validation and URL property methods
- Enhanced credential cache with region isolation
- Updated CLI argument parsing and configuration system
- Added comprehensive logging for region selection
Testing:
- Verified US region backward compatibility
- Successfully tested EU authentication and data retrieval
- Processed real EU pump data (1500+ events, 39KB)
- Validated all event types: basal, bolus, CGM, user modes, alarms
- Confirmed Nightscout integration compatibility
This enables EU Tandem pump users to sync their data using:
--region EU or TCONNECT_REGION=EU
2025-06-07 22:48:43 -04:00
James Woglom
803b15b886
v2.2.4
2025-05-06 13:14:01 -04:00
Josh and James Woglom
9e78fe770f
chore: add main py for module finding in vscode
2025-05-06 13:13:19 -04:00
Josh and James Woglom
dfb39e07ef
warn: add warning if selected pump serial has no recent events
2025-05-06 13:13:19 -04:00
Josh and James Woglom
9fad0d71ef
chore: update gitignore with venv and vscode dirs
2025-05-06 13:13:19 -04:00
James Woglom
f5cd7c0151
v2.2.3
2025-03-29 23:37:15 -04:00
James Woglom
13bb106924
defaults: failure time to 75 min, turn off auto restart on failure
2025-03-29 23:36:53 -04:00
James Woglom
fd96b08aab
stop running pipenv check
2025-01-15 19:14:20 -05:00
James Woglom
4a8da39b44
process: automatically fetch all event types for devicestatus feature
2025-01-15 18:56:36 -05:00
James Woglom
7a0f9477f2
eventparser: add todict function on all event classes
2025-01-15 18:56:08 -05:00
James Woglom
934d90e3b9
log found ProcessDeviceStatus
2025-01-02 20:05:31 -05:00
James Woglom
ea84b0b9cc
v2.2.2
v2.2.2
2024-12-30 22:05:22 -05:00
James Woglom
07aaea9e1c
fix tests
2024-12-30 22:05:11 -05:00
James Woglom
67b9f42f9b
v2.2.1
v2.2.1
2024-12-30 22:02:54 -05:00
James Woglom
997ab7bac8
attempt to fix batteryChargePercent
2024-12-30 22:02:36 -05:00
James Woglom
b1f8263ceb
v2.2.0
v2.2.0
2024-12-13 19:47:29 -05:00
James Woglom
29d08a7f1b
fix non-autoupdate
2024-12-13 19:47:01 -05:00
James Woglom
c7ade49eea
devicestatus: tune nightscout output to look more like Loops uploader
2024-12-13 02:09:36 -05:00
James Woglom
1f0fbd7788
less noisy logs in update profiles
2024-12-13 01:42:58 -05:00
James Woglom
4bda0a21f2
more explicit logging for last update seen
2024-12-13 01:41:16 -05:00
James Woglom
d1341e09c0
devicestatus: set pump.battery.percent
2024-12-12 22:20:13 -05:00
James Woglom
fb9588ff2c
catch iso8601 date errors
2024-12-12 00:41:51 -05:00
James Woglom
2339b4543e
v2.1.9
v2.1.9
2024-12-12 00:36:16 -05:00
James Woglom
3f6010fafc
add processdevicestatus
2024-12-12 00:36:06 -05:00
James Woglom
a028cdf3fe
v2.1.8
v2.1.8
2024-12-12 00:29:19 -05:00
James Woglom
093b42ff94
fix codecov
2024-12-12 00:29:11 -05:00
James Woglom
00023c6aba
fix flake8
2024-12-12 00:27:35 -05:00
James Woglom
1ed3d35965
v2.1.7
v2.1.7
2024-12-12 00:23:45 -05:00
James Woglom
9493b6546f
process_alarm exclude resumepumpalarm and test
2024-12-12 00:23:17 -05:00
James Woglom
24a635ca21
add process_device_status and process_user_mode tests
2024-12-12 00:09:28 -05:00
James Woglom
80824906d9
add unit test
2024-12-11 22:41:58 -05:00
James Woglom
e5259a7981
attempt to mutate battery charge percent
2024-12-11 00:56:01 -05:00
James Woglom
650fb60988
support excluding event id filter
2024-12-11 00:50:40 -05:00
James Woglom
2b367d45f3
eventparser: use eventID consistently as seqNum
2024-12-10 20:35:17 -05:00
James Woglom
dd2dcd17bd
eventparser: add custom events
2024-12-10 17:48:51 -05:00
James Woglom
98b7edc904
eventparser: handle unknown ids in Event()
2024-12-10 17:44:54 -05:00
James Woglom
e82d311fd6
eventparser: move baseevent
2024-12-10 17:44:32 -05:00
James Woglom
9a2a4ca771
v2.1.6
v2.1.6
2024-10-16 21:34:22 -04:00