$ cnpm install opent2t-translator-com-smartthings-hub. SYNC missed versions from official npm registry. (or sync it as needed), and install its dependencies. Note the last parameter is a simple name of a translator, not a directory path, which would include a schema name. Installing the Simple Hub for Apple TV App. Simple Control/SmartThings Integration Pack from the Simple Control website and refer to the included PDF file. ![]() Introduction Repository for Open Translators to Things. Grouped by translators written for specific schemas. The schema names are uniquely namespaced. The translator name is a unique string identifying a Thing. This README will help get you started developing in this repo. Install Tools Get your dev environment set up (PC or Mac): • • • Choose your favorite IDE, e.g. Get the Source Next, clone this repo to your local machine to get started. Navigate to the directory where you want to clone the repo to locally, then run: git clone Create a New Translator Follow our getting started guide at. Note that we have some required naming rules for translator node packages: • The npm package names must always have 'opent2t-translator-' prefix. We are not currently using. • After the prefix, we will the reverse-URI that is translator name, so e.g. It is a breeze to install, easy to use, and is packed with features. Use OBDwiz to troubleshoot a problem with your vehicle, improve fuel economy, clear the 'Check Engine' light, and verify emissions readiness. 'com.wink.lightbulb' becomes 'opent2t-translator-com-wink-lightbulb'. Here is some background reading for those who are curious: • Node package name requirements/rules:. Chrome google hangouts for mac free. • Issue #50 includes a discussion and some context behind this naming guidance. Run Integration Tests • Install gulp globally. Npm install -g gulp • Install dependencies. Npm install verifiers • Run integration tests. Gulp ci-checks Notes: • Other gulp tasks can be run as well, see gulpfile.js for available tasks. • By default all files under the translators repo will be tested. • Use the --cwd option to only test files under a specified directory: gulp --cwd. Org.opent2t.sample.windowshade.superpopular ci-checks Create a Pull Request Made any changes we should consider? Send us a pull request! Check out on how to get started. Publish a Translator Package to NPM A translator package includes one thing translator along with all the schemas it references. Because those are not organized in the way npm publish expects, the process of publishing a translator package uses a script from the CLI repo. • Update the version property in the package.json file in the translator directory. (Of cource any other metadata may be updated also, but a version bump is required when publishing to npm, since you may not re-publish over an existing version.) • Clone the CLI repo (or sync it as needed), and install its dependencies: cd. Git clone npm install cd./translators • Use the script to generate a package.json for the translator to be published. ![]() Note the last parameter is a simple name of a translator, not a directory path, which would include a schema name. Node./opent2t-cli/pack-translator.js com.wink.thermostat • Edit the package.json to include directories for referenced schemas in the files collection at the end. Lines will include at least 'oic.core' and 'oic.baseresource'; possibly others if the OCF schema.json file has $ref references to others. () • Ensure you're logged in to NPM under the opent2t account: npm login Username: opent2t Password: ********* • Publish the package to NPM: npm publish Code of Conduct This project has adopted the. For more information see the or contact with any additional questions or comments. Current Tags •. Kindle app for the mac. Latest ( a year ago) 11 Versions •. A year ago •. A year ago •. A year ago •. 2 years ago •. 2 years ago •. 2 years ago •. 2 years ago •. 2 years ago •. 2 years ago •. 2 years ago •.
0 Comments
Leave a Reply. |