Using Google Home as an auto reminder for Elderly parents living away & alone - Google Home

I am interested in placing a google Home mini in my old parents home and have it remind them of tasks and activities they should be doing every day.
Once the time of the task is over, ask them simple canned questions like did you do it? did you go there? was the task completed? and based on the answer to log the results in a table I will create to follow up on them living the plan we put together.
Their daily plan will be in an online table list of activities I will be creating as an excel table on a weekly basis.
The initial challenge is to turn a task list into scheduled reminders that will be read out loud at the set times on their mini speaker.
The other Challenge is to ask if the tasks was completed and the score they gave to it and and log it in the table I will read daily.
Is someone here familiar enough with Google home to help create the solution?
Thanks in Advance
Dany

Hello, I think that your question is very interesting.
I don't have much experience with google home but what you are trying to achieve should be doable.
I think that you could schedule a custom routine (https://support.google.com/googlehome/answer/7029585?co=GENIE.Platform=Android&hl=en) that triggers a custom action (that will handle the conversation to acknowledge the task and store this information in your online excel table). The most tricky part is obviously the custom action. I think that you have at least 2 options here:
1) writing you custom action with the Action SDK (https://developers.google.com/actions/sdk/), mainly in Javascript creating a Node.js app running for example on Firebase (aka Google cloud).
2) using a platform called dialogflow (https://dialogflow.com/) to create the action without programming.
You can find some examples here: https://developers.google.com/actions/samples/github
Keep us posted!

If you are a programmer, you can develop a little software in python using a script that send programmaticaly voice to google home. I wrote a post on my blog www dot gioexperience com. Sorry but in XDA I cannot write links
On my blog you can see how to send programmaticaly in python voice command to google home without human interaction... also detect and erase alarms ecc ecc
www dot gioexperience com

Related

16 Lectures

I have developed an application which is a simple task manager.
I noticed my tasks were numerical in nature. In order to study for this exam, I had to review 16 lectures, hence the name. Because tasks are incremental and decremental in nature, this application also serves as a bean counter. You can use this application to keep balls and strikes in a baseball game.
I have a personal todo list on this application, but I want to know if this would be useful for anybody and what features you'd like to see. This is still a work in progress: I started Android development two days ago.
Menu to Add tasks / Save data (not sure if this is necessary)
Single press on task to edit
Long press on task for context menu

Do text apps capture keywords within a user's personal texts?

What extent, if any, do mobile phone text apps capture the keywords of its user's texts to send to ad networks in order to monetize it's apps?
I was reading the source code of the MOPUB ad network, and the source code stated:
"You can pass keywords from your app to MoPub as a comma-separated list in the ad view. They should be in the format of key value pairs (e.g. m_age:24). You can use any characters except for "&" and "=".
MPAdView *adView
= [[MPAdView alloc] initWithAdUnitId"AD_UNIT_ID" size:MOPUB_BANNER_SIZE];
adView.delegate = self;
adView.keywords = @"m_age:24,m_gender:m,m_marital:single";
[adView loadAd];
https://github.com/mopub/mopub-ios-sdk/wiki/Data-Passing"
So now I'm confused. We all know there are tons of text apps on apple/android, free and paid. I need to learn how these apps are able to make money for their company by reading the user's texts. My interest is the following:
1) Do apps read their user's texts to obtain data to send to MOPUB?
It appears from the code above that it is saying that when the text app users are texting their friends that words in the text that match the MOPUB's list of keywords is intercepted in real time, recorded, ie your age/gender, and then those keywords are sent to MOPUB to send advertising back to match those keywords. Am I reading the source code correctly? Is this happening on all text apps with the MOPUB source code?
2) Has anyone run any tests to capture this activity in real time so I can see how it is done.? I would appreciate any info on any work in this area.
Thanks,
media678
1) Extremely unlikely. It's far too complicated to interpret the context of a word like "24" or "male" or "single" on the fly on-device. Is that text referring to the sender, to their romantic expectations, to their current partner, or to their brother they're trying to get a date for? Or even to parts of a shopping list? Language is very complex, and an app that attempted to include that functionality, even poorly, would have 100x as much code trying to interpret keywords than they would have for the initial purpose of the app itself. It would use so much processing power that the app would run terribly and everyone would soon abandon that app. It's absolutely not economical.
It could possibly be done by sending a copy of every text to the developers server and doing the work there, but the cost of that kind of equipment would far exceed the revenue from showing the ads in the app. And after all the NSA media scandal, what company would be dumb enough to secretly intercept and store private texts? Sooner or later someone would notice, and the company would be in unbelievable legal trouble. It's not nearly worth the risk.
It's much more likely that the app generates basic keyword data with much simpler methods (such as asking you directly) or has a fixed list of generic keywords that's selected during development that they use to request ads. You're not reading the source code correctly. The ad service allows developers to request targeted ads via any method they choose, and does not imply that those methods must, or even can, include any hidden, on the fly, language-based data-gathering system.
There are probably no companies out there that are making any profit (or accomplishing anything else) by secretly reading users' texts.
2) Based on the above answer, there's nothing to capture. Google and Apple and Microsoft certainly do something similar with web usage, but they approach it very cautiously, protect it very carefully (even from themselves, in some senses), and guard the methods jealously. No one who can do it successfully is going to tell you how they do it.
If you really must know, you'll have to learn to decompile and reverse-engineer software, which is a slow and frustrating process and approaches illegal activity. You'll have to dig deeply into dozens or hundreds of text apps. And there's probably nothing there for you to find in the first place.
3) This doesn't have anything to do with Xposed Framework, and doesn't belong in this forum.
Also, your intentions appear to be either paranoid or invasive, and you seem to have some kind of obsession with the phrase "real time". You might want to take a step back and analyze your mindset here.
Text app capturing keywords dynamically
Sorry if I posted in the wrong location, I'm new here. I thought I was making a new thread in a general area.
As for a reply, its not an issue if it can be done, it's an issue how to do it properly. Integrate the MoPub SDK into your app.
Passing Keywords
Keywords allow you to target certain ad requests with user data. This feature is often used to differentiate a specific user demographic or users on different app versions.
You can pass keywords from your app to MoPub as a comma-separated list in the ad view. They should be in the format of key value pairs (e.g. m_age:24). You can use any characters except for “&” and “=”. Spaces are allowed, and special characters are discouraged.
MPAdView *adView
= [[MPAdView alloc] initWithAdUnitId"AD_UNIT_ID" size:MOPUB_BANNER_SIZE];
adView.delegate = self;
adView.keywords = @"m_age:24,m_gender:m,m_marital:single";
[adView loadAd];
MoPub recommends that the publishers use the standard keywords listed below for passing gender and age data. Applying this standard for passing first party data will result in targeted ads from the MoPub Marketplace and certain ad networks. Publishers who pass age and gender to Marketplace see an average lift of 20% in eCPMs.
For gender you would pass:
Example: m_gender:m for male or m_gender:f for female
For age you would pass:
Example: m_age:25
Using the same key value pairs, target campaigns using the keyword targeting function in the “Advanced Targeting” dropdown when managing campaigns on the MoPub Dashboard.
To target multiple keywords, use AND. If you want to use the OR clause, separate the keywords by a new line. To explicitly not target a property, put a “-” in front of the keyword.
Example: m_gender:m AND m_age:25
Example: m_gender:m
m_age:25
Negative Targeting: -m_age:25
To target a set of values for one keyword you need to explicitly pass each value with the keyword individually.
Example: fruit:apple AND fruit:banana AND fruitrange.
NOTE: This will only match line items which are targeting all three values (apple, banana, orange).
To negatively target a set of values for one keyword you’ll need to use the AND clause. For example to exclude a line item from being served when the ad requests contains the keyword fruit with the values set to apple, bananas, or oranges you would use the below express:
-fruit:apple AND -fruit:banana AND -fruitranges
Note: For native ads, you can pass in keywords using the MPNativeAdRequestTargeting class. See the Native Ads Integration guide.
PS: An app using software to capture real-time streaming wire data is a common reference, dynamic capture better?

Tasker as "Smart Home" - Chat / Pushbullet Question.

Evening All,
I have tasker running on a Madcatz Mojo (Tegra 3 Android Box). It "runs" my "smarthome" quite nicely. I mainly communicate between phones and android TV using auto remote (to set variables and help trigger events). However as my wife is not as tech savy as I, I use pushbullet for her needs. We have simple commands like "Did I leave any windows open", or "Where did I park my car". Which is great but I can't get it to work for a specific person (ie works for anyone who messages the box). Which is a bit of a security hole really. My "house's" gmail account is unknown to others but I still don't like anyone being able to send the trigger phrases and know where my car is or if my windows are open etc. Futher to this I want to run it off a group chat, between myself, my wife and the house. This way if my mrs doesn't trigger something correctly, rather than her being fustrated, I can quickly say "You gotta type Where IS my car not Where's my car" (as an example).
So what I'm looking for is a chat app that I can install on the mojo and our phones that tasker can use to set variables and check identity, as well as having a group chat. I saw Join might be an option however it's paid and I would prefer to go with a free option if possible.
If Join is my only option can anyone confirm it can do what I require?
I am a Join user and know it can send commands to Tasker. You can pair multiple devices to Join - so you can then send a command to your box from it from the web or anywhere else you want (It uses your Google Account Login).
Join's programmer also makes a great suite of apps called AutoApps that can greatly enhance your possibilities. Autonotification for example, lets you intercept notifications and have Tasker react accordingly. He also has some other apps which give voice control which Tasker can respond to for more Smart Home Automation fun.
What's wrong with the pushbullet solution, if I may ask? It is kinda like a private chat between your wife, your "house" and yourself PLUS it has native tasker support built-in. Seems like this fits all your needs, doesn't it? Correct me if I'm missing something.
Apart from this, you may want to look into AirTask. I did not try it (yet), but it seems to be a solution for connecting different devices. (It's surely not a chat app, though.)
digitalpig82 said:
What's wrong with the pushbullet solution, if I may ask? It is kinda like a private chat between your wife, your "house" and yourself PLUS it has native tasker support built-in. Seems like this fits all your needs, doesn't it? Correct me if I'm missing something.
Apart from this, you may want to look into AirTask. I did not try it (yet), but it seems to be a solution for connecting different devices. (It's surely not a chat app, though.)
Click to expand...
Click to collapse
Can't have a "group chat" and can't determin who's the incoming user.
Medfordite said:
I am a Join user and know it can send commands to Tasker. You can pair multiple devices to Join - so you can then send a command to your box from it from the web or anywhere else you want (It uses your Google Account Login).
Join's programmer also makes a great suite of apps called AutoApps that can greatly enhance your possibilities. Autonotification for example, lets you intercept notifications and have Tasker react accordingly. He also has some other apps which give voice control which Tasker can respond to for more Smart Home Automation fun.
Click to expand...
Click to collapse
Oh I know, I'm a fan of his apps. I use auto voice and autoinput a fair bit in my home automation .

[APP][NST/G] Google(ish) News

5-31-21 I've ceased development on this app because I think there is a better alternative. See post #7.
*updated to version 1.3, adding error trap for discontinued or blank feeds*
It's been awhile since the demise of the last working version of Genie Widget (aka Google News and Weather) but not so long since the big G retooled news.google.com so that our browsers can no longer deal with it and also put the kibosh on the Google News RSS feeds. Sigh.
I have a work-around
Google News 1.3 for the NST/G exploits the "alerts" that Google offers on news topics. These alerts can be optioned in the form of RSS feeds. My app downloads the HTML source for the feed, picks out all the good stuff and trashes all the rest, then builds up a local HTML document which is easily displayed by our browsers (I highly recommend Opera Mobile for ease of scrolling and general all-around function). You can build up your own topics, change your mind, mix them about, read that one more story you didn't get to the first time around, etc. I'm not saying that your browser will negotiate every target link. Some newspaper sites have just become too much. That was true even when Genie Widget was still working. But updating Opera Mobile for TLS 1.2 solves much of that. See this post for details.. The beauty of this app is in the simplicity. It's entirely browser-based once the feeds are downloaded, so you're not going back and forth between the app and your browser (like the current Google News app.......). Designed for both portrait and landscape.
Requirements
1. Android 2.1 has a security issue with opening local HTML files. In order for Google News to work properly you need to address that. Included in the zip below is a tiny app, android-open-in-browser-0.0.4-4-debug. Install that. It's not my app but I have used it for years and wish I could credit the originator.
2. This is a Tasker-generated app. If you already have one of my other Tasker-generated apps or have previously installed GApps, you don't need the two Google maps library files included in the zip and can delete them. If you do need them, copy the two files into the locations shown below:
/system/etc/permissions/com.google.android.maps.xml
/system/framework/com.google.android.maps.jar
Set permissions for both files to rw-r--r-- and reboot. Without these files resident, the app will not install.
3. Create a folder in the root directory of your sdcard: Google News (exactly as shown)
4. Install the app itself, Google News.1.apk
How to use
Before you run the app you need to select some news categories, set up the feeds, get the URLs, blah-blah-blah. All of this is covered in the PDF included with the zip. It may seem a little annoying at the start, but it goes quickly once you get started and it's not like you have to do it every time you use the app. You're just setting up your news topics, just as if you were using the current Google News (either the app or the web version). Once you have your topics and URLs and have edited the included text file google_rss_feeds.txt, copy that into the Google News folder of your sdcard.
Note: recently (June 2019) the big G has not been very consistent with the RSS feeds. Some days they are "empty" but come back the next day with lots of stories. Some feed topics simply "die" and a minor change in the topic will resurrect them (change "World" to "World news", as an example). Version 1.3 includes a trap for these eventualities so that the app should not crash, even if your first feed comes up empty. To inspect/edit your feeds, point your browser (on your PC) to your Google Alerts page. If you are signed in this will be found among the options on the Google home page, in the upper right corner where the "apps" grid is shown.
Now you're good to go. Start the app, make sure you're connected to WiFi. There are only three buttons on the app screen. The first one, "Fetch the news" does just that. You will see a little toast that the first news category is being prepared. Once that is done, you will be taken to the browser and that page will open. Meanwhile the remaining pages are being downloaded and reconstructed in the background.
The news page is very simple. I tried to aim for readability over all other considerations (this is the reason the news items are in bold black, even though they are the external links). I have my Opera Mobile set to 100% page zoom. It looks good to me, but you could probably get away with 75%. External websites are another matter. At the title bar left is a drop-down menu button that gives you access to your other news topics. Since no fixed navbar schemes work under Android 2.1, there is a duplicate drop-up menu bar at the end of the page. The use of NoRefresh, or to a lesser extent FastMode, is a plus.
Edit: you cannot use this app with Opera Mini. It lacks the ability to open local HTML files.
The second option on the opening screen, "Read old news" sounds a bit daft, but I just thought maybe someone might have been looking at the topic pages, saw something that interested them and then got interrupted. So this option opens the first local file in the browser again and you can navigate from there. Strictly speaking, WiFi is not needed to browse the local files once they have been created, but it is needed to pursue any stories.
The third option simply dismisses the app screen.
Whew! So this is new...and I think I exterminated all the bugs, but I did not try other browsers. I'm open to suggestions and would appreciate feedback.
Google alert change? No option for RSS alerts anymore...
First off, thanks so much for putting the time and effort into this app. I would love to have a more "future-proof" news reader solution for my NST. Sadly however, in typical Google fashion of constantly dropping/messing with feature support, it seems that there is no longer an option to deliver Google alerts to RSS feeds (only email addresses). If I'm reading this thread and your PDF correctly, I'm worried that this may break the app. In any case I'm stuck on page 3 of your setup PDF since I can't figure out how to get the RSS alert string from Google anymore. Any advice you can offer would be greatly appreciated!
v619284 said:
First off, thanks so much for putting the time and effort into this app. I would love to have a more "future-proof" news reader solution for my NST. Sadly however, in typical Google fashion of constantly dropping/messing with feature support, it seems that there is no longer an option to deliver Google alerts to RSS feeds (only email addresses). If I'm reading this thread and your PDF correctly, I'm worried that this may break the app. In any case I'm stuck on page 3 of your setup PDF since I can't figure out how to get the RSS alert string from Google anymore. Any advice you can offer would be greatly appreciated!
Click to expand...
Click to collapse
I'm away from home right now but my copy of the app is working so the RSS feeds must still exist. I'll have to sit down with my instructions in front of the computer and see what mischief they've done. Thanks for letting me know.
v619284 said:
If I'm reading this thread and your PDF correctly, I'm worried that this may break the app. In any case I'm stuck on page 3 of your setup PDF since I can't figure out how to get the RSS alert string from Google anymore. Any advice you can offer would be greatly appreciated!
Click to expand...
Click to collapse
OK, so I've run through the instructions sitting at my PC. Everything is correct although Firefox no longer wants to open the RSS feed page as anything other than an xml "text" file. That just means the image on page 4 needs updating.
As far as page 3, everything is currently exactly as shown. Just to be sure, you have to be signed in to Google on your browser before you do any of this. Then when you get to the screen depicted on page 3 you need to change the "Deliver to" option to RSS feed. But even before that, it's important not to get sucked into the email alert business back on page 2. Do NOT click on "Create Alert" there, only on "Show options". That's how you get to the screen I show on page 3.
When you finally get to click on the little RSS symbol shown on the lower half of page 3, you (at least on Firefox) may end up at a page of xml code, or perhaps your browser may show a news feed page. Regardless, the URL shown for the page is the same and it's what you need to copy, just as described on page 4.
Let me know if you are still having issues with this.
v619284 said:
First off, thanks so much for putting the time and effort into this app. I would love to have a more "future-proof" news reader solution for my NST. Sadly however, in typical Google fashion of constantly dropping/messing with feature support, it seems that there is no longer an option to deliver Google alerts to RSS feeds (only email addresses). If I'm reading this thread and your PDF correctly, I'm worried that this may break the app. In any case I'm stuck on page 3 of your setup PDF since I can't figure out how to get the RSS alert string from Google anymore. Any advice you can offer would be greatly appreciated!
Click to expand...
Click to collapse
So a few days after I wrote my last post, the app stopped working for me. It just hangs on "Preparing......News"
Google has apparently changed the format of their RSS xml file. Right in the middle of something else at the moment, but I will get it fixed.
Nope, nix that. After fooling around with the app and an xml file from the Big G, I find nothing out of place and it seems the app is now working again
They're just messing with us.
Edit: Indeed they are. Today I caught another malfunction but this time looked at the Tasker routines for an error. Google is sending out (at least today) RSS feeds with empty content fields. That messes up my app. So I wrote an error trap for that. Updated in first post. Have to watch the big G like a hawk....
v619284 said:
If I'm reading this thread and your PDF correctly, I'm worried that this may break the app. In any case I'm stuck on page 3 of your setup PDF since I can't figure out how to get the RSS alert string from Google anymore. Any advice you can offer would be greatly appreciated!
Click to expand...
Click to collapse
Whilst looking around for a solution to a different issue, I came across this: https://medium.com/@cassandragraft/...tion-not-appearing-heres-the-fix-bf842ca32b88
It appears to address the issue you describe. I never encountered the issue, but obviously some people have.
The Big G is making me very angry lately. Even version 1.2 with a new error trap is crashing. I'm finding that some of my feeds are "empty". The skeleton of the RSS file is there but there is no content populating the file. A category as ordinary as "world" is simply blank. This is new and very annoying. Just a change of topic to "world news" brings up a list of stories longer than your arm. I encountered this before with "science" and fixed it with a slight change in name, so I should have seen this coming. It's a nasty game Google seems to be playing....
Anyway, if the app crashes on the first topic it leaves an overlay artifact behind when you exit. To remove this, go to the App Manager and force stop the app. I will work on a fix which will alert you to the effect that the feed appears dead but allow the app to complete the download of whatever is still working and exit properly.
Grr....
Edit: App updated to v1.3 in first post. I hope that solves the problems. For now.
As I mentioned in my edit of the first post, I think my app is exhibiting creakiness already owing to Opera Mobile's increasing difficulty negotiating many websites.
I have an alternative to suggest, however, that is totally browser based. It seems to work "OK" with Opera Mobile although text display is a bit small with a default zoom of 100%. In Opera Mini, however, it shines, especially with NoRefresh.
Thanks to XDA member @SJT75 , I found out about a list of text-only news sites. One of them is a text version of Google News! The list is at: https://greycoder.com/a-list-of-text-only-new-sites/
While the Google News option does not allow for custom categories (hey, there's an app for that!), it does cover all the usual suspects. Even better, all of the links lead to text-only versions of the sources. Occasionally you go to a page and find it could not be fetched by whatever mechanism the author is using, but pages (even those error ones) include a link to the original source
Also notable on the list are the NPR and CNN sites. Both work well.

Tips for "Procedural app"?

Hello everyone
I've started working from home from March, and been in 3 different skills in less than 2 months, and probably, going to be in other one, and Im not getting the right feedback or instructions from my superiors about how to make my job correctly and not lose money or gettin punish for something I have not been taught
So I came with the idea to create an app in which I could select the primary data/options and then get the procedure/steps to solve my task without losing time (like a mini game to provide background info and then have the answer of what to do.
Ex of Primary Data: "Number of products to cancel", "Type of order: Pick up/Delivery", "Store of origin: Main/Other", "Costumer wants to cancel?: Yes/No"
After all the background data has been selected/stablished, text will appear to tell what are the steps to take according to the previous data entered.
Ex Answer Procedure: "Proceed to cancel the order, notify the dealer from the main store and proceed with the cancellation. Close the case"
So here goes the main question: What topics I must learn in order to be prepared to make this app as simple as possible with Android Studio? Is there any course that covers up this idea? What you guys suggests?
Thank you all in advance, hope to read how to find the info I need
Have a great day!
-

Categories

Resources