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
Add Mozilla WebThings Gateway skill #1086
Add Mozilla WebThings Gateway skill #1086
Conversation
Hi James, Thanks for submitting your first Skill! 🎉 To be included in the Marketplace the Skill goes through three reviews by our Skill Testing Team. You can read more about these reviews and the overall Skills Acceptance Process here: https://mycroft.ai/documentation/skills/skills-acceptance-process/ Also I had a quick look at the failing integration test and it seems to be an unrelated issue. I'll re-run this later. If you have push any updates in the meantime be sure to run Looking forward to trying this out 🙂 |
Run test |
Any updates on testing and publication of this skill? |
Hi Kathy, we've been focused on the 19.08 release lately - which has now been released 🎉 So I'll give the Skill Testing Team a nudge and see if we can get this moving quickly 🙂 |
Meta
0. Automated testsAre all automated tests passing?
1. Code Review - secure and stable
2. Information Review - accurate and understandableThis review checks the README for completeness - does it follow the README template and include all the relevant sections such as Intents, known issues, dependencies and so on?
Action required: please add an appropriate license to your Skill's repository. 3. Functional Review - intuitive and expected
Check that the Skill installs using voice commands. Mycroft will get the user to confirm which Skill should be installed if there is ambiguity in Skill names - such as duplicate names. If possible, name the Skill so that there is minimal duplication and/or conflict. You should also verify that the Skill name can be verbally pronounced by speaking the Skill name into the Mycroft command line several times, and reading the resulting transcriptions. Suggest alternative Skill names if it is difficult to verbally pronounce the Skill name. Please provide confirmation that the Skill was successfully installed and by what means (voice or
Check the Sometimes the
Skill FunctionsFor each function of the Skill add a new checkbox with the utterance used to invoke the functionality. Confirm the output and behaviour of each. If any setup is required to perform these tests please indicate this directly before the test is described.
It seems that the intent currently requires a After setting
This may be simply that the LIFX plugin doesn't yet support dimming/brightening?
SummaryThanks for this excellent Skill. I've been meaning to take some time to checkout the WebThings Gateway and was definitely not disappointed - so quick and easy to get up and running! There are a couple of small things that we need to address before we can add this to the Marketplace. I've also noted a few things to consider for future updates but they will not prevent the Skill from being accepted. Actions required:
Suggestions:
Once you have completed any updates, you can update this pull request by re-running: |
03ac07a
to
652c654
Compare
run test |
Hi James, thanks for making those updates. I see now that dimming is meant to include a percentage to dim, wondering if we can add this to the example utterances in the README, as these get parsed and displayed as example utterances in the Marketplace. I'll also look into what's happening with our integration tests but that's certainly not being caused by this Skill, so we can override that. |
652c654
to
4e29b1c
Compare
4e29b1c
to
871e364
Compare
@krisgesling Thanks for the update! Sorry for the delay, I've updated the "dim" example to include a percentage. |
Thanks James, The failing test is unrelated to your Skill, so have overridden that for this PR. |
Hi @krisgesling, I have set up a Picroft but don't see this skill in the Skills Marketplace at https://market.mycroft.ai/skills I was able to install it on the command line, but it didn't appear in the web interface to enable me to configure it. Are there any more actions on our side needed to get this live and configurable? Thanks |
Hi Ben, Thanks for flagging it, we've resolved the issue and it's now displaying in the Marketplace. You can also install the Skill by saying "Hey Mycroft, install Mozilla web things gateway". |
Hi @krisgesling, Thanks very much for fixing that. I am now able to install and configure the skill via the web interface. However, I'm finding that none of the voice commands work due to a bug WebThingsIO/gateway#1624 (comment) We're trying to figure out what's causing this bug. Is it possible that the integer constants which are passed to |
Hey Ben, these are set to not expire, so shouldn't change unless we receive a request to do so. In the linked issue, I couldn't see the ValueError you mentioned in the logs you posted, do you still have those logs? Would be good to see the ouput. |
@krisgesling wrote:
Good to know, thanks.
The ValueError exception didn't appear in the logs, I only managed to figure out that it was being thrown by adding lots of print statements to the code. Is there any more information I can get you that would help diagnose the problem? |
Name of your skill: Mozilla WebThings Gateway
Description:
Enables control of a Mozilla WebThings Gateway. This includes simple IoT functions like turning on and off lights connected to the gateway.
Checklist:
There are currently no automated tests since meaningful automated tests would require mocking the OAuth process which would be very difficult