After update to 6.4 RPM is missing

Kaloyan Kanev4 months ago

Hello again guys,
@Anton, like always, you was right buddy!
The problem was from computed attributes. As we see in the TeltonikaProtocolDecoder.java file in row 240:
register(85, fmbXXX, (p, b) -> p.set(Position.KEY_RPM, b.readUnsignedShort()));
The parameter is parsed from the server side and coming as RPM that make IO85 to be hidden from the attributes list.
And for example, if we had some computed attributes like: rpm ? io85 : null (leaves from the old versions) the result is null because io85 missing.
Suggestion:
If you guys upgrade to 6.4 from some old versions, unlink all computed attributes from device, see what exactly coming already parsed and make new computed attribute (if is needed) and link to device again. Because is not only rpm, the same situation was and with other parameters like: engine temperature, device battery...

Thank you Anton!

Karl.3 months ago

@Kaloyan,

Would you be interested in sharing your front end changes?

I wrote to you on your website but I didn't get a response