fermentrack icon indicating copy to clipboard operation
fermentrack copied to clipboard

iSpindel generates 0 gravity if calibration parameters left at 0

Open Andersal opened this issue 4 years ago • 1 comments

Running an ispindel generates zero output even though raw data of it has higher values, but only if the fermentrack calibration parameters A B C D are left at zero. If these parameters are set to other values there will be readings in the graph.

Raw output '{"name":"ispindel001","ID":10617370,"token":"fermentrack","angle":88.92847,"temperature":23.75,"temp_units":"C","battery":4.212721,"gravity":26.67315,"interval":30,"RSSI":-65}'

I get at status of 200 and gravity 0.0 on the ispindel serial interface if fermentrack calibration are left at zero.

Andersal avatar Nov 18 '20 15:11 Andersal

First - Thank you for posting an issue! GitHub issues are the only way I can keep track of bugs/usability concerns.

This behavior is intended. Because iSpindels are each bespoke, they require calibration - and there aren't valid default values that Fermentrack could use in the interim while calibration is pending. While I could in theory try to "fudge" something, the risk is that users wouldn't notice there were default values and would then complain that Fermentrack appeared to be reporting inaccurate gravities.

That said - I do think you've hit on a usability concern. It would probably be good for Fermentrack to pop up an alert on the sensor's dashboard if you have an iSpindel that has all the calibration coefficients set to 0 that you won't think it's logging something when all it will record are 0s. I'll use this issue to track as that gets built.

thorrak avatar Nov 18 '20 16:11 thorrak