Skip to content

Use the CloudLink REST API to trigger orders on the Showcase Mi5 machine.

License

Notifications You must be signed in to change notification settings

ProjectMi5/CloudLinkWorker

Repository files navigation

CloudLinkWorker for Showcase Mi5

The worker is supposed to get all orders from CloudLink via REST API or MQTT and then execute these tasks on the Showcase Mi5 directly. Therefore the worker will directly access the Recipe Tool. He will also watch the order for completion and report back to the CloudLink via REST API.

Installation

npm install

Usage

npm start

or

node app.js

Development

npm test

Note: for some tests you need a proper configured config.js file

Mocha is used as a test framework, since it has a very nice integration in the Webstorm IDE.

Devevelopment Packages:

  • grunt is used as a task runner to execute mocha
  • chai-as-promised is used for promise support

About

Use the CloudLink REST API to trigger orders on the Showcase Mi5 machine.

Resources

License

Stars

Watchers

Forks

Packages

No packages published