FindFriendsMini New Releases

Posted on
Mon Jan 22, 2018 9:59 pm
GlennNZ offline
Posts: 624
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
Posts: 624
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
Posts: 624
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
Posts: 624
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
Posts: 624
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
Posts: 624
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
Posts: 624
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
Posts: 624
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
Posts: 624
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

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 0 guests