Project Share - Use Google Assistant For Location Based Reminders.
---
**Google Assistant and Location-Based Reminders**
Currently Google Assistant is not capable of setting location based reminders. When you say "Ok Google, Remind me to feed the dog when I get home". The assistant will say "Sorry, I can't set reminders based on locations". This interaction is recorded on your Google Activities web page.
When entering a location with a Location Reminder profile this Project gets all of these interactions from the web page and will display a notification for the Task you requested, for example "Feed The Dog".
---
**Installation Guide:**
The Plugin Autotools is required.
When Project is first installed you need to sign into your Google activities web page to give the project access to that web page.
Open the Task 'AutoTools Get from activity page_mr' and long press (edit) the AutoTools action -> Configuration -> Authenticate -> sign into account. You should then be logged into your Google Assistant Activity web page in the 'History' tab. -> back all the way out of Tasker.
The 2 Profiles "home Reminder 2" and "Work Reminder 2" currently have a State -> WiFi Connected -> Any WiFi . To first test the project for either location when connected to a WiFi you can simply Disable Profile --> save data -> Enable Profile -> save data. This will simulate entering one of those locations. Once you confirm the project is working as expected you can add your correct WiFi details to those contexts.
Just clone one of the existing profiles to create more location profiles.
---
**Naming Convention:**
The Naming structure is "Important"... the Project uses the "First Single Word" in the profile name in a Tasker Pattern Match to trigger the correct location reminder. In other words when you say "Ok Google, remind me to feed the dog when I get home". The word "home" needs to match the first word in your Profile Name. This is "Not" case sensitive. See 'Pattern Matching" in the Tasker user guide.
Try to use simple, one word, Non plural names like 'Home' and 'work'. You can use plural names like "Bob's" as Google seems to always get the hyphen in there, just be aware it will not match without the hyphen in your Profile name "And" the word The assistant thinks you said.
The Profile Name can contain any text after the first Word. IE -> 'Walmart - This is my Walmart location profile'
---
**Known Issues**
The Global variable %Last_reminder_mr gets set to keep track of the last reminder posted for every location. If this Variable gets cleared or corrupted the project has no way of knowing which entry in the Activity web page to notify you with. In this case it will notify you with the last 5 notifications for the given location. This will also happen if you do not use that location for a long time as it appears the web page only holds 100 entries.
---
**Planned Improvements**
The next version should be able to set a time delay as well. So you can say "ok Google, remind me to kill the cat 20 minutes after I get home.
I am also planning on addding the ability to "choose" a location after the reminder command. This will require the Google Assistant Command Intercept project. It will hopefully work like the Google "Keep Notes" app works for setting a location.
**********************
**New version ....**
Version - 1 - 9-15-24
Version - 2 - 9-18-24
Version -3 - 9-24-24
______ Change Log ______
V2 - Added 'No Internet Connection" detection. ; Added 2 profiles to handle no Internet connection when entering a location. It will test for a connection every 10 seconds for 10 minutes then continue to test every 10 minutes for 6 hrs. It will stop testing when battery gets below 20%. This is so you do not miss a reminder if you have no Internet connection when you arrive at your location.
V3 - Changed the parsing Task to use Simple Match Action.
[Assistant Location Reminders]( https://taskernet.com/shares/?user=AS35m8lnbGhm%2F58jHvsiqVNumDAJZVkcfcE7gQxfcMjrFBCkp6sNKYf3YiK9WVWZBoDf&id=Project%3AMy+Location+Reminders )
---