woter86
woter86
Hello! I collected some Bluetooth logs with this sensor. It seems you need four commands to run it and another prefix. You will need wireshark to view the log. [hematonix.log](https://github.com/user-attachments/files/16770261/hematonix.log)...
Yes, it is about pump. It seems that we need to add parsing of one additional field (nigthscout) - pump.tempBasal.rate For example in nigthscout:
api/v1/devicestatus.json { "_id": "68b81d336688ef066f368336", "created_at": "2025-09-03T10:49:22.820Z", "device": "openaps://samsung SM-A155F", "pump": { "status": { "status": "норма", "timestamp": "2025-09-03T10:49:17.751Z" }, "extended": { "Version": "3.3.1.3-a62f40c607-2025.03.05-19.35", "ActiveProfile": "boleem", "TempBasalAbsoluteRate": 0, "TempBasalStart": "03.09.2025 13:49", "TempBasalRemaining":...
api/v1/treatments.json { "_id": "68b81da46688ef066f36833a", "created_at": "2025-09-03T10:51:16.643Z", "enteredBy": "openaps://AndroidAPS", "eventType": "Temp Basal", "isValid": true, "duration": 30, "durationInMilliseconds": 1800000, "type": "NORMAL", "rate": 0.05, "absolute": 0.05, "pumpId": 1722449856452, "pumpType": "OMNIPOD_DASH", "pumpSerial": "4241", "mills":...
current.json [ { "_id": "68b827206688ef066f36838d", "device": "Unknown", "date": 1756899042000, "dateString": "2025-09-03T11:30:42.000Z", "isValid": true, "sgv": 201, "direction": "Flat", "type": "sgv", "created_at": "2025-09-03T11:31:44.400Z" } ]
> Can you verify, that the data in devicestatus.json it the current one display in the nightscout dashboard? Yes, it is
/api/v2/properties/iob,cob,basal { "iob": { "iob": 0.898, "basaliob": -0.065, "activity": 0.0085, "source": "OpenAPS", "device": "openaps://samsung SM-A155F", "mills": 1756903094779, "treatmentIob": 1.253, "display": "0.90", "displayLine": "IOB: 0.90U" }, "cob": { "cob": 33.1322008021847, "source":...
the pump itself sets the temporary basal if need to correct current profile basal
maybe we'll take the field basal.display? it is always correct and "T" said that it is a temp
{ "iob": { "iob": 1.74, "basaliob": 0.01, "activity": 0.0112, "source": "OpenAPS", "device": "openaps://samsung SM-A155F", "mills": 1756904415348, "treatmentIob": 1.996, "display": "1.74", "displayLine": "IOB: 1.74U" }, "cob": { "cob": 26.7253583376003, "source": "OpenAPS",...