Commit Graph

25 Commits (mark-ii/latest)

Author SHA1 Message Date
Kris Gesling a59002ac8e Autoformat 2021-12-28 17:18:43 +09:30
Kris Gesling d07886b284 Fix reporting of volume level 1
All volumes were being translated from range of 0-10
into a float. 1.0 was left assuming it was 100 but
this was a false assumption. Have added docstring to
make the expected argument explicit.
2021-12-28 17:18:20 +09:30
Kris Gesling 34ef8752ec Demote cpu temp and led log messages to debug 2021-08-17 15:41:58 +09:30
Kris Gesling 6d57b4a855 Remove Mark II specific deprecation notices.
These were being perceived by the community as mycroft-core deprecations
Ducking is required on other platforms so I think it's worth waiting to
see how we implement that before actually deprecating the methods.
2021-06-10 06:47:25 +09:30
Kris Gesling 9d23fad9e8 clean up non-error level logs 2021-05-11 14:17:53 +09:30
Ken Smith cac46ad1d6 fix for jira skill-207 2021-03-29 14:49:33 -04:00
Kris Gesling b1fb220858 Revert "update apt cache to allow Skill installation"
This reverts commit 9805fedd79.
2021-03-19 12:28:48 +09:30
Kris Gesling efee72549d auto-format 2021-03-09 22:04:18 +09:30
Kris Gesling 9805fedd79 update apt cache to allow Skill installation 2021-03-09 22:00:57 +09:30
Ken Smith 21c201c0f4 fix chase leds never stopping 2021-03-08 14:53:23 -05:00
Ken Smith c8a44c206d comply with new gui requirements 2021-03-01 17:14:37 -05:00
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 f2f024e315 addresses jira mk2-249, make capabilities queryable via the msg bus 2021-02-26 15:09:39 -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
Ken Smith b7a79f6634 add fan control 2021-02-15 14:07:06 -05:00
Ken Smith b94d5e5c58 fix audioservice bug and stop pulsing when stop detected 2021-02-11 16:09:38 -05:00
Ken Smith a22dd87dc1 scaffolding for led feedback around voice activity 2021-02-11 13: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 118c6f73c5 autopep8 2021-01-08 22:47:54 +09:30
Kris Gesling c25e51f0f3 trigger wifi or pairing once all services ready 2021-01-08 22:46:59 +09:30
Ken Smith e85c9cdbcb first version of the sj201 rev4 board 2020-12-09 14:30:12 -05:00
Ken Smith 08bad71192 extend base enclosure to support new hardware 2020-12-03 21:55:42 +11:00
Steve Penrod 1e5ff1392f Feedback from code review
Several small changes based on the code review feedback:
* Drop '_' from classes like Enclosure_Mark1
* Adopt Python 3 style for class definitions and don't explicitly list '(object)'
* Slightly better documentation
* Moved MycroftSkill.show_html() to SkillGUI, resulting in code like self.gui.show_page('Weather.qml')
* Renamed SkillGUI.__dict to SkillGUI.__session_data.  This better reflects the
  how values are accessed in the QML.
2018-12-05 01:40:43 -06:00
Steve Penrod 07bd6ef7af Code cleanup
Fixing PEP8 and such before merging into 'dev' branch.
2018-12-03 17:33:26 -06:00
Steve Penrod aede71db86 First pass at support for the Qt/QML display:
Enclosures
* Create a mechanism to instantiate unique Enclosure classes, depending on the platform found in the SYSTEM mycroft.conf
* Implement a generic Enclosure, which support the new GUI protocol
* Implement a Mark 1 Enclosure (expects the serial connection to an Arduino)
* Implement the start of a Mark II enclosure
* Implement a generic enclosure (no screen)
* Implement the GUI announcement and protocol basics

MycroftSkill
* Implement the basis of the GUI-controlling interfaces.  Namely:
  - MycroftSkill.show_text()
  - MycroftSkill.show_image()
  - MycroftSkill.show_html()
  - MycroftSkill.show_page()
  - MycroftSkill.gui to set values for page displays.

Configuration
* Add "gui_websocket" to the mycroft.config.py
2018-11-06 01:48:16 -06:00