I heard reloading webpage fixes it.
My problem is no one gave me a hint how to create that problem. When I use klipper I do not get it. My M105 responses are:
Recv:19:19:10.056: ok B:26.5 /0.0 T0:26.1 /0.0
Recv:19:19:11.057: ok B:26.3 /0.0 T0:26.2 /0.0
Recv:19:19:12.057: ok B:26.4 /0.0 T0:26.2 /0.0
Recv:19:19:13.057: ok B:26.4 /0.0 T0:26.0 /0.0
Recv:19:19:14.067: ok B:26.5 /0.0 T0:26.0 /0.0
Recv:19:19:15.068: ok B:26.6 /0.0 T0:26.0 /0.0
Recv:19:19:16.068: ok B:26.6 /0.0 T0:25.9 /0.0
And I get no NaN. The question is here does the invalid number get into the queue.
If you activate connected.log how does it look when you get the NaN?
What do you need to do to get it? I restarted server and did not get it I Restarted klipper no problem. Reloaded webpage and still no problem.
So if you you post the connected.log and some hints on how to produce the error I might be able to fix it.