Friday night, a glass of bitter (very English obviously) and a new update.
I've released version 1.0.50 which contains a significant revamp of distance calculations and range management. In a nutshell, you should find that all units now work correctly for Imperial, Metric and Metres. I've also added some useful reporting functionality for people that just like reports
You can download and install the latest version from this link:https://www.dropbox.com/s/vtnxa5ssxvroga2/iFindStuff.zip?dl=1
What's new in version 1.0.50?
B80 - Imperial and Metric calculations don't seem to work correctly. Resolved. I actually started to debug the code and then thought - actually this could be done a lot better with better performance. So I not only debugged the calculations but I simplified and revamped the approach. I've been running all unit types for 24 hours and they seem robust but I'm sure you'll let me know if there are any issues
Just to confirm a few things:
Imperial - This allows you to use miles and feet as the basis of the distance and range calculations. If you're setting a range (e.g. GeoFence Range, Holiday Distance, etc...) then iFindStuff uses feet as the measurement distance. You should ensure that all of your ranges are in feet not miles. If you're reading a distance calculation then it will be calculated in miles. There's also a a couple of special display fields for distances that show miles & feet for control pages. Lastly, when you set a 'stationary mode' speed it's measured in miles per hour (see the device dialog)
Metric - This allows you to use kilometres and metres as the basis of the distance and range calculations. If you're setting a range (e.g. GeoFence Range, Holiday Distance, etc...) then iFindStuff uses metres as the measurement distance. You should ensure that all of your ranges are in metres not kilometres. If you're reading a distance calculation then it will be calculated in kilometres. There's also a a couple of special display fields for distances that show kilometres & metres for control pages. Lastly, when you set a 'stationary mode' speed it's measured in kilometres per hour (see the device dialog)
Metres - This is the simplest option of all and uses only metres the basis of the distance and range calculations. If you're setting a range (e.g. GeoFence Range, Holiday Distance, etc...) then iFindStuff uses metres as the measurement distance. You should ensure that all of your ranges are in metres. If you're reading a distance calculation then it will be calculated in metres as well. There's also a a couple of special display fields for distances that show kilometres & metres for control pages. Lastly, when you set a 'stationary mode' speed it's measured in metres per second (see the device dialog)
So Ranges = Minor unit (m or ft) and Distances = Major unit (miles, kilometres or metres)...
As an aside - the deviceAccuracy field is also automatically converted to feet or metres depending on the units being used. If you switch units, iFindStuff will automatically convert all of your ranges and distances for you.
You'll need to wait for the first full update of devices before you'll see the new calculations being used so please be patient. Give it at least 10 mins to settle down
[F10] - I've got lots of devices and geofences it's hard to keep up - can you generate a report of what iFindStuff is managing? - Added this feature in this release. There are two new options on the iFindStuff menu (Plugins/iFindStuff/...). The first Send a detailed Report to the Indigo Log will generate a report in the Indigo Log showing Active/Inactive Devices and Active/InActive Geo Fences. It'll also show you which devices are in which GeoFence. The second option Save a detailed report to the Maps Directory will generate exactly the same report but save it as a text file to the directory where you save your maps. The filename will be of the form IFINDSTUFF REPORT 16-09-2015_17-19-12 (DD-MM-YY_HH-MM-SS). You can generate as many reports as you like and read, or print, them offline.
That's it for today - lots of Rugby to catch up on so I'm off now.
Best regards
Mike