MycroftAI / enclosure-mark1

Replacing the faceplate repo
Apache License 2.0
9 stars 8 forks source link

TEST ALL THE THINGS #3

Closed ryanleesipes closed 8 years ago

ryanleesipes commented 8 years ago

We will need to test all the hardware before units are shipped. So we need some kind of hardware kick-off for the tests. This should be triggered by hitting the encoder 3 times in succession or holding it for 10 seconds (before the device is paired).

The device should kick on all the lights, flash the eyes in red, green, blue, and white (all three combined). Then finally the unit should say, "I'm listening." and listen for 5 seconds, and then playback whatever is said. Finally, we need to do something like kick up a WiFi AP as a test.

isaacnward commented 8 years ago

I have a hardware test sketch written (with the functionality described in the issue, as well as the ability to test the encoder dial by turning on the corresponding eye when it's turned in a direction). I've also put together integration between it and Mycroft Core, allowing a double-click to trigger the hardware test, then a 5-second hold afterward to trigger a microphone test. I still have issues testing it on my unit, though (largely problems with the Arduino IDE), and I'm not sure whether the sketch I've written does exactly what we need it to do.

isaacnward commented 8 years ago

This has finally been addressed by #49 and #50, as well as MycroftAI/mycroft-core#305.