Looking through the logs, it seems that acserver doesn't successfully log the end of the sessions.
If the tool records tool active time, then you get a message when the tool stops, but not when the card is removed from the reader, and the power is switched off.
I've checked the acnode code, and that all seems valid.
Actually, looking at the nginx access logs, it looks like acnode isn't calling with status=0 , so we're not seeing anything like
POST /15/tooluse/0/xxxxxxxx
when it switches off.
Looking through the logs, it seems that acserver doesn't successfully log the end of the sessions. If the tool records tool active time, then you get a message when the tool stops, but not when the card is removed from the reader, and the power is switched off.
I've checked the acnode code, and that all seems valid.