I've released version 1.0.55 which provides some new features for updating frequency of iDevices.
Working with kw123, thanks Karl for the support, I've added some new features and fixed a couple as well. These features are primarily around how the update frequency is determined. Karl is looking to integrate some of the features of Fingscan with iFindStuff as they're complementary in what they try to achieve. It's a good example of how one plugin can support another. I'm working on integrating Fingscan with NEST Home for a similar reason.
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.55?
B79 - Using a variable for frequency updates instead of a calculated value doesn't seem to be working properly - can you investigate? Sure can and that was the case. Effectively iFindStuff simply ignored the variable value and recalculated the field anyway - every 10 seconds! I need to get better at spotting the difference between greater than and less than in a line of code You'll find it works now.
F25 - I'd like three new actions added to the plugin to manage if a device is using a variable or calculating the update frequency: Toggle, On and Off. You'll find there are three new options available under iFindStuff Actions, They are:
Toggle Update Frequency - This changes the calculation method for updates from Calculated to Variable or vice versa depending on the current setting
Change Update Frequency from Calculated to Variable - This changes the calculation method for updates from Calculated to Variable
Change Update Frequency from Variable to Calculated - This changes the calculation method for updates from Variable to Calculated
You'll also notice that there is a new state for every device called calculateMethod. The value of this state is either Variable or Calculated depending on the method being used.
When run each action will force an immediate refresh (well within 10 seconds) update of the device and either calculate a new update frequency or refer to a variable of the form [NAMEOFIDEVICE]FREQ - e.g. MIKEIPHONEFREQ. If the variable doesn't exist it will be created automatically and placed in an iFindStuff folder under variables.
F26 - I find it difficult to remember what units are being used for ranges and distances - can this be added? There are now two new states for each device: rangeUnits and distanceUnits. These represent the current units being applied in the plugin.
Metres: rangeUnit = metres, distanceUnit = metres
Metric: rangeUnit = metres, distanceUnit = kilometres
Imperial: rangeUnit = feet, distanceUnit = miles
I'm going to spend some time updating the manual to reflect all of the changes in the past couple of weeks. There have been some significant improvements and I think that there are more that we haven't thought of yet so let me know your ideas, issues and updates.
Many thanks as usual
Regards
Mike