openT2T / translators

Repository for Open Translators to Things.
http://www.opentranslatorstothings.org
Other
29 stars 27 forks source link

Hub translators should handle missing device translators #180

Closed danielrischar closed 7 years ago

danielrischar commented 7 years ago

Hubs currently use OpenT2T.createTranslatorAsync to create translators for any devices they find withing getPlatforms(...). Since all translators for a provider may not be installed, getPlatforms should handle the error from OpenT2T when the appropriate module cannot be found.

The behavior we probably want is for only devices with currently installed translators to be returned.