Coder Social home page Coder Social logo

mycroftai / skill-reminder Goto Github PK

View Code? Open in Web Editor NEW
14.0 10.0 29.0 217 KB

Mycroft AI official Reminder Skill - set reminders

Home Page: https://mycroft.ai/skills

License: Apache License 2.0

Python 90.00% Gherkin 10.00%
mycroftai mycroft mycroft-skill reminder reminders hacktoberfest

skill-reminder's Introduction

Set reminders

Set single and repeating reminders for tasks

About

Flexible reminder Skill, allowing you to set single and repeating reminders for tasks. The reminders are set on the Device, and have no external dependencies.

Examples

  • "Set a reminder every day to take my vitamin pill"
  • "Remind me to put the garbage out at 8pm"
  • "Remind me to walk the dog in an hour"
  • "Set a reminder every Friday at 2pm"
  • "Remind me to stretch in 10 minutes"

Credits

Mycroft AI (@MycroftAI)

Category

Daily

Tags

#reminder #reminders

skill-reminder's People

Contributors

augustnmonteiro avatar craigmaloney avatar dave-esch avatar e-gor avatar forslund avatar gras64 avatar kathyreid avatar krisgesling avatar lcipria avatar luke5sky avatar matthewscholefield avatar mic92 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

skill-reminder's Issues

"Remind me after lunch" disregards locale

Impressive: I asked mycroft to "remind me after lunch to ..." and without further question, it figured I meant "at noon". Close enough. However, it decided I meant noon UTC, disregarding my local timezone (which I believe is set, as I examine home.mycroft.ai device page which does have my city name populated).

Log exerpt:

16:42:41.965 - mycroft.skills.intent_service:send_metrics:241 - DEBUG - Sending metric if opt_in is enabled
16:42:41.971 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai
~~~~, "skill_reminderReminderSkillCreateVerb"]], "confidence": 1.0, "match": "remind me", "key": "remind me"}], "end_token": 1, "from_context": false, "start_token": 0, "confidence": 1.0, "match": "remind me", "key": "remind me"}]}}
16:42:41.997 - SKILLS - DEBUG - {"context": null, "type": "mycroft.skill.handler.start", "data": {"name": "ReminderSkill.handle_create"}}
~~~~G - {"context": {"ident": "1527180159.19171241561658034", "target": null, "client_name": "mycroft_listener"}, "type": "speak", "data": {"utterance": "Reminder set for 19 hours and 17 minutes from now", "expect_response": false}}
16:42:42.128 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai
16:42:42.285 - SKILLS - DEBUG - {"context": null, "type": "enclosure.mouth.think", "data": {}}
16:42:42.363 - SKILLS - DEBUG - {"data": {}, "type": "Command: mouth.think", "context": null}
16:42:42.606 - requests.packages.urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.mycroft.ai
16:42:42.607 - SKILLS - DEBUG - {"context": null, "type": "mycroft.skill.handler.complete", "data": {"name": "ReminderSkill.handle_create"}}

Optional additional event-based triggers to reminder

The reminder skill would be even more useful if reminders could sometimes be made to trigger immediately following Mycroft becoming aware of certain conditions such as a human presence. Some conditions that might constitute awareness: wakeword utterance, sustained high-volume audio (probably people speaking), GPIO sensor input (such as PIR or pressure sensor), home automation event notifications.

An illustrating scenario: I am about to leave to take kids to sports practice, I ask mycroft to remind the next person that comes home to let the dog out for a little while.

Reoccuring Reminder intents in example not working

The examples in the README file shows that you should be able to use commands such as:

  • "Set a reminder every day to take my vitamin pill"
  • "Set a reminder every Friday at 2pm"

But there are no vocab intent files that capture these utterances to allow for reoccuring reminders to be set. Would be great to know if this is something that is coming in the future or I've missed something in the code.

Uh - shouldn't a reminder "remind"?

Hi,
I'm diving a little deeper into mycroft and am a little puzzled: if I set a reminder for e.g. tomorrow at 9 am, I expect mycroft to remind me. Then, and if I don't acknowledge it, in (e.g. increasingly large) intervals.
But after an initial announcement right before the event, 3 beeps at (1 min) intervals after the event - I get nothing.
Why not utter the reminder again at/after the event, at 1min, 2, 3, 5, 10, 15, 30, 1h until acknowledged?
I ask if there is a reason for this behaviour, I might be able to fix it myself - but my python isn't too good.
Cheers,
Udo

settings saving behaviour

The skill should save its reminder lists to the .config/xx/xx/xx/settings.json. While this is true for the first time after every (re)boot, the second entry is only stored in some type of cache, never make its way to settings.json. While this isn't recognized if you never reboot, the list entries will be lost if you do.

save_settings reports "Skill settings successfully saved to ..." for the first time then stays silent after that

outputs from checking reminder state
Checking ('tennis morgen 18 uhr', '20200908-180000-+0200') (settings.json)
Checking ('tennis morgen 18 uhr', '20200908-180000-+0200') (cache)
Checking ('fußball morgen 13 uhr', '20200908-130000-+0200') (cache)

settings.json
{"__mycroft_skill_firstrun": false, "reminders": [["tennis morgen 18 uhr", "20200908-180000-+0200"]]}

If you reboot the first reminder you set after that is appended to the (settings.json) list -> then only cached

specify a date/time does not work

It is not clear to me in what format I have to specify the time for a reminder.

I get the confirmation "right-o. do you want me to remind you at a specific time?" and fail with any format.
Listing my reminders afterwards, always returns I have no remindes.

I tried with and without a leading "remind me" in the response. As I am in a dialog I think I don't have to call the wake word "hey Mycroft" again:
in 15 minutes.
today in 15 minutes.
tomorrow at 9am.
at the 1. of April.
at quarter past 10pm.
at 21 and 15 minutes (trying 24hours time format).

nothing works. Please help me how can I set a correct time?
Does it have something to do with my default/device configured date time format? I am using 24 hours format.

improve documentation

Reminders are answered and seem to work, but how do we get Mycroft to repeat or review reminders? Can you elaborate on the methods in documentation, plz?
Thanks!

"in a minute" should mean the same as "in one minute"

It seems to be resolving to 8 hours plus one minute from now, rather than one minute from now. I thought maybe it was getting timezone-confused but I'm only 4 hours behind UTC

I get the same results through speaking or the CLI

remind me to file an issue in a minute                     
 >> That's very late                                                  
 >> is that really when you want to be reminded                       
 >> are you sure
 yes
 >> I've set a reminder for three thirty five tomorrow

(I did that at 19:34 local time)

Allow reminder without a timestamp

I envision some functionality that is not time dependent.
...like
remind me of [dish washing]
remind me of [putting out my teeth]
remind me of [taking my medicine]

with the output from "what should you remind me of"?
['dish washing', 'putting out my teeth', 'taking my medicine']
resp. "I should remind you of dish washing, putting out your teeth and taking your medicine."
"delete reminder pushing out my teesh" would erase them from the list. 😅

Those should be seperated from all time dependent reminders.

Intent not triggered or not correctly triggered with form "remind me at"

Three utterances that did not work as expected:
"remind me tonight at 5:30 p.m. to pick up the kids" -15 hours off another time ( failed to find date/time once, too even though the recognized utterance was the same)
"remind me at 5:30 p.m. tonight to pick up the kids" - found date time, but incorrect, 15 hours off
"remind me to perform pick up at 7" - not possible to set a reminder for the informed date and time

Log excerpt at pastebin: https://privatebin.net/?2c2dd8a00dd378fe#np8XBp2J8a8wBtNfHHZYwu6aSSmzKta3g0Yv8SYy/5s=

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.