Commit Graph

65 Commits (mark-ii/log-rotation)

Author SHA1 Message Date
Michael Hansen aa72f6420d Detect captive portal page, show browser in wifi connect skill 2022-03-01 22:03:41 +00:00
Michael Hansen 19dc7d756e Add "mycroft.network-ready" message to mirror "mycroft.internet-ready" 2022-02-28 21:58:19 +00:00
Michael Hansen 37cfda968d Track activity id for chase LED animation again 2022-02-25 20:14:23 +00:00
Michael Hansen 07c23bdf65 Always stop chase animation for LEDs 2022-02-18 21:37:01 -05:00
Michael Hansen 55551bf92a Don't clear activity id when starting recording 2022-02-17 18:56:13 +00:00
Michael Hansen 90ce04bd7d Stop LEDs on empty activity id 2022-02-17 15:34:07 +00:00
Michael Hansen edc4413e97 Add screen dimming for Mark II 2022-02-16 21:30:30 +00:00
Michael Hansen 46eed3f559 Handle TTS and LEDs with nested activities 2022-02-15 16:03:36 +00:00
Michael Hansen c81c02977f Need to do clock synchronize before internet detection too 2022-01-31 17:14:08 +00:00
Michael Hansen 5c07e59613 Use record_begin instead of wakeword
Always emit mycroft.mic.listen in get_response
2022-01-21 19:12:02 +00:00
Michael Hansen a80c25e5cb Prototype activity started/ended functions for skills 2022-01-17 17:28:06 +00:00
Michael Hansen f9d9ccf3e8 Cue pulse animation on wakeword recognized 2022-01-15 20:49:10 +00:00
Michael Hansen 4b5dbb4d0a Avoid stopping pulse animation during chase 2022-01-13 20:53:03 +00:00
Michael Hansen a1de8d070b Clean up LED animations in enclosure 2022-01-12 23:36:35 +00:00
Michael Hansen 6edb5d2c47 Merge branch 'mark-ii/qa' of https://github.com/MycroftAI/mycroft-core into mark-ii/qa 2022-01-11 18:54:32 -05:00
Michael Hansen 564cdb2890 Separate LED animations in enclosure 2022-01-11 18:54:26 -05:00
Chris Veilleux 235bd0c9ef move GUI specific code out from the base enclosure class and refactor. 2022-01-10 17:12:00 -06:00
Michael Hansen d9872c232e Fix merge issue 2021-12-31 12:39:55 -05:00
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
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
Michael Hansen b521cbf0e8 Disable audio ducking, use volume skill feature/mark-2 branch 2021-12-21 13:04:06 -05:00
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
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 a303177ed5 Check wifi/ethernet device states directly for connectivity 2021-12-08 15:17:56 -05:00
Michael Hansen 07c88b980d Add clock sync activity 2021-12-07 14:32:57 -05: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
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
Chris Veilleux 0328043f7c Added log messages, changed mycroft.ready to mycroft.started and added handler for mycroft.started 2021-12-02 13:09:21 -06:00
Chris Veilleux 982b79482c move enclosure logic from skill service to enclosure service 2021-11-30 15:44:09 -06:00
Chris Veilleux 53ffd737a0 move some steps in the startup sequence so that the message bus connection is established as early as possible. this will facilitate status updates occurring as soon as possible as well. 2021-11-30 15:40:40 -06:00
Chris Veilleux ef7009dfbc PEP8 refactoring 2021-11-30 15:40:40 -06:00
Chris Veilleux 3d26fa9ada Add service ready event and improve logic to determine if device is ready. 2021-11-30 15:40:27 -06:00
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