bigdigital / watchdrip

GNU General Public License v3.0
41 stars 13 forks source link

graph data not exposed on webservice #23

Closed teo-pede closed 1 year ago

teo-pede commented 1 year ago

watchdrip+ 0.20.2 xdrip 23ccbd1-2023.07.16 (nightly)

browsing localhost:29863/info.json?graph=1

graph data are not present {"bg":{"delta":"-2","isHigh":false,"isLow":false,"isStale":false,"time":1690214672000,"trend":"Flat","val":"115"},"pump":{"bat":-1.0,"iob":-1.0,"reservoir":-1.0},"status":{"bat":77,"isMgdl":true,"now":1690214894770},"treatment":{}}

bigdigital commented 1 year ago

Does the graph data available in xdrip app?

teo-pede commented 1 year ago

I enabled the 'Broadcast Service API' in 'Inter-app' seting. Where should I enable graph data? export20230725-001509.csv

teo-pede commented 1 year ago

updating to watchdrip 0.2.6 the graph data appears.

bigdigital commented 1 year ago

ah, that was the issue. the graph data was added only after v0.2.3