A new DIY solution allows users to collect and store medical data from devices like blood pressure monitors and blood glucose meters using an Android smartphone. The system processes data via the Termux terminal emulator and transmits it to a MajorDoMo smart home server for analysis and long-term storage.

The workflow relies on Google Lens for OCR, which identifies medical readings from device screens, including those with seven-segment displays. The system supports manual data entry as a backup and functions offline if the internet is unavailable. It also features a queue system to sync data with the smart home server once a connection is restored.

The software stores data in JSONL and CSV formats across three locations: the internal Termux directory, the smartphone's internal storage, and an external microSD card. The script performs automated validation against predefined medical ranges for glucose, uric acid, and cholesterol levels to ensure data accuracy.