MycroftAI / enclosure-mark1

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

Implemented auto-detect of platform in verifyArduino.py #73

Closed aatchison closed 7 years ago

aatchison commented 7 years ago

This uses the standard (using JSON XPath notation) of: /enclosure/platform = "mycroft_mark_1" For the first reference Mycroft device. When run on any other hardware (e.g. a generic Pi3) it will result in: /enclosure/platform = "unknown" This value is stored in the mycroft.configuration.SYSTEM_CONFIG

This also sets the default port, rate and timeout for the Mark 1 device.