Commit Graph

5223 Commits (sj201r5)

Author SHA1 Message Date
Chris Veilleux abab1e9bda Merge branch 'feature/mark-2' into feature/mark-2-boot
# Conflicts:
#	mycroft/client/enclosure/mark2/interface.py
2021-12-30 12:06:14 -06:00
Michael Hansen d2e9daf88e Disable skill reload check for performance 2021-12-29 20:41:18 -05:00
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 4c0b28e2e7 Revert "Make TTS queue a singleton (#3051)"
This reverts commit f99347c704.
2021-12-24 07:42:31 +09:30
Kris Gesling 95c85084c1 Revert "Fix TTS tests"
This reverts commit 983d3af9c5.
2021-12-24 07:41:59 +09:30
Kris Gesling 983d3af9c5 Fix TTS tests 2021-12-23 16:46:03 +09:30
Chris Veilleux 9a8ec95bbd improved documentation 2021-12-22 17:34:41 -06:00
Chris Veilleux 74dd0c991d improved documentation 2021-12-22 17:34:40 -06:00
Chris Veilleux efd5858616 Remove code that supported deprecated implementation of resting screen 2021-12-22 17:34:40 -06:00
Chris Veilleux 68f870dfe5 Initial implementation of an IdleDisplaySkill that extends MycroftSkill to provide an API for skills that will implement the idle screen functionality. 2021-12-22 17:34:39 -06:00
Michael Hansen b521cbf0e8 Disable audio ducking, use volume skill feature/mark-2 branch 2021-12-21 13:04:06 -05:00
ken-mycroft f99347c704
Make TTS queue a singleton (#3051) 2021-12-17 22:30:24 +09:30
Michael Hansen a3c272c5e7 Add run_background in Activity 2021-12-16 17:11:04 -05:00
Chris Veilleux ad391e8200 Add an event indicating the internet connection is ready for use 2021-12-16 15:25:01 -06:00
Michael Hansen cd95cf60f7 Network connect activity handles intermediary disconnect state 2021-12-15 15:45:08 -05:00
Michael Hansen 3c22bda38c Refactor and clean up code for wifi connect 2021-12-14 19:23:07 -05:00
Michael Hansen 3bf3c1a999 Merge branch 'feature/mark-2-boot' of https://github.com/MycroftAI/mycroft-core into feature/mark-2-boot 2021-12-14 12:05:42 -05:00
Michael Hansen dffcd5605f Use shared proc in awconnect server 2021-12-14 12:05:23 -05:00
Chris Veilleux e1dfb2c78e first skill update should not occur until a full interval after the boot sequence completes. 2021-12-13 23:11:35 -06:00
Chris Veilleux 4fa58d069c remove code that updated skills before they were loaded. 2021-12-13 23:03:09 -06:00
Chris Veilleux ba64ca08bf Merge branch 'feature/mark-2-boot' of https://github.com/MycroftAI/mycroft-core into feature/mark-2-boot
 Conflicts:
	mycroft/client/enclosure/mark2/interface.py
2021-12-13 17:08:53 -06:00
Chris Veilleux 986ba6a87d added new event handler for when the device has authenticated with the server. 2021-12-13 17:07:52 -06:00
Michael Hansen 5030da2cc8 Add event for user selecting access point in wifi setup 2021-12-13 11:18:07 -05:00
Michael Hansen 4e2afccf8b Add hotspot activity with socket to awconnect 2021-12-09 17:57:52 -05:00
Michael Hansen 19df425b0a Convert some activities to threaded 2021-12-09 17:56:30 -05:00
Michael Hansen 1211971557 Add threaded activity that blocks by default 2021-12-09 17:56:05 -05:00
Michael Hansen 56e6a4eb0f Add comment to network_utils 2021-12-09 17:55:32 -05:00
Michael Hansen 4159f9d646 Clear properties changed event in network connect 2021-12-08 15:48:54 -05:00
Michael Hansen a303177ed5 Check wifi/ethernet device states directly for connectivity 2021-12-08 15:17:56 -05:00
Michael Hansen 4ff744f1b4 Add dbus default settings to mycroft.conf 2021-12-08 12:03:59 -05:00
Michael Hansen 9e67748bea Use configuration for dbus address 2021-12-08 11:08:35 -05:00
Michael Hansen 46b02e25cc Make clock sync activity synchronous 2021-12-07 22:39:52 -05:00
Michael Hansen e16e9478e3 Add activity/__init__.py 2021-12-07 17:22:03 -05:00
Michael Hansen f0eb10d5ea Move some DBus code back into network_utils 2021-12-07 17:21:47 -05:00
Michael Hansen 8f0a5d65a4 timedatectl still failing in mark2 2021-12-07 16:28:12 -05:00
Michael Hansen 7fb2847d53 Merge branch 'feature/mark-2-boot' of https://github.com/MycroftAI/mycroft-core into feature/mark-2-boot 2021-12-07 15:18:57 -05:00
Michael Hansen 07c88b980d Add clock sync activity 2021-12-07 14:32:57 -05:00
Chris Veilleux 6e5f46cbac added a wait into the synchronize clock method 2021-12-07 13:27:51 -06:00
Michael Hansen d233fbd2a0 Merge branch 'feature/mark-2-boot' of https://github.com/MycroftAI/mycroft-core into feature/mark-2-boot 2021-12-07 14:12:58 -05:00
Michael Hansen 369dee5ec1 Add network/internet connect activities 2021-12-07 14:10:41 -05:00
Chris Veilleux ea5cf61361 Added a function to determine if time is synchronized via NTP and an activity in the enclosure service to leverage it. 2021-12-07 13:06:57 -06:00
Chris Veilleux 7f2d4bd25f Defining message bus event handlers before a message bus connection is established can cause errors. 2021-12-06 10:53:40 -06:00
Chris Veilleux 0eb5a1fc44 Fix a race condition when waiting for initialized services 2021-12-03 18:14:21 -06:00
Kris Gesling 294be08efc Prevent loss of data when migrating from latest to stable
The XDG migration code was replacing newer directories with
old blank ones.
2021-12-03 09:39:23 +09:30
Chris Veilleux 712110e17f Removed DevicePrimer class. All functionality moved to enclosure 2021-12-02 16:04:37 -06:00
Chris Veilleux 409fff9390 Removed if statement that checked for the existence of an enclosure. The create_enclosure() method always returns an instance of an Enclosure class 2021-12-02 16:04:37 -06:00
Chris Veilleux 9819dbf2f7 Logging improvements 2021-12-02 16:04:37 -06:00
Michael Hansen c49868905c Remove DEBUG log from mark2 connectivity check 2021-12-02 16:04:17 -06:00
Michael Hansen a296952efa Add network/internet polling thread to mark2
====  Tech Notes ====
Mark2 enclosure uses NetworkManager to poll for network/internet
connectivity.

On state change, outputs:
mycroft.network.connected
mycroft.network.disconnected
mycroft.internet.connected
mycroft.internet.disconnected

Every polling interval, outputs:
mycroft.network.state (data.state=connected/disconnected)
mycroft.internet.state (data.state=connected/disconnected)
2021-12-02 16:04:17 -06:00