GithubHelp home page GithubHelp logo

mycroftai / skill-alarm Goto Github PK

View Code? Open in Web Editor NEW
14.0 11.0 33.0 1.97 MB

Mycroft AI official Alarm Skill - Set single and recurring alarms, with a choice of alarm sounds

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

License: Apache License 2.0

Python 69.62% Gherkin 19.95% QML 10.43%
alarm alarm-clock alarmclock mycroft mycroft-skill mycroftai hacktoberfest

skill-alarm's People

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  avatar

skill-alarm's Issues

"Delete all alarms" schedules an alarm

Easy to repro: Say "Hey Mycroft, delete all alarms"
Expected result: "You deleted X alarms"
Actual result: "Okay, setting a recurring delete all alarms alarm alarm noise"

Looks like a lot of stuff falls into the alarm creation code, since virtually all alarms in the system were the result of ambient conversaion.

None of these issues have been fixed?

Looks like nobody is owning these issues. I am not a programmer but I wish I was. It would have been working six months ago. Too much wasted time. Not to mention the embarrasment when the skills failed while I was vetting MyCroft to my wife! She actually laughed out loud- not impressed.

Long-term alarms get a weird response

I was attempting to set an alarm for the 18 october 2018, and although the alarm seems to have been set, the response I got "I've created an alarm for today at midnight, 30 days from now" seems a bit strange.

Setting an alarm for somewhere within the week is fine, as you can see on the screenshot.
I've spoken with Ake and Kathy on chat. Kathy asked me to create this issue.

strange_snipped

Alarm skill

When attempting to set an alarm today, using Picroft, for 1:00 PM today (while the current time was 11:59 AM local), Mycroft set the alarm for tomorrow at that time.
When asking Mycroft to cancel the alarm, the response was that the request was not understood.
When asking Mycroft "Are any alarms set?" the response was that the request was not understood.

Can't cancel alarm creation

I was trying to test the Mark 1 enclosure skill (it's stealing my brightness intents) and mycroft tried to set an alarm for me. Once he started asking for am/pm, I couldn't get out without giving one of those as an answer.

Iaw this on a Mark 1 first, and then used https://github.com/ChristopherRogers1991/mycroft-chatter on my desktop to generate the chat log below:

Me: set 50%
Mycroft: Should I set this for A.M. or P.M.?
Me: stop
Mycroft: Should I set this for A.M. or P.M.?
Me: cancel
Mycroft: Should I set this for A.M. or P.M.?
Me: am
Mycroft: Okay. Setting a 50% a.m. alarm
Mycroft: 50% a.m. alarm is up
Me: cancel
Mycroft: I'm sorry, I don't understand.
Me: cancel my alarm
Mycroft: I can not find an alarm set for 
Me: cancel my alarm at 50%
Mycroft: I can not find an alarm set for 
Me: list my alarms
Mycroft: I don't understand, but I'm learning new things everyday.
Me: when is my next alarm
Mycroft: It seems like you have no active alarms

Mycroft does not recognize skill

When asking Mycroft to set an alarm, Mycroft simply says that "I might want to say it differently" or a similar message (meaning the command is not recognized.)

Uninstalling/reinstalling the alarm skill does not solve the problem. I am using the Mycroft version available through the Ubuntu snap store, although the git install method produces the same issue.

ru-ru/daytype.entity

skill-alarm/vocab/ru-ru/daytype.entity

Could you delete ")" after (понедельник) in second line?

Can´t create alarm

~~~~oft_skill:on_error:835 | Bei der Verarbeitung der Anfrage ist ein Fehler im Skill Alarm Skill aufgetreten.Traceback (most recent call last):                                                                              
File "/home/pi/mycroft-core/mycroft/skills/mycroft_skill/event_container.py", line 66, in wrapper               
handler(message)                                                                                            
File "/opt/mycroft/skills/mycroft-alarm.mycroftai/__init__.py", line 394, in handle_set_alarm                   
today = today[0]                                                                                          
TypeError: 'NoneType' object is not subscriptable         

Alarm skill goes off but sound does not play

Linux Mint 19.3, core-dev, alarm skill's up to date.

I get a lot of this:

Playing MPEG stream 1 of 1: constant_beep.mp3 ...

MPEG 1.0 L III cbr128 44100 stereo

Title:   Digital Alarm Clock Sound Effect
Artist:  audioman5000
Album:   https://freesound.org/people/israra/sounds/434055/
Year:    20180121

[0:05] Decoding of constant_beep.mp3 finished.
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
        version 1.25.10; written and copyright by Michael Hipp and others
        free software (LGPL) without any warranty but with best wishes

but no audio.

Instructions for what logs to pull or etc. would be appreciated. I'm unfamiliar with the external utilities at play.

Weekdays alarm modifies its time by timezone hour offset after each alarm

Describe the bug
When I set an alarm for week days at 7am it goes as follows.

1st alarm: Works as intended goes off at 7am.
2nd alarm: Goes off at 2am.
3rd alarm: Goes off at 9pm.

This behavior was confusing to me until I realized my timezone is est(-5 hours) which does not seem like a coincidence since the alarm regresses by exactly 5 hours everytime.

To Reproduce
Set timezone to est in mycroft.conf
"Set an alarm for weekdays at 7 in the morning"
Wait for alarms to drift from target time.

Expected behavior
Alarm to go off at 7am every week day..

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.