How do you know these are results of your commands and not sure regular location reports? I don't see it.
I have tested across multiple devices and from what I can understand.
When the commands are sent from the server and received bythe device. The device responce contains S20, OK . Along with the current state.
In relation to the communication protocol list S20 is described as starter cut-off oil & engine data packet.
Across all of the regular location reports they all contain the information of the current state the device is in. engine stopped/cut off = f7ffffff
Engine resumed/not cut off =ffffffff
You should be able to use computed attributes if you want to extract a bit from that bitmask.
I am trying to create a status and alarm for engine cut off but I am unable to figure out how its done.
I am using ST901M on H02 Protocol. Engine Stop & Engine Resume Commands work.
Within the traccar log file I can see that the device reports back the relevant information but I am unable to turn this into an alarm/notification.
both command responses and general device updates this information is reported.
Engine Stop Result :
*HQ,9175851703,V4,S20,OK,111941,101942,V,000000000,S,0000000000,W,0.00,0,130824,f7ffffff,234,15,
Engine Resume Result :
*HQ,9175851703,V4,S20,OK,105933,095933,V,000000000,S,0000000000,W,0.00,0,130824,ffffffff,234,15,
Engine Stopped :
*HQ,91758o1703,V1,095111,V,000000000,S,0000000000,W,0.00,0,130824,f7ffffff,234,15,869,16500#
Engine Resumed :
*HQ,9175851703,V1,100011,V,000000000,S,0000000000,W,0.00,0,130824,ffffffff,234,15,869,5068#
Is what i want to achieve possible?