Skip to content
Simple admin template for juliancwirko:arduino-cylon package
JavaScript HTML CSS
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.

Admin panel for Meteor Cylon.js

Meteor CylonJS wrapper for Arduino board.

This is just for fun but all ideas and PRs are welcomed :)


See: Arduino with Cylon.js

Then add the packages:

meteor add juliancwirko:arduino-cylon
meteor add juliancwirko:caprica

Blog post

Meteor meets Arduino and Cylon

and config your Cylon:


Server side:

Meteor.startup(function () {

        name: 'Number Six',
        description: 'Description is optional...',

        connections: {
          arduino: { adaptor: 'firmata', port: '/dev/ttyACM0' }

        devices: {
          redLed: { driver: 'led', pin: 13 },
          yellowLed: { driver: 'led', pin: 12 }

        redLed: function () {
            return 'Cylon ' + + ' toggles red led';

        yellowLed: function () {
            return 'Cylon ' + + ' toggles yellow led';

        toggleAll: function () {
            return 'Cylon ' + + ' toggles red and yellow led';

        commands: function () {
            return {
                'Toggle red Led': this.redLed,
                'Toggle yellow Led': this.yellowLed,
                'Toggle all': this.toggleAll


Next step is to place {{> capricaHomeland}} template somewhere in your Meteor app layout. You can se it in demo app here:

Client side (HTML):


    {{> capricaHomeland class="my-custom-class" defaultTheme=true}}

You can disable default css styling by setting defaultTheme to false. You can provide your own class for styling. Other classes will be prefixed with your custom class.

You can also use aldeed:template-extension to overwrite templates. (Be careful with this).

More configuration options and devices documentation on cylonjs website:

You can also read more about juliancwirko:arduino-cylon package here:

Current UI demo

Video demo

Caprica video demo

Problems to solve

  • better understanding of npm packages and sudo privilages with Meteor - I have to run meteor with sudo after adding packages :/
  • better exceptions handling - if there is no Arduino connected we should comment devices and connections blocks
  • you need to refresh page after changes in Cylonjs config

TODO (if time permits):

  • http api (maybe with Iron Router) ( ..yes I know that there is cylon-api-http ;) )
  • better UI
  • more research on cylonjs events etc.
  • more demos and examples
You can’t perform that action at this time.