jamesmf / mycroft-mozilla-iot-skill

CommonIoT Implementation for interacting with Mozilla IoT Gateway from Mycroft
GNU Lesser General Public License v3.0
2 stars 3 forks source link

Skill not able to interact with MioT connected devices #3

Closed 5trongthany closed 4 years ago

5trongthany commented 4 years ago

Here's some logs from when I try to invoke it, trying to turn on a wemo switch that's named "Fan"

pi@mark_1:~/skills/mycroft-mozilla-iot-skill.jamesmf $ tail -f /var/log/mycroft/skills.log
Removing event fallback-query.mycroftai:QuestionQueryTimeout
Removing event fallback-query.mycroftai:QuestionQueryTimeout
2020-09-11 03:28:45.234 | INFO     |   853 | QuestionsAnswersSkill | Timeout occured check responses
Removing event mycroft-mark-1.mycroftai:IdleCheck
2020-09-11 03:29:12.997 | INFO     |   853 | QuestionsAnswersSkill | Searching for turn on lamp
Removing event fallback-query.mycroftai:QuestionQueryTimeout
Removing event fallback-query.mycroftai:QuestionQueryTimeout
Removing event fallback-query.mycroftai:QuestionQueryTimeout
Removing event fallback-query.mycroftai:QuestionQueryTimeout
2020-09-11 03:29:14.272 | INFO     |   853 | QuestionsAnswersSkill | Timeout occured check responses
Removing event mycroft-mark-1.mycroftai:IdleCheck
2020-09-11 03:32:56.117 | INFO     |   853 | QuestionsAnswersSkill | Searching for turn on fan
Removing event fallback-query.mycroftai:QuestionQueryTimeout
Removing event fallback-query.mycroftai:QuestionQueryTimeout
Removing event fallback-query.mycroftai:QuestionQueryTimeout
Removing event fallback-query.mycroftai:QuestionQueryTimeout
2020-09-11 03:32:57.214 | INFO     |   853 | QuestionsAnswersSkill | Timeout occured check responses

Let me know if you need other logs or examples, this one befuddles me.

jamesmf commented 4 years ago

That's odd, it looks like the CommonIoTSkill isn't installed. I am not an expert on how Mycroft skill installation works but I thought that one of the config files specified that this skill depended on that.

I'll see if that's true or not but in the meantime you can manually install it from the marketplace (Common IoT I think it's called).

5trongthany commented 4 years ago

Here's what happens when I try to turn on something called in the gateway "bedroom lamp"

 17:28:00.760 | INFO     |   855 | mycroft.client.speech.__main__:handle_wakeword:67 | Wakeword Detected: hey mycroft
 17:28:01.199 | INFO     |   855 | mycroft.client.speech.__main__:handle_record_begin:37 | Begin Recording...
 17:28:03.791 | INFO     |   855 | mycroft.client.speech.__main__:handle_record_end:45 | End Recording...
 17:28:04.722 | INFO     |   855 | mycroft.client.speech.__main__:handle_utterance:72 | Utterance: ['turn on bedroom lamp']
Removing event mycroft-mark-1.mycroftai:IdleCheck
 17:28:05.243 | INFO     |   852 | QuestionsAnswersSkill | Searching for turn on bedroom lamp
Removing event fallback-query.mycroftai:QuestionQueryTimeout
Removing event fallback-query.mycroftai:QuestionQueryTimeout
Removing event fallback-query.mycroftai:QuestionQueryTimeout
Removing event fallback-query.mycroftai:QuestionQueryTimeout
Removing event fallback-query.mycroftai:QuestionQueryTimeout
 17:28:06.358 | INFO     |   852 | QuestionsAnswersSkill | Timeout occured check responses

So I try to follow the instructions to Common IoT, but I am unable to find that. I find something called wink, which I installed ona whim to see if it helps but it didn't do you have a link for what skill I should install or something I need to change?

jamesmf commented 4 years ago

Hopefully this will be fixed by #4

5trongthany commented 4 years ago

This line seems to be gone now, but I'm having other issues. I'll file that in a new ticket and close this one.

5trongthany commented 4 years ago

Further debugging continues in #6