mycroftai / skill-alarm Goto Github PK
View Code? Open in Web Editor NEWMycroft 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
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
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.
There's no way to cancel an alarm once it's been created
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.
~~~~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
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.
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
skill-alarm/vocab/ru-ru/daytype.entity
Could you delete ")" after (понедельник) in second line?
Currently the Alarm Skill directly manipulates the volume via ALSA. This should be done by emitting the relevant messages on the Mycroft Message bus so that each platform can handle the volume in its own specific way. At the very least this should be handled by the Volume Skill, not the Alarm Skill.
The volume control messages can be found at:
https://mycroft-ai.gitbook.io/docs/mycroft-technologies/mycroft-core/message-types#volume-control
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..
Without announcing the listening sound, catching when the listening is active to stop the alarm is difficult to figure out and thus it's hard to stop the alarm. I'd suggest making it the same as Timer skill where there's plenty of time in between buzzes.
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.
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.
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.
status of alarms
>> you have 2 active alarms, one for 1 p.m.. one for 1 p.m..
cancel my 1 p.m. alarm
>> you have {} alarms similar to that. which one are you referring too.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.