Hi, I tested the solution and found it working ok. However, when the vehicle is running, variations do occur and therefore can be managed thru appropriate threshold levels. However, it is always a case, that vehicle is stationery when fuel theft occurs and when vehicle is stationery, we get no fuel signals with ignition off state. And also, when vehicle comes to a halt, more often with a jerk, the level recorded before stop is significantly higher or lower than the fuel level when it is starting from idle state. And this can give a false alert as though there was a fuel theft and when in reality there was no theft. The solution could give undesirable consequences.

Does anyone have an idea why the script is not working? if I do the following pasted below then I dont get error but it does not detect fuel theft. The original script mentioned in the blog http://gpsgate.com/blogComment/fuel_theft_alarm does not work.
Please help