{"id":38544147,"url":"https://github.com/margau/dmxnet","last_synced_at":"2026-01-17T07:16:41.771Z","repository":{"id":28637746,"uuid":"111190089","full_name":"margau/dmxnet","owner":"margau","description":"ArtNet-DMX-sender and receiver for nodejs","archived":false,"fork":false,"pushed_at":"2025-08-06T20:50:00.000Z","size":532,"stargazers_count":72,"open_issues_count":14,"forks_count":26,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-10-16T08:18:04.918Z","etag":null,"topics":["artnet","artnet-controller","dmx","dmx512","event","hacktoberfest","lightning","stage","stage-lighting"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/margau.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-11-18T08:44:19.000Z","updated_at":"2025-04-03T15:08:28.000Z","dependencies_parsed_at":"2024-06-18T18:33:33.560Z","dependency_job_id":"06301de3-f514-4372-9a07-896e9f924045","html_url":"https://github.com/margau/dmxnet","commit_stats":{"total_commits":127,"total_committers":12,"mean_commits":"10.583333333333334","dds":"0.25984251968503935","last_synced_commit":"f0f4cbe0a427e2520728aa3bbf522e15428b29a8"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/margau/dmxnet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/margau%2Fdmxnet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/margau%2Fdmxnet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/margau%2Fdmxnet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/margau%2Fdmxnet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/margau","download_url":"https://codeload.github.com/margau/dmxnet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/margau%2Fdmxnet/sbom","scorecard":{"id":618847,"data":{"date":"2025-08-11","repo":{"name":"github.com/margau/dmxnet","commit":"fe5280fccabd59aa45fca8a47d62c23cb14ac460"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":5,"reason":"Found 6/11 approved changesets -- score normalized to 5","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 25 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":4,"reason":"6 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-mxhp-79qh-mcx6","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T04:43:36.876Z","repository_id":28637746,"created_at":"2025-08-21T04:43:36.876Z","updated_at":"2025-08-21T04:43:36.876Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28503348,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T06:57:29.758Z","status":"ssl_error","status_checked_at":"2026-01-17T06:56:03.931Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["artnet","artnet-controller","dmx","dmx512","event","hacktoberfest","lightning","stage","stage-lighting"],"created_at":"2026-01-17T07:16:41.198Z","updated_at":"2026-01-17T07:16:41.759Z","avatar_url":"https://github.com/margau.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dmxnet\n[![GitHub release](https://img.shields.io/github/release/margau/dmxnet.svg)](https://github.com/margau/dmxnet/releases)\n[![npm](https://img.shields.io/npm/v/dmxnet.svg)](https://www.npmjs.com/package/dmxnet)\n[![GitHub issues](https://img.shields.io/github/issues/margau/dmxnet.svg)](https://github.com/margau/dmxnet/issues)\n[![GitHub stars](https://img.shields.io/github/stars/margau/dmxnet.svg)](https://github.com/margau/dmxnet/stargazers)\n[![GitHub license](https://img.shields.io/github/license/margau/dmxnet.svg)](https://github.com/margau/dmxnet/blob/master/LICENSE)\n[![GitHub last commit](https://img.shields.io/github/last-commit/margau/dmxnet.svg)](https://github.com/margau/dmxnet)\n[![Github All Releases](https://img.shields.io/github/downloads/margau/dmxnet/total.svg)](https://github.com/margau/dmxnet/releases)\n[![npm](https://img.shields.io/npm/dt/dmxnet.svg)](https://www.npmjs.com/package/dmxnet)\n[![Travis (.com)](https://img.shields.io/travis/com/margau/dmxnet.svg)](https://travis-ci.com/margau/dmxnet)\n\ndmxnet is an ArtNet-DMX-sender and receiver for nodejs\n\n# Warning: This Libary is not really actively maintained from me at the moment. It probably does work, but PRs might take a time, if merged at all. Feel free to fork if you wanna extend and develop it actively.\n\n## Features\n\n- Send DMX-Data as ArtNet\n- Use multiple senders with different Net, Subnet and Universe-Settings\n- Receive ArtNet-Data\n- Use multiple receivers with different Net, Subnet and Universe\n- Receive ArtPoll and send ArtPollReply (dmxnet is found by other software, e.g. [DMX-Workshop](https://art-net.org.uk/resources/dmx-workshop/))\n\n## Contributors\nSee https://github.com/margau/dmxnet/graphs/contributors\n\n## Changelog\n**Work in Progress**\nRedesigned error handling (@bannsaenger)\n\n**v0.9.0**\nDependency Updates, added ESTA manufacturer ID (@bannsaenger)\n\n**v0.8.0**\nDependency Updates, constructor improvement (@soimon)\n\n**v0.7.0**\nImprove logging (thanks to @Patrick-Remy)\n\n**v0.6.0**\nAdd typescript definitions (thanks to @she11sh0cked)\n\n**v0.5.0**\nDependency Updates, add hosts option (thanks to @gaelhuot)\n\n**v0.4.0**\nAdded support for receiving ArtDMX packets.\n\n**v0.3.0**\nAdded support for base_refresh_interval, add sender.reset()\n\n**v0.2.0**\n\nAdded support for receiving ArtPoll and sending ArtPollReply.\n\n**v0.1.3**\nImproved logging trough use of simple-node-logger\n\n**v0.1.2**\nAdded subuni option to sender\n\n**v0.1.1**\nAdded prepare channel\n\n**v0.1.0**\nInitital Release, sending ArtDMX working\n\n## Installation\n\n**How to install latest release:**\n\n```bash\nnpm install dmxnet\n```\n\n**How to install current development version:**\n\n```bash\nnpm install git+https://git@github.com/margau/dmxnet.git\n```\n\n## Usage\n\n**See example_rx.js and example_tx.js**\n\n**Include dmxnet lib:**\n\n```javascript\nvar dmxlib=require('dmxnet');\n```\n\n**Create new dmxnet object:**\n\n```javascript\nvar dmxnet = new dmxlib.dmxnet(options);\n```\n\nOptions:\n\n```javascript\n{\n  log: { level: 'info' }, // Winston logger options\n  oem: 0, // OEM Code from artisticlicense, default to dmxnet OEM.\n  esta: 0, // ESTA Manufacturer ID from https://tsp.esta.org, default to ESTA/PLASA (0x0000)\n  sName: \"Text\", // 17 char long node description, default to \"dmxnet\"\n  lName: \"Long description\", // 63 char long node description, default to \"dmxnet - OpenSource ArtNet Transceiver\"\n  hosts: [\"127.0.0.1\"], // Interfaces to listen to, all by default\n  errFunc: function(err) {\n                this.error(`Do some error handling or throw it: ${err.message}, stack: ${err.stack}`);\n            }.bind(this) // optional function to handle errors from the library by yourself. If omitted the errors will be thrown by the library\n}\n```\n\n### Structure\ndmxnet works with objects:\nYou can create a new Sender or Receiver-instance at any time,\neach transmitting or receiving data for a single ArtNet-Universe.\n\nEach combination of net, subnet and universe is possible.\n\n### Notes\ndmxnet can propagate max. 255 Sender/Receiver-Objects to other nodes.\nThis is a limitation based on the internal structure of ArtPollReply-Packages.\n**You can of course use more Sender/Receiver-Objects, but they won't propagate\ntrough ArtPoll.**\n### Transmitting Art-Net\n\n**Create new sender object:**\n\n```javascript\nvar sender=dmxnet.newSender(options);\n```\n\nOptions:\n\n```javascript\n{\n  ip: \"127.0.0.1\", //IP to send to, default 255.255.255.255\n  subnet: 0, //Destination subnet, default 0\n  universe: 0, //Destination universe, default 0\n  net: 0, //Destination net, default 0\n  port: 6454, //Destination UDP Port, default 6454\n  base_refresh_interval: 1000 // Default interval for sending unchanged ArtDmx\n}\n```\n\n**Set Channel:**\n\n```javascript\nsender.setChannel(channel,value);\n```\n\nSets *channel* (0-511) to *value* (0-255) and transmits the changed values .\n\n**Fill Channels**\n\n```javascript\nsender.fillChannels(min,max,value);\n```\n\nSets all channels between *min* and *max* (including these) to *value* and transmits the values.\n\n**Prepare Channel:**\n\n```javascript\nsender.prepChannel(channel,value);\n```\n\nPrepares *channel* (0-511) to *value* (0-255) without transmitting.\n\nChange is transmitted with next\n```javascript\nsender.transmit();\n```\ncall, or the next periodically transmit. Useful for changing lots of channels at once/in parallel from device view.\n\n**Transmit:**\n\n```javascript\nsender.transmit();\n```\n\nTransmits a new ArtDMX Frame manually.\n\n**Reset:**\n\n```javascript\nsender.reset();\n```\n\nResets all channels of this sender object to zero.\n\n**Please Note: dmxnet transmits a dmx-frame every 1000ms even if no channel has changed its value!**\n\n### Receiving Art-Net\n\n**Create a new receiver-instance:**\n\n```javascript\nvar receiver=dmxnet.newReceiver(options);\n```\n\nOptions:\n\n```javascript\n{\n  subnet: 0, //Destination subnet, default 0\n  universe: 0, //Destination universe, default 0\n  net: 0, //Destination net, default 0\n}\n```\n\n**Wait for a new frame:**\n\n```javascript\nreceiver.on('data', function(data) {\n  console.log('DMX data:', data);\n});\n```\n\nThe receiver is emits an \"data\"-event each time new values have arrived.\n\nThe current values are stored inside the `receiver.values`-array for polling.\n\n## ToDo:\n\n- Act as Controller (Sending ArtPoll, Receiving ArtPollReply)\n- Maybe support sACN?\n\n\n### Please feel free to contribute!\n\n\n\n## Credits\n\n**Art-Net™ Designed by and Copyright Artistic Licence Holdings Ltd**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmargau%2Fdmxnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmargau%2Fdmxnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmargau%2Fdmxnet/lists"}