{"id":21188102,"url":"https://github.com/dev1an/atem","last_synced_at":"2025-07-10T02:31:13.948Z","repository":{"id":29005071,"uuid":"32532063","full_name":"Dev1an/Atem","owner":"Dev1an","description":"Implementation of BlackMagicDesign's ATEM v6.8 communication protocol in javascript (written for nodejs).","archived":false,"fork":false,"pushed_at":"2018-05-27T19:16:19.000Z","size":58,"stargazers_count":67,"open_issues_count":3,"forks_count":8,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-11-08T14:57:57.391Z","etag":null,"topics":["atem","blackmagicdesign-atem","bmd","javascript","nodejs"],"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/Dev1an.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.md","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":"2015-03-19T16:08:32.000Z","updated_at":"2024-10-23T01:19:15.000Z","dependencies_parsed_at":"2022-09-14T10:11:12.551Z","dependency_job_id":null,"html_url":"https://github.com/Dev1an/Atem","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dev1an%2FAtem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dev1an%2FAtem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dev1an%2FAtem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dev1an%2FAtem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dev1an","download_url":"https://codeload.github.com/Dev1an/Atem/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225612324,"owners_count":17496630,"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":["atem","blackmagicdesign-atem","bmd","javascript","nodejs"],"created_at":"2024-11-20T18:42:35.045Z","updated_at":"2024-11-20T18:42:35.856Z","avatar_url":"https://github.com/Dev1an.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Atem\n\nImplementation of BlackMagicDesign's ATEM communication protocol (version 6.8) in javascript (written for nodejs).\n\n[![Join the chat at https://gitter.im/Dev1an/Atem](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/Dev1an/Atem?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n![Licensed under MIT](https://img.shields.io/badge/License-MIT-blue.svg)\n\n### ⚠️ Recent development 🚨\n\nThis library is more than 3 years old and although I am still maintaining it, I started a new version of the implementation written from the ground up in Swift. It is developed under [Swift-Atem](https://github.com/Dev1an/Swift-Atem) and implements the protocol in a more flexible manner. The same code can be used to implement both directions of the protocol. This means that you can not only use it to control atem switchers but also to connect to your control panels without the need for a switcher. Opening a whole new world of applications for the Atem control panels.\n\n## Usage\n### Connect to an atem\nTo connect to an atem, simply create a new `Atem` instance and pass an IP address as first parameter of the constructor:\n```js\nvar Atem = require('atem') // Load the atem module\nvar myAtemDevice = new Atem(\"10.1.0.9\") // Create a new Atem instace with an IP address\n```\nYou can also create a new `Atem` instance and specify the IP address later on. Notice that if you do this, you need to call the `connect` method yourself:\n```js\nvar Atem = require('atem') // Load the atem module\nvar myAtemDevice = new Atem() // Create a new Atem instace without an IP address\nmyAtemDevice.ip = \"10.1.0.9\" // specify the ip address\nmyAtemDevice.connect() // manually connect to the atem\n```\n### Receive notifications from your atem\nTo receive notifications about the connection state:\n```js\nvar Atem = require('atem') // Load the atem module\nvar myAtemDevice = new Atem() // Create a new Atem instace without an IP address\nmyAtemDevice.on('connectionStateChange', function(state) {\n  console.log('state', state);\n});\n```\n\nThese events are currently implemented: \n- previewBus\n- programBus\n- inputTally\n- sourceTally\n- sourceConfiguration\n- auxiliaryOutput\n- connectionStateChange\n- connectionLost\n\nIf you need other events, create an issue. You can also fall back to the `rawCommand` event and interpret the raw data coming from the atem yourself.\n\nYou can read more about all the available events in the [API reference](http://dev1an.github.io/Atem/Device.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev1an%2Fatem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdev1an%2Fatem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev1an%2Fatem/lists"}