Commit Graph

52 Commits (mark-ii/latest)

Author SHA1 Message Date
ken-mycroft 67dc0d81df fix minor bug 2022-11-14 13:46:46 -05:00
Kris Gesling be45edb54f autoformat 2021-12-01 09:32:24 +09:30
Kris Gesling d26201d978 Release GUI on Skill shutdown or reload 2021-08-17 16:40:05 +09:30
Kris Gesling 2c598fd96b Merge branch 'dev' into feature/mark-2 2021-06-15 12:01:18 +09:30
Kris Gesling e75a05557b docstring cleanup 2021-05-11 15:10:32 +09:30
Ken Smith 74285be60b fix hardware-mycroft-mark-II/issues/62 2021-04-27 12:55:10 -04:00
Kris Gesling b29fe8aeed auto pep8 2021-03-01 12:59:26 +09:30
Kris Gesling 1f30fe7016 switch volume up and down buttons 2021-03-01 12:57:49 +09:30
Kris Gesling 0acc95113f nudge max volume up a little 2021-02-27 15:55:00 +09:30
Ken Smith 893dbe6080 fix volume display bug, try to use palette object rather than hard coded values, change red warning to burnt orange and make reserved led show one of four temperature ranges 2021-02-26 16:10:50 -05:00
Ken Smith a1035cf3d2 fix mute mic led bring up bug and fix sync between buttons and volume skill and added an async volume update message so the gui can pick it up 2021-02-26 14:06:10 -05:00
Chris Veilleux 6ed674bd3e Merge remote-tracking branch 'origin/dev' into feature/mark-2
# Conflicts:
#	mycroft/audio/__main__.py
#	mycroft/client/speech/__main__.py
#	mycroft/skills/__main__.py
#	mycroft/util/process_utils.py
2021-02-26 11:49:30 -06:00
Ken Smith ba01f1d507 fix comments 2021-02-15 14:30:31 -05:00
Ken Smith b7a79f6634 add fan control 2021-02-15 14:07:06 -05:00
Ken Smith 289f229630 synchronize volume between skill and switches, fix mute led bring up issue and fix color palette 2021-02-05 13:47:27 -05:00
Kris Gesling bfe2b59f90 Add get method for accessing GUI values 2021-02-04 16:12:22 +09:30
Kris Gesling 3b4a3e709b fix missing MAX_VOL 2021-02-02 16:33:50 +09:30
Kris Gesling e2fbda6701 auto pep8 2021-01-30 08:54:44 +09:30
Kris Gesling e645409837 reduce max volume 2021-01-30 08:53:45 +09:30
Aditya Mehra 0cbf36cd8e do not clear the namespace on every page / data send 2021-01-21 17:33:53 +05:30
Kris Gesling 5e9b1ac24b
Merge pull request #2801 from MycroftAI/bugfix/mimic2-cache-dir
Bugfix/mimic2 cache dir
2021-01-15 11:43:04 +09:30
Kris Gesling fd5c8bb5e3 Merge branch 'dev' into feature/mark-2 2020-12-29 14:31:09 +09:30
Aditya Mehra 89a07d05ab Add missing remove page implementation and show idle if all pages removed 2020-12-18 12:52:44 +05:30
Ken Smith 16f31b5283 testing potential fix 2020-12-12 13:39:50 -05:00
Ken Smith 59be2f69b8 handle bug in xmos bring up sequence 2020-12-11 22:54:41 -05:00
Ken Smith 8746172d57 fix xmos chip bring up issue 2020-12-11 14:17:17 -05:00
Ken Smith e85c9cdbcb first version of the sj201 rev4 board 2020-12-09 14:30:12 -05:00
Kris Gesling 8ad4875f6d put vfctrl_usb on $PATH 2020-12-08 17:12:00 +09:30
Ken Smith 08bad71192 extend base enclosure to support new hardware 2020-12-03 21:55:42 +11:00
Åke 259d24396b
Merge pull request #2769 from MycroftAI/feature/gui-clear-docstring
Clarify that gui.clear does not close a Skill
2020-12-01 20:41:43 +01:00
Kris Gesling 35c1a90d73 Clarify that gui.clear does not close a Skill 2020-12-01 22:43:03 +11:00
jarbasal 778de9a8b3 self.gui.release() 2020-11-21 17:51:14 +00:00
JarbasAI 4d3cd33d4a
Feat/self.gui.connected (#2682)
* expose gui connection status

* gui.status.request.response

Co-authored-by: jarbasal <jarbasai@mailfence.com>
2020-09-16 17:02:46 +09:30
Aditya 4d8cd10b31 fix pep8 errors 2020-08-12 22:03:38 +05:30
Aditya 61611ea6e2 allow override for platform skill animations 2020-08-12 21:29:49 +05:30
jarbasal 6d3b9cda25 pep8 2020-06-14 22:55:33 +01:00
jarbasal 007f636946 self.gui.show_animated_image 2020-06-14 22:52:59 +01:00
jarbasal 9d712a898f Update docstrings 2020-03-30 12:05:58 +02:00
jarbasal efc9af558a Read mark1 eye color 2020-03-30 12:05:49 +02:00
jarbasal 0533ab0d2a Correct docstring for enclosure api eyes_fill 2020-02-15 16:33:49 +01:00
Jarbas-Core d16964c580 bus message targetting 2020-02-15 12:37:25 +01:00
Åke Forslund d4a7193fe8 Remove circular reference during skill shutdown
This cleans up the extra skills references making the ref count trigger
correctly.
2019-10-31 09:38:46 +01:00
Åke 5eba242487
Merge pull request #2221 from forslund/refactor/split-skills-core
Split mycroft.skills.core
2019-07-26 08:54:26 +02:00
Åke Forslund 0689f60747 remove "is True" check 2019-07-22 09:25:49 +02:00
Åke Forslund 5dc8802146 Look over docstrings.
Update docstrings of the files affected by this reoriganization.
- PEP 257
- Add missing
2019-07-22 09:16:53 +02:00
Åke Forslund b7b5e9bfcb Refactor mycroft.skills.core
- MycroftSkill and related core functions to mycroft_skill.py
- FallbackSkill to fallback_skill.py
- Add important classes decorators and functions to __init__.py
- move SkillGUI class to the enclosure along with the other enclosure
  interfaces

core.py retains the same members as previously by means of imports to
retain backwards compatibility. When most of the available skills starts
using this new structure properly
2019-07-22 06:46:31 +02:00
Chris Veilleux d8f3095d40 Rename the message bus client and abstract config loading
Message bus config loading is now shared by service and client.

messagebus.client.ws file is still available in case skills are using it. It is a backport that inherits from the new MessageBusClient class. Adds depreciation warning.
2019-07-19 08:16:54 +02:00
Åke ba24cc3d78 Feature/remove old viseme system (#2000)
* Remove the old single viseme message

Instead a single viseme message is sent

* Correct the spelling of viseme.

Ref: https://en.wikipedia.org/wiki/Viseme

* Remove debug print.

This was probably left in by mistake, removing to clean up the audio log somewhat.
2019-02-17 23:54:59 -06:00
Åke 267c7bf571 Single viseme message (#1973)
* Add new api command to send visemes as single list.  This allows more efficient use of the messagebus and gives implementors flexibility in how they handle the visualization.

* Switch mark1 to use viseme_list
2019-01-31 00:37:55 -06:00
Åke Forslund 38701a9790 Remove inheritance from object
Inheriting from object isn't necessary in python3.
2019-01-11 09:24:21 +01:00