FindFriendsMini New Releases

Posted on
Mon Jan 22, 2018 9:59 pm
GlennNZ offline
User avatar
Posts: 1555
Joined: Dec 07, 2014
Location: Central Coast, Australia

FindFriendsMini New Releases

Version 0.3.0

    Code refactoring; move to time main loop handling/timing
    Some code and logging tidying (only Apple iCloud Debug on Debug level 4 and above
    Updates Geofences arrival time minutely/every 60 seconds
    Better handling of config changes whilst plugin running; will restart main loop and update
    Restart main loop with new devices starting
    New Icon.png
    Fix to Pyicloudexception handling
    (Working on better handling of icloud errors)
    Report pyicloud import errors LOUDLY (Report Message returned)
    Add Debug Maximum Menu Item to Bypass Apple Login issues

In Plugin Store

Posted on
Thu Jan 25, 2018 7:52 pm
GlennNZ offline
User avatar
Posts: 1555
Joined: Dec 07, 2014
Location: Central Coast, Australia

FindFriendsMini New Releases

Version 0.4.8


In Plugin Store......

Changes:
Requirements:
Needs googleAPI Key entered into Plugin Config (see other post for directions)

Other changes:
- Change to Indigo 7 Logging across the board (generates debug log for PM if issues)
- Change to config settings given above
- Add enable/disable icloud logging (won't log icloud results)
- Add enable/disable mapping logging
- Add Python DIrectory for Info at startup (for comparison outside indigo if multiple python installs)
- Add Travel Time and Distance to iFriends. Requires googleAPI

- Create Home and Other geofence (recognised by Unique name only, not Indigo Device Name)
Image

&&

Image


For every FFM device will have new custom states of:

- homeTime eg. 18 (Number)
- homeTimeText 18 mins
- homeDistance 78236 -- given in meters
- homeDistanceText 78 kms
- otherTime 70
- otherTimeText 1 hour 10 mins
- otherDistance
- otherDistanceText

eg:

Image


as distance/time to Home Geofence and Other GeoFence, so named as Unique name of Geofence in device properties.
(indigo devicename can be whatever you wish)

- Update google maps to 2.5.1_dev
- Remove pyicloud unused modules.
- Remove module six dependency by above.

- Add action group to allow change in interval checking.
- Can run action to change the refresh interval based on whatever indigo triggers suits

- Fix bug for GetData via action and plugin Menu.

add Events/Triggers for GeoFence Arrive and GeoFence Leave; selectable by GeoFence and iFriend Device.

Image


- Create trigger/Event which is selectable within Indigo by Friend and Geofence.
- Two selectable, either exit GeoFence or Enter Geofence.

When any change at standard interval update will trigger this event/action.
(is ignored in first 60seconds, to avoid triggered at every startup)

- Ignore any startup triggers/events within first 60 seconds
- Add listFriends to Geofence - comma seperated list of friends within GeoFence

Posted on
Fri Jan 26, 2018 9:08 pm
GlennNZ offline
User avatar
Posts: 1555
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: FindFriendsMini New Releases

Version 0.4.8

Update to above

In Plugin Store......

Keen to look at historical location tracking - but would prefer to do so with online service.
Obvious some privacy issues around this - but does anyone have any ideas about online service where can upload historical/or as it happens tracking data?? (for free...)

Glenn

Posted on
Fri Feb 02, 2018 7:35 pm
GlennNZ offline
User avatar
Posts: 1555
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: FindFriendsMini New Releases

Version 0.5.4

Needs a Google API Key enabled for Static Maps and Distance Matrix. Free from Google. See website for details.

Changes:

0.5.4

- Create Variable per device for google map url
(can use with Jay's Indigo Variable addition https://www.indigodomo.com/library/405/)
Can use as link to external url to open google maps on this location
Uses url shortcut for googlemaps application

- Changes to Geofence Exit/Entry - uses Accuracy to avoid enter/exits when accuracy is very poor
- Further changes to use ratio of Accuracy to GeoFence Range

Will only set entry/exit geofence events and triggers if accuracy versus geofence range is less than 2
e.g.
Geo range of 100m. Accuracy is 1000m. (poor) Ratio = 10 won't entry/exit until more accurate reading
Geo of 100m. Accuracy of 200. Ratio of 2 - will (just allow) entry/exit
Geo of 100m. Accuracy of 5. Ratio 1/20. Will allow with trigger entry/exit
etc..

- Create very small separate FFM-GeoFence log file for data collection of these accuracy ratio/settings - in normal log file directory.
(Happy to finetune ratio if more data seems to suggest makes sense) and this logfile will help if any issues.

Currently set at a ratio of 2 - seems to be ideal spot.

In PluginStore


Glenn


------------------------------------------------------------------------

Other recent changes:
- Change to Indigo 7 Logging across the board (generates debug log for PM if issues)
- Change to config settings given above
- Add enable/disable icloud logging (won't log icloud results)
- Add enable/disable mapping logging
- Add Python DIrectory for Info at startup (for comparison outside indigo if multiple python installs)
- Add Travel Time and Distance to iFriends. Requires googleAPI
- Recognise Home and 'Other' geofence (recognised by Unique name only, not Indigo Device Name)
- Update google maps to 2.5.1_dev
- Remove pyicloud unused modules.
- Remove module six dependency by above.
- Add action group to allow change in interval checking.
- Can run action to change the refresh interval based on whatever indigo triggers suits
- Fix bug for GetData via action and plugin Menu.
- Create trigger/Event which is selectable within Indigo by Friend and Geofence.
- Two selectable, either exit GeoFence or Enter Geofence.
- Ignore any startup triggers/events within first 60 seconds
- Add listFriends to Geofence - comma seperated list of friends within GeoFence

Posted on
Sun Feb 04, 2018 11:26 pm
GlennNZ offline
User avatar
Posts: 1555
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: FindFriendsMini New Releases

Release 0.5.9

- Adds ZachBenz fix for 'followers versus following' -- Thanks!
Code was using followers, but should have used those we were following.
(In case a someone we were following isn't a follower!)
See github issue #16 for those interested and lost!

- Check deviceisOnline before checking Geofences
(github issue #15)

- Another nonetype check for empty data

- Further Check for existence of icloud label data (?not provided for some, now set to blank if None)
- Bugfix if icloud debugging enabled - deleted unused pyicloud routines, and dependencies but left one debugging line in.
- Check for existence of icloud label data (?not provided for some, now set to blank if None)
- Change to Accuracy - ignore leaving geofence if poor accuracy

In Plugin Store.
Last edited by GlennNZ on Thu Feb 08, 2018 6:19 pm, edited 1 time in total.

Posted on
Thu Feb 08, 2018 5:06 pm
GlennNZ offline
User avatar
Posts: 1555
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: FindFriendsMini New Releases

0.6.3

Further Geofence accuracy management updates. Believe finetunes everything well.
Will only trigger if device is Online (if device becomes offline will not trigger).
Uses accuracy combined with size of geofence range to decide whether should exit/enter - working well in my testing.
Add option to create separate FFM-Geofence.log in log directory for Geofence exit/entry accuracy/offline devices finetuning as required

0.6.3
    Reformat Geofence logfile - automatic tab indentation
    Add config checkbox for enable/disable Geofence logging
    Use distanceaccurate (which is current distance minus horizontalaccuracy; limited to lowest 0) instead of distance alone
    Continue to use ratio in combination with above - so only will check in/check out if ratio (accuracy versus georange <2) (I believe this will overcome the occasional Geofence exit I got with accurate reading (ratio <2) but device just out of georange (by 5-20 m or so)) [by subtracting the accuracy from distance received we get the minimum possible distance a device might be - use this - provided ratio is not dreadful]

0.6.2
    Add more none checks to politely deal with device off/airplane mode or disabled sharing
    These checks disabled for 60 seconds after startup to enable more helpful setup messaging

0.6.1
    Deal with device becoming offline avoiding a trigger Geofence Exit/Entry whilst offline e.g. Server down for 10 minutes; device no longer with Geofence. Exit triggered. Fixed.
    Additional check for dev Online for Geofence Other checking

0.6.0
    Add further check for DeviceIsOnline before checking GeoFences

Posted on
Mon Jun 25, 2018 1:27 am
GlennNZ offline
User avatar
Posts: 1555
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: FindFriendsMini New Releases

Version 0.8.7

Removes all Google API usage completely.

Plugin store:
http://www.indigodomo.com/pluginstore/139/


Changes:


Use as Crow-Flies GPS calculation (rather than google calculated road/car travel distance)
Change to travelTime to using adjustable speed to estimate travel time - 16.7 m/s (60km/hr) - plugin config setting to adjust
(Means traveltimes more approximate than before - but on testing seems as good as past results)

Remove API key from Map Image Generation - still using GoogleMaps just not with API key.

Add new Friend Device States:
distanceSinceCheck - meters moved since last information received if >100 will redo maps
mapLastUpdated - time of last map generation
otherDistance/homeDistance in meters as crow flies
otherTime/homeTime - calculated travel based on config m/s setting
otherTime/homeTime in seconds currently

Add Action:
Regenerate all Maps

Change to only updating maps when distance travelled > 100meters

Add Additional Map Sources for after 11th June..

Some positives and negatives with each
- ArcGis World Imagery - Satellite Map Similiar to Google Maps Satellite. No Central Marker possible - add to the control page would be my suggestion
- ArcGis World 2d
- ArcGis World Street Map
- OpenStreetMaps - Good quality street map. Can use markers seperate for each device.
- Six Maps NSW Australia Satellite imagery

Add Friend Device Options 'Mapping Label': Primarily for OpenStreetMap
eg. lightblue1 etc
Color and then displayed number
Can label each device with different number.

Posted on
Fri Oct 19, 2018 8:29 pm
GlennNZ offline
User avatar
Posts: 1555
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: FindFriendsMini New Releases

Version 0.9.3

Better handling of devices going offline, data remains intact, deviceLastUpdated refers to last successful communication
Fix math.cos comestic log entry

In Plugin store

Posted on
Fri Jun 14, 2019 12:05 am
GlennNZ offline
User avatar
Posts: 1555
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: FindFriendsMini New Releases

Version 0.9.6

In Plugin Store
Bypasses current icloud connection issue (started 11th June 2019) without issue that I can currently detect.

The main library - pyicloud library still being worked on, so may be future updates to using whatever solution they come up with, but this fix seems to work well currently.

Glenn

Posted on
Fri Jan 31, 2020 2:03 am
GlennNZ offline
User avatar
Posts: 1555
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: FindFriendsMini New Releases

Version 1.0.3

Change log:

Fixing the mapping disable being ignored issue
Adds Bing Mapping - which does need Bing API signup for - free - and doesn't seem to need billing info
Sign up here:
https://www.bingmapsportal.com/

In Plugin Store.

Glenn

Posted on
Sat Jun 05, 2021 8:39 pm
GlennNZ offline
User avatar
Posts: 1555
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: FindFriendsMini New Releases

Version 1.2.1

Changes:

Remove included OpenSSL/Cypto Libraries; Enables ongoing support for OSX moving forward (but removes support for old OSX versions)
If you are running a old version of OSX do not upgrade.

This version brings support for accounts that have 2FA enabled:

Finalise Two Factor Authentication support
Ideally better to have this disabled for account using FindFriends as per instructions.

This version adds support for accounts with 2FA enabled. Enables Plugin Config support for code entry etc.
Issue still will be frequency of emails regarding login (apparently still happening for some), and time frame when renewal of code will be required.

Add Trigger, triggered when 2FA code expires

Adds new = Own Devices Indigo Device - eg. This account Devices - in cases wish to locate specific devices.
These devices are not included currently in the Geofence calculations.

Updates Bing Maps BirdsEye to V2


Currently Here:
https://github.com/Ghawken/IndigoPlugin ... /releases/

Posted on
Sat Sep 25, 2021 10:40 pm
GlennNZ offline
User avatar
Posts: 1555
Joined: Dec 07, 2014
Location: Central Coast, Australia

FindFriendsMini New Releases

1.2.6 & 1.2.7

Fix for OS15 FindMyFriends icloud removal. Retains all features currently it would seem.

Other Changes

1.2.7
Attempt to fix for authentication issue with myOwnDevices - need higher level of authentication. Fix for error 450. Hopefully; only affects new device type OwnDevices..

1.2.6
Fix silly format log error
Add Delete All Account Data Button - at very bottom below the Debugging info. Removes any cookie/session data that may have been saved. Useful if finding it hard to setup a 2FA account, or can’t get the verification code to resend/appear again.

Change webservice for FindmyFriends given OS15 changes

Readded/my Own Device = My Own Devices == logged in accounts Devices (Not Friend devices). These devices are not counted in any Geofence calculations

Add 2 new action groups play Sound and send Message == to send to your own devices..
(Title currently doesn't seem to change; but message is editable)

Rejig some deviceState fields
Delete unneeded files

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests