New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mycroft Skill #1624
Comments
Would this be about installing MyCroft on the Pi? If so, there is already a local voice control option? As far as I can tell this add-on is built by someone at Mozilla. Perhaps its wise to just focus on making that work well for version 1.0? |
In my mind, this issue is best addressed by creating a new repository for a Mycroft Skill which is generic and can handle any Web Thing. The gateway can then expose connected things (as in the name "gateway"). |
Sorry for not responding to this earlier. I typed up a reply but it's lost somewhere in my forest of tabs. A skill for generic webthing control would be very compelling and interesting but would also require reimplementing the discovery and WoT API parts of the gateway in python. At least for now the goal for this skill is just to demonstrate that the gateway can be easily controlled by a third party service. |
@hobinjk @benfrancis @kgiori Do we have any status on this? It's been a while. |
90% sure the only remaining item for the first review is for me to update the Mycroft skill's recommended commands list then we only need two more reviews |
MycroftAI/mycroft-skills#1086 is where the work for this is taking place |
Thanks for the update! |
Actually, it looks like that PR was just merged. Does that mean we officially have a Mycroft skill now?? |
@hobinjk I set up Picroft but I can't see our skill at https://market.mycroft.ai/skills Are you aware of any further steps that need taking? |
I think it'll take a bit to show up in the web interface because there are other less recent skill changes that haven't show up yet. |
Good news: The skill is now live and I successfully managed to authenticate it with my gateway using the configuration UI Bad news: Currently all voice commands I try cause the spoken response "An error occurred when processing request in Mozilla IoT gateway" |
@hobinjk Do you have any tips on debugging this? |
I think a more verbose error should show up in mycroft-cli-client |
Here is the string of exceptions I see in mycroft-cli-client:
|
It seems to be trying to access gateway.local but my gateway's hostname is set to webthings.local. If I change it to gateway.local I get a different error message:
|
I assume you'll need to use your full domain ( |
@hobinjk: Do you have any idea what might be going on here by any chance? |
To me the most likely thing would be that you're using an out-of-date version of the skill that was manually cloned from an earlier point since there used to be a bug where it always went to gateway.local. You can also add |
Thanks for that tip @hobinjk ! I've verified that it is the latest version and after adding print statements everywhere (!) I've discovered the problem is with getting the host from the oauth token. It's throwing a Do you have any idea what might be causing that? I was also wondering where those hard coded integers come from which are passed to |
The hardcoded integers are references to a database of skills on Mycroft's end so Åke would know if they need changing. It's possible that the request in get_oauth_token is returning something unparsable due to something messing with the connection to the mycroft API but that feels less likely |
Hi! Rando half-competent Mycroft contributor here, just skimming the file. Have you confirmed that |
Interesting. From what I understand, any future voice control will have to work like Voco in that it handles all logic in the add-on itself, and will just call the API? So if there is a desire for voice control via MyCroft, someone will have to create a Mycroft add-on that handles everything internally? |
There is already a Mycroft skill available, but it currently uses the commands API. Mycroft is working on a rewrite of the skill, to hopefully be done before the 0.12 release when the commands API disappears. |
That's great! |
Hello, I'll be (one of) the peeps taking a crack and re-writing this skill to work on the new version. Let me know if you have any questions(or tips!) |
@im-strongthany Please ask away if you run into any snags, or just need some pointers. I’m also on Matrix, in #iot:mozilla.org (https://chat.mozilla.org). |
@im-strongthany How are things progressing? We're planning to release 0.12 in a few weeks, which will drop the commands API that the skill currently uses, so I wanted to make sure you're on the right path. |
Is anyone still working on this? I'm just a lost soul building around Mycroft and wondering if WebThings is still planning on supporting Mycroft (or vice versa) |
Not that I know of. Have you tried the Voco addon? |
If I wouldn't find this, I would open an issue. I bought some Mycroft during Kickstarter and I would like to use it to manage the devices using WebThings appliance as hub. |
As a user I want to control my smart home using the Mycroft voice assistant.
The text was updated successfully, but these errors were encountered: