SUGOS example of Arduino
This is an example application to use SUGOS. You can edit script and try it out on browser.
Deploy to the Heroku and play it!
Setup a hub server to provide UI pages and actor/connector API. This component is build with [SUGO-Hub][sugo_hub_url] package.
Install the CLI:
$ npm install sugo-example-arduino -g
Then, run the server
$ PORT=3000 sugo-example-arduino hub
In the most of cases, you need to setup reverse-proxy (like nginx) to exports the server to the outer world.
Connect an actor to provides functionalities with. This component is build with SUGO-Actor package.
Install the CLI:
$ npm install sugo-example-arduino -g
Then, connect the actor to the cloud
$ HOSTNAME="__your_host__" ACTOR_KEY="__your_actor_name__" sugo-example-arduino actor
Run a caller to call functions defined in actor. This component is build with SUGO-Caller package.
Install the CLI:
$ npm install sugo-example-arduino -g
Then, run the example caller
$ HOSTNAME="__your_host__" sugo-example-arduino caller
Or, you can try it from UI pages on the cloud.
This software is released under the MIT License.