Ranjib
7500 Club Member
- Review score
- +0 /0 /-0
Reef Squad
R2R Supporter
R2R Excellence Award
Expert Contributor
SF Bay Reefer
Build Thread Contributor
- Joined
- Apr 16, 2016
- Messages
- 9,810
- Reaction score
- 16,998
- Review score
- +0 /0 /-0
- Location
- Pleasant Hill, Concord
I ran into this when creating kivy-reef – /read returns the uncalibrated reading. To obtain the calibrated reading, you need to call /api/phprobes/{id}/readings and use the last item in the list (i.e. the most recent reading).
I need to get back to this.. this is very inconvenient, we can just add an option in the read api to optionally get the calibrated valued. in fact i think we should return calibrated values unless explicitly raw value is requested.