Coder Social home page Coder Social logo

mycroftai / mycroft-mark-1 Goto Github PK

View Code? Open in Web Editor NEW
4.0 9.0 16.0 160 KB

Mycroft AI official Mark 1 Skill - control the Mark 1 enclosure

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

License: Apache License 2.0

Python 99.11% Gherkin 0.89%
mycroft mycroftai mycroft-skill mycroft-mark-1

mycroft-mark-1's Introduction

Mycroft Mark 1

Customize your Mark 1

About

The Mycroft Mark 1 has several unique capabilities which this Skill lets you control.

Eye Color

The Mark 1 has beautiful eyes -- and you get to pick their color! Set them to a named color ("blue", "magenta", "teal", etc) or any color using RGB values. Pleas see the color list for more options

Faceplate Brightness

Set the faceplate to a specific brightness, or allow it to automatically adjust its brightness level to dim at night.

Examples

  • "Set your eye color to pink"
  • "Change your eye color to the default"
  • "Set a custom eye color" (you'll be prompted for values)
  • "Turn on auto brightness"
  • "Change to low brightness"
  • "Dim to 50%"

Credits

Mycroft AI (@MycroftAI)

Supported Devices

platform_mark1

Category

Configuration

Tags

#mark1 #configuration #settings #system

mycroft-mark-1's People

Contributors

chrisveilleux avatar devs-mycroft avatar domcross avatar forslund avatar joshua-montgomery avatar kathyreid avatar krisgesling avatar learnedvector avatar luke5sky avatar matthewscholefield avatar sicoe avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mycroft-mark-1's Issues

Eye color does not persist without double saving

This feature worked on my Mark I prior to version 18.2, but since it has not worked. When I tell Mycroft to change his eye color, it changes temporarily and after a minute or so changes back to the previous color. The only way to get it to stay permanently is to tell Mycroft to change it and then log into home.mycroft.ai and set it on the form and save it. Sometimes I have to do this multiple times because there must be some race condition and I end up losing when it changes back.

'Hey Mycroft, set brightness to auto' Utterance throws error

Speaking Hey Mycroft, set brightness to auto triggers an error in the handle_auto_brightness Intent.
Tested on Mark 1 running stable 18.2.10 on Tuesday, July 17, 2018.

16:44:35.187 - SKILLS - DEBUG - {"context": {"ident": "1531759471.51273541938234267", "client_name": "mycroft_listener"}, "data": {"name": "Mark1.handle_auto_brightness"}, "type": "mycroft.skill.handler.start"}
16:44:35.219 - mycroft.skills.core:wrapper:601 - ERROR - An error occurred while processing a request in Mark1
16:44:35.237 - SKILLS - DEBUG - {"context": {"ident": "1531759471.51273541938234267", "client_name": "mycroft_listener"}, "data": {"expect_response": false, "utterance": "An error occurred while processing a request in Mark1"}, "type": "speak"}
16:44:35.241 - SKILLS - DEBUG - {"context": {"ident": "1531759471.51273541938234267", "client_name": "mycroft_listener"}, "data": {"exception": "AttributeError(\"'dict' object has no attribute 'iteritems'\",)", "name": "Mark1.handle_auto_brightness"}, "type": "mycroft.skill.handler.complete"}

Eye brightness intent too aggressive

Tested on a fully up-to-date Mark 1, running version 18.2.0

I'm trying to control the brightness of my lights using https://github.com/ChristopherRogers1991/mycroft-hue, and this skill seems to steal an awful lot of the intents:

  • Set the lights to 50%
  • Set the lamp to 50%
  • Turn the lights to 50%
  • Set the lamp to 100
  • Set the bedroom lights to 20%

Flagging this here, though this may ultimately require intent parser tuning. Whatever the cause/ultimate solution, this skill seems way too aggressive, especially by the time group names (e.g. lamp and bedroom) are mixed in (all group names from the hub are registered as entities, along with the word 'lights', as is a regex pattern for numbers/percentages, so these are about as specific as I can be).

Utterance 'lawn green' consistently interpreted as 'lorne greene'

STT: Default - Google STT
Accent: Native Engish Speaker, Australian accent

The phrase set color to lawn green is consistently misinterpreted as set color to lorne greene.
I've tried editing the color.entity file to change lawn green to lorne greene to see if this works, but it doesn't unfortunately.

10:34:53.255 - SKILLS - DEBUG - {"data": {"lang": "en-US", "skill_id": 554066949, "utterances": ["set color to lorne greene"]}, "type": "skill.converse.request", "context": null}
10:34:53.368 - SKILLS - DEBUG - {"data": {"lang": "en-US", "utterance": "set color to lorne greene"}, "type": "intent_failure", "context": {"client_name": "mycroft_listener", "ident": "1523874888.65206549595"}}

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.