Commit Graph

334 Commits (f9ebb5ef63acef805e0114fd5adda7f137eda58e)

Author SHA1 Message Date
Åke Forslund a1d7fa79db Fix silent mycroft when config lacks enclosure/platform 2017-01-23 18:04:45 +01:00
Steve Penrod b64c4ecfe6 Fixes issue #466 (#467)
This is a bit of a hack for Picroft.  The analog audio on a Pi blocks
for 30 seconds fairly often, so we don't want to break on periods
(decreasing the chance of encountering the block).  But we will
keep the split for non-Picroft installs since it give user feedback
faster on longer phrases.
2017-01-20 16:17:24 -06:00
Åke 9d9ab7b826 Test allow test to finsh immediately (#453)
Add cleanup procedure to skills:
MycroftSkill cleanup does nothing, ScheduledSkill will cancel running timers to make sure it's not blocking termination.

Tests updated to use this allowing unit test to exit after completion.
2017-01-20 15:50:00 -06:00
Steve Penrod 746bc0bd88 Fixes issue #461 (#462)
Changed the default network timeout to just over 3 seconds to establish the connection, then 15 seconds for all reads.  These values are as per the suggestion of http://docs.python-requests.org/en/master/user/advanced/.
2017-01-20 15:49:23 -06:00
Steve Penrod 84b9f92593 Fix related to issue #457 (#463)
The bug was actually fixed by doing a rebase, catching hotfixes which were missing from the dev branch.

The bug exposed this line of code, which was throwing an error without the quotes on the parameter to ping.
2017-01-20 15:40:31 -06:00
Åke 2a9bc7bda2 gTTS version bump (#454)
* upgrading gTTS

	- using play_mp3 to play mp3 files

Conflicts:
	mycroft/tts/google_tts.py

* Update gTTS version

* default to 'us-en' if lang is omitted

* Fix multiple sentence speech.

Wait until audio has been played before exiting `GoogleTTS.execute()`
2017-01-20 15:21:03 -06:00
Augusto Monteiro 29fc90cce1 Issues 401 - Adding log on pairing skill 2017-01-18 16:41:48 -03:00
Augusto Monteiro 63326a93c5 Issues 401 - Saying zero instead of oh 2017-01-18 16:41:48 -03:00
Ethan Ward 451f0f5195 Update for pep8 2017-01-18 16:41:48 -03:00
Ethan Ward 93893f3473 Update skills system to load from subfolders 2017-01-18 16:41:48 -03:00
Ethan Ward c4bc2ea161 Update to fix pep8 errors (#420) 2017-01-18 16:41:48 -03:00
Arron Atchison 04cc555eb2 Update version.txt 2016-12-28 18:11:52 -06:00
Steve Penrod 0ecc736829 Fixes issue #434. Developers working on both Cerberus and Home durin… (#435)
* Fixes issue #434.  Developers working on both Cerberus and Home during the transition would have to re-pair.

Also bumping enclosure client version.

* Correcting error from when Tarturus code was merged.  At startup it was calling Enclosure.system_reset(), which rebooted the Arduino, instead of implementing Enclosure.reset(), which sets the UI to a "ready for input" state.

While in here, I also added docstrings for all Enclosure API methods.

* Increment Arduino code version

* Adding a call to reset the face UI when the enclosure service starts up.  This is needed because the enclosure.reset that is posted by the speech service on the messagebus sometimes occurs before the enclosure client is up and listening for it -- especially if there is a Arduino firmware upgrade.

In the future, we may want to consider a core service roll-call that gets triggered whenever any of the core services come up.

* Update dev_setup.sh
2016-12-28 15:00:03 -06:00
Arron Atchison c4257d226c removed arduino update and test classe from enclosure client (#430) 2016-12-21 16:44:05 -06:00
Jonathan D'Orleans 11d78a55b8 Issues 426 - TTS web socket is not initialized properly
- Initialize tts ws and enclosure at the main process

Note:
- This is a minimal change to fix the problem.
- The ultimate goal is to have a totally isolated TTS process which requires its own main and ws initialization to be developed soon.
2016-12-21 00:18:25 -05:00
Arron Atchison 2252966dda Issue #423 Register Me button in wifi-setup-client now points to home.mycroft.ai (#424)
* the Register Me button now points to home.mycroft.ai

* the Register Me button now points to home.mycroft.ai
2016-12-20 23:10:26 -06:00
penrods 6b7a514cdb Fix for issue #416
Type on mycroft.conf had set both min and max volume to 100.
2016-12-20 14:18:14 -06:00
Arron Atchison bfac4a4245 alter websocket port and path in wifi-client setup Config.js (#412) 2016-12-19 18:26:50 -06:00
Jonathan D'Orleans 2503fb1450 Issues 351 - Tartarus Integration
- Stopping enclosure in case of incompatibility with Mark 1
- Preventing stop to be called twice in enclosure and wifi processes
2016-12-17 17:57:58 -05:00
Jonathan D'Orleans 99ff4e3ce8 Issues 351 - Tartarus Integration
- Master rebase
- Renaming Websocket variable from client to ws
- Resetting enclosure when ws open
- Formatting pairing skill
2016-12-17 14:53:22 -05:00
Augusto Monteiro eff50a5135 Issues 395 - Refactoring configurationSkill and adding log on mycroftSkill 2016-12-17 10:27:01 -05:00
Augusto Monteiro 9f6ecda338 Issues 395 - Creating not.paired event 2016-12-17 10:27:01 -05:00
Augusto Monteiro 657123577d Issues 395 - Creating configuration skill to sync tartarus 2016-12-17 10:27:01 -05:00
Augusto Monteiro 4a6651781f Issues 397 - Renaming remove_https to get_http 2016-12-17 10:27:01 -05:00
Augusto Monteiro 027413b521 Issues 397 - Removing https from mp3 or wav url to play news 2016-12-17 10:27:01 -05:00
Augusto Monteiro 4b0a65597c Issues 391 - Refactoring VersionManager 2016-12-17 10:27:01 -05:00
Augusto Monteiro 66e63e5616 Issues 391 - Refactoring VersionManager 2016-12-17 10:27:01 -05:00
Augusto Monteiro 56456090be Issues 391 - Sending core and enclosure version to tartarus 2016-12-17 10:27:01 -05:00
Arron Atchison 02de42f1f5 added "home dot mycroft dot ai" to both pairing dialogs 2016-12-17 10:27:01 -05:00
Arron Atchison 6d871f3a1b Changing pairing dialog to speak " home dot mycroft dot ai " 2016-12-17 10:27:01 -05:00
Jonathan D'Orleans d80e83d575 Issues 350 - Formatting date and time 2016-12-17 10:27:01 -05:00
Jonathan D'Orleans 416191e598 Issues 350 - Synchronizing local and remote configuration 2016-12-17 10:27:01 -05:00
Jonathan D'Orleans 1ed5496676 Issues 350 - Updating listener identity after pairing 2016-12-17 10:27:01 -05:00
Jonathan D'Orleans a5d8b6112b Issues 350 - Ensuring repairing process 2016-12-17 10:27:01 -05:00
Jonathan D'Orleans f781e1db02 Issues 350 - Ensuring Listener has sampleRate and channels settings 2016-12-17 10:27:01 -05:00
Matheus Lima 1a1599147f Issues 383 - Adding limit parameter to Google STT Integration 2016-12-17 10:27:01 -05:00
Augusto Monteiro cc85acf6b7 Issues 380 - Setting expiration to 0 if doesn't has value 2016-12-17 10:27:01 -05:00
Augusto Monteiro ce7c385bfd Issues 380 - Creating method on DeviceIdentity to check if is expired 2016-12-17 10:27:01 -05:00
Augusto Monteiro 10931a8649 Issues 380 - Implemeting refresh token 2016-12-17 10:27:01 -05:00
Jonathan D'Orleans fe8bb4e778 Issues 356 - Updating enclosure and wifi to use new event data format 2016-12-17 10:27:01 -05:00
Jonathan D'Orleans d8308470d2 Issues 356 - Checking button press signal during visime loop in mimic 2016-12-17 10:27:01 -05:00
Jonathan D'Orleans 634bef3f8c Issues 356 - Updating enclosure flags 2016-12-17 10:27:01 -05:00
Jonathan D'Orleans 558425b27d Issues 356 - Configuring wifi setup 2016-12-17 10:27:01 -05:00
Jonathan D'Orleans d444bdbe4c Issues 356 - Emitting paired event 2016-12-17 10:16:29 -05:00
Jonathan D'Orleans 2d68741a45 Issues 356 - Renaming cli.py to main.py 2016-12-17 10:16:29 -05:00
Jonathan D'Orleans bf9d29ab67 Issues 356 - Adding STT multi credentials support and fixing proxy flag type 2016-12-17 10:16:29 -05:00
Jonathan D'Orleans 98aa95434b Issues 356 - Sending flac data to mycroft stt instead of frames 2016-12-17 10:16:29 -05:00
Jonathan D'Orleans 9e0c614a47 Issues 356 - Ensuring str type for STT credentials 2016-12-17 10:16:29 -05:00
Jonathan D'Orleans 58ba7f2558 Issues 356 - Tartarus integration
- Adding proxy flag to be used in WA and OWM skill
- Integrating Tartarus login session
- Refactoring OWM to use Tartarus api and removing owm repackaging
- Fixing WA data response
2016-12-17 10:16:29 -05:00
Jonathan D'Orleans f43d38dae7 Issues 356 - Adding get_data for Api response so it can overrided 2016-12-17 10:16:29 -05:00