{"id":13521402,"url":"https://github.com/monteslu/remote-io","last_synced_at":"2025-09-21T23:32:58.629Z","repository":{"id":23778379,"uuid":"27153592","full_name":"monteslu/remote-io","owner":"monteslu","description":"Remote control ANY Johnny-Five IO class via a virtual serialport","archived":false,"fork":false,"pushed_at":"2016-06-12T03:00:18.000Z","size":85,"stargazers_count":22,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-29T11:23:33.583Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/monteslu.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-11-26T01:05:15.000Z","updated_at":"2023-10-02T13:02:08.000Z","dependencies_parsed_at":"2022-08-22T04:50:42.452Z","dependency_job_id":null,"html_url":"https://github.com/monteslu/remote-io","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monteslu%2Fremote-io","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monteslu%2Fremote-io/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monteslu%2Fremote-io/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monteslu%2Fremote-io/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/monteslu","download_url":"https://codeload.github.com/monteslu/remote-io/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233648597,"owners_count":18708225,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T06:00:33.954Z","updated_at":"2025-09-21T23:32:58.222Z","avatar_url":"https://github.com/monteslu.png","language":"JavaScript","funding_links":[],"categories":["Libraries and Plugins"],"sub_categories":["IO Compatibility Plugins"],"readme":"# Remote-io\n\n[![Join the chat at https://gitter.im/monteslu/remote-io](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/monteslu/remote-io?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\nRemote-io is a Firmata-compatibility IO class for writing [nodebot](http://nodebots.io/) programs and provides remote interaction with any other [Johnny-Five](https://github.com/rwaldron/johnny-five) capable IO class.\n\nRemote-io was built at [IcedDev](http://iceddev.com/)\n\n### Installation\n\n`npm install remote-io`\n\n### Usage\n\n![Remote-IO](remoteio.png)\n\nThe little devices on the right side of this image are running this common bit of code with an IO class instance specified:\n\n```javascript\nvar RemoteIO = require('remote-io');\n\n//The \"io\" variable here could be any instance of bean-io, rpi-io, etc.\nio.on('ready', function(){\n\n   //listen for remote firmata messages\n   var remoteio = new RemoteIO({\n     serial: sp, //any virtual serial port instance\n     io: io\n   }); \n\n});\n\n```\n\nNow for the laptop on the left side of the picture, you can simply write johnny-five code that uses a virtual serial port.  Your code uses the typical firmata IO class to talk to the remote-io instances.\n\n\n```javascript\nvar five = require('johnny-five');\nvar firmata = require('firmata');\n\n//The \"sp\" variable here could be any instance of a virtual serial port\nvar io = new firmata.Board(sp);\n\nvar board = new five.Board({io: io});\nboard.on('ready', function(){\n  var led = new five.Led(13);\n  led.blink();\n});\n\n```\n\n\n\n### API\n\nRemote-io subclasses firmata.js and provides the same API.\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonteslu%2Fremote-io","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmonteslu%2Fremote-io","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonteslu%2Fremote-io/lists"}