Derived data - weird numbers

I have set up fuel economy in the plug-in derived data, and looking at the numbers they are totally crazy. What am I doing wrong here?
No description
4 Replies
Teppo Kurki
Teppo Kurki3d ago
Have you considered sharing more information on your setup, where the source data is coming from and what the source data values look like?
Mastiff
MastiffOP2d ago
Sorry, I didn't think it was relevant because there were (as far as I could see) no ways to change any of that in the plug-in. I thought that would be automatically parsed. Or should I add something in "Calibration entries (pairs of level => volume)"? Thefuel consumption comes in from my Suzuki Engine Interface. That may be the culprit, because I see in Node-RED that when sending it to Home Assistant I have to multiply with 3600000 to get liters per hour. The GPS speed (navigation.speedOverGround) comes from my Garmin plotter (and GPSd if the plotter is out, but it wasn't at that time), and that is in m/s. On around 2000 RPM's (this is 1875 RPM's) the Garmin shows 0.5-0.6 liters per nautical mile.
Teppo Kurki
Teppo Kurki2d ago
Derived data just divides navigation.speedOverGround (m/s) by fuel.rate (m3/s) so the result is meters of distance per cubic meter of fuel
Mastiff
MastiffOP2d ago
Aha, thanks! So I need to send it via Node-RED to do a calculation, then.

Did you find this page helpful?