Code Monkey home page Code Monkey logo

skill-ovos-naptime's Introduction

Naptime

Put the assistant to sleep when you don't want to be disturbed

About

Tell the assistant to sleep when you don't want to be disturbed in any way. This stops all calls to Speech to Text system, guaranteeing your voice won't be sent anywhere on an accidental activation.

When sleeping, the assistant will only listen locally for the wake word "Hey Mycroft, wake up". Otherwise the system will be totally silent and won't bother you.

On a Mark 1 this also dims the eyes.

Examples

  • "Go to sleep"
  • "Nap time"
  • "Wake up"

Credits

OpenVoiceOS (@OpenVoiceOS) Mycroft AI (@MycroftAI)

Category

Daily Configuration

Tags

#nap #naptime #sleep #donotdisturb #do-not-disturb

skill-ovos-naptime's People

Contributors

aleale99 avatar augustnmonteiro avatar e-gor avatar forslund avatar jarbasal avatar kathyreid avatar krisgesling avatar luke5sky avatar matthewscholefield avatar neondaniel avatar zelmon64 avatar

Watchers

 avatar  avatar

Forkers

denics puretryout

skill-ovos-naptime's Issues

[ENHANCEMENT] Schedule naptime

Per user requests, allow the ability to schedule regular naptimes (ex: overnight or during work hours)

Stretch goal: tie to a calendar event, although this may be too broad to be feasible right now

Rename of repo

Most of our skills follow another naming scheme; skill-ovos-naptime

Wakeword during naptime on Mark 1 still animates "listening" mouth

When I put the Mark 1 to sleep using this skill, it still displays the "listening" mouth animation when I say the wakeword. The sound doesn't go off and it doesn't do any transcription, but the animation keeps going.

UPDATE: After the first time with behavior above, Mark 1 wakes up and works as usual, but with audio muted.

Installing skill through OSM: invalid MD5 URL

osm install https://github.com/OpenVoiceOS/skill-ovos-naptime
2023-04-08 04:57:40.369 - OVOS - ovos_utils.process_utils:PIDLock:301 - INFO - Create PIDLock in: None
2023-04-08 04:57:40.791 - OVOS - ovos_config.models:load_local:96 - DEBUG - Configuration /usr/local/lib/python3.9/dist-packages/mycroft/configuration/mycroft.conf loaded
2023-04-08 04:57:40.966 - OVOS - ovos_config.models:load_local:96 - DEBUG - Configuration /etc/mycroft/mycroft.conf loaded
2023-04-08 04:57:41.142 - OVOS - ovos_config.models:load_local:96 - DEBUG - Configuration /home/ovos/.config/mycroft/web_cache.json loaded
2023-04-08 04:57:41.320 - OVOS - ovos_config.models:load_local:98 - DEBUG - Empty config found at: /home/ovos/.config/mycroft/mycroft.conf
2023-04-08 04:57:41.545 - OVOS - ovos_config.models:load_local:102 - DEBUG - Configuration '/etc/xdg/mycroft/mycroft.conf' not defined, skipping
2023-04-08 04:57:41.706 - OVOS - ovos_config.models:load_local:102 - DEBUG - Configuration '/home/ovos/.mycroft/mycroft.conf' not defined, skipping
2023-04-08 04:57:52.355 - OVOS - ovos_skills_manager.github:get_requirements_json:209 - DEBUG - No manifest file available
2023-04-08 04:57:52.734 - OVOS - ovos_skills_manager.github:get_requirements_json:219 - DEBUG - No python requirements file available
2023-04-08 04:57:53.082 - OVOS - ovos_skills_manager.github:get_requirements_json:226 - DEBUG - No skill requirements file available

Search Results:
    appstore - branch - url 
1 - unknown - v0.2.2 https://github.com/OpenVoiceOS/skill-ovos-naptime
0 - cancel installation

Select an option: 1
Do you want to install v0.2.2 https://github.com/OpenVoiceOS/skill-ovos-naptime ? [y/N]: y
2023-04-08 04:58:03.954 - OVOS - ovos_utils.skills:get_skills_folder:90 - WARNING - This reference is deprecated, use `ovos_utils.skills.locations.get_default_skill_dir
2023-04-08 04:58:03.959 - OVOS - ovos_skills_manager.skill_entry:install:327 - INFO - Installing skill: https://github.com/OpenVoiceOS/skill-ovos-naptime from branch: v0.2.2
2023-04-08 04:58:03.961 - OVOS - ovos_skills_manager.skill_entry:install:347 - INFO - Downloading https://github.com/OpenVoiceOS/skill-ovos-naptime
Traceback (most recent call last):
  File "/home/ovos/.local/bin/osm", line 8, in <module>
    sys.exit(osm_commands())
  File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.9/dist-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/home/ovos/.local/lib/python3.9/site-packages/ovos_skills_manager/commands.py", line 105, in install
    _install.install(method, skill, fuzzy, no_ignore_case, thresh, appstore, search,
  File "/home/ovos/.local/lib/python3.9/site-packages/ovos_skills_manager/scripts/install.py", line 96, in install
    skill.install(folder)
  File "/home/ovos/.local/lib/python3.9/site-packages/ovos_skills_manager/skill_entry.py", line 348, in install
    updated = self.download(folder)
  File "/home/ovos/.local/lib/python3.9/site-packages/ovos_skills_manager/skill_entry.py", line 302, in download
    return install_skill(url, folder, file, session=requests,
  File "/usr/local/lib/python3.9/dist-packages/ovos_skill_installer/__init__.py", line 177, in install_skill
    return install_skill_from_tar(url, folder, filename, md5_url,
  File "/usr/local/lib/python3.9/dist-packages/ovos_skill_installer/__init__.py", line 211, in install_skill_from_tar
    remote_md5, downloaded = get_remote_md5(md5_url, tar_url,
  File "/usr/local/lib/python3.9/dist-packages/ovos_skill_installer/__init__.py", line 150, in get_remote_md5
    raise ValueError('Invalid MD5 url: ' + md5_url)
ValueError: Invalid MD5 url: .md5

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.