{"id":13555138,"url":"https://github.com/dpjanes/node-iotdb","last_synced_at":"2026-03-17T20:11:02.193Z","repository":{"id":17902655,"uuid":"20858413","full_name":"dpjanes/node-iotdb","owner":"dpjanes","description":"Easily control the Internet of Things using Semantics","archived":false,"fork":false,"pushed_at":"2017-04-15T19:05:35.000Z","size":1740,"stargazers_count":47,"open_issues_count":3,"forks_count":10,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-04-26T03:45:05.010Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dpjanes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-15T15:25:55.000Z","updated_at":"2023-06-06T20:27:58.000Z","dependencies_parsed_at":"2022-08-25T01:14:16.378Z","dependency_job_id":null,"html_url":"https://github.com/dpjanes/node-iotdb","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/dpjanes%2Fnode-iotdb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpjanes%2Fnode-iotdb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpjanes%2Fnode-iotdb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpjanes%2Fnode-iotdb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dpjanes","download_url":"https://codeload.github.com/dpjanes/node-iotdb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222935631,"owners_count":17060398,"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-01T12:03:03.192Z","updated_at":"2025-12-18T06:03:09.614Z","avatar_url":"https://github.com/dpjanes.png","language":"JavaScript","readme":"# node-iotdb\n\n\u003cimg src=\"https://raw.githubusercontent.com/dpjanes/iotdb-homestar/master/docs/HomeStar.png\" align=\"right\" /\u003e\n\nA Node.JS platform for semantically control all your Things. \n100% test coverage.\n\n**Node.JS 6 or higher is required!**\n\n# Hello, World\n\n## Install IOTDB\n\n\t$ npm install iotdb\n\t\n## Turn WeMo on or off\n\n\tconst iotdb = require(\"iotdb\");\n    iotdb.use(\"homestar-wemo\");\n\t\n\tthings = iotdb.connect(\"WeMoSocket\");\n\tthings.set(\":on\", true)\n\tthings.set(\":on\", false)\n\t\nN.B. \n* you must have installed the NPM package \u003ccode\u003ehomestar-wemo\u003c/code\u003e\n* \u003ccode\u003e:on\u003c/code\u003e is the \"semantic\" term that universally means \"turn/is something on or off\". It expands to \u003ccode\u003eiot-purpose:on\u003c/code\u003e which in turn expands to the URL \u003ccode\u003ehttps://iotdb.org/pub/iot-purpose#on\u003c/code\u003e.\n\n## Wait for a WeMo to change state\n\n\tconst iotdb = require(\"iotdb\");\n    iotdb.use(\"homestar-wemo\");\n\t\n\tthings = iotdb.connect(\"WeMoSocket\");\n\tthings.on(\"istate\", thing =\u003e {\n\t\tconsole.log(\"istate\", thing.state(\"istate\"));\n\t\tconsole.log(\"on\", thing.get(\":on\"));\n\t})\n\nN.B. \n* \u003ccode\u003eistate\u003c/code\u003e is the actual current state of the Thing. In IOTDB a Thing may have many states associated with it, called \u003ci\u003ebands\u003c/i\u003e.\n\n# Documentation\n\nWe are in the process of collecting all the documents into this project. \n\nStart here:\n* [https://github.com/dpjanes/node-iotdb/tree/master/docs](https://github.com/dpjanes/node-iotdb/tree/master/docs)\n","funding_links":[],"categories":["JavaScript","others","Storage"],"sub_categories":["Low Level"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdpjanes%2Fnode-iotdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdpjanes%2Fnode-iotdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdpjanes%2Fnode-iotdb/lists"}