The (optional) LINK_UP_CONNECTION environment variable takes a Patient-ID if multiple patients are available. To receive available IDs you can check the output of the console:
2022-02-28T13:39:33.555Z [info]: Logged in to LibreLink Up
2022-02-28T13:39:33.735Z [info]: Found 2 LibreLink Up connections:
2022-02-28T13:39:33.735Z [info]: [1] Timo Schlüter (Patient-ID: XXXXX-XXXXX-XXXXX)
2022-02-28T13:39:33.735Z [info]: [2] Thilo Schröder (Patient-ID: YYYYY-YYYYY-YYYYY)
If there are multiple connections available but the LINK_UP_CONNECTION variable is not set, the first connection will be used (which might not always be the same!).
Support for multiple patient connections
The (optional) LINK_UP_CONNECTION environment variable takes a Patient-ID if multiple patients are available. To receive available IDs you can check the output of the console:
If there are multiple connections available but the LINK_UP_CONNECTION variable is not set, the first connection will be used (which might not always be the same!).