All Projects → DanielRamosAcosta → aura-sdk

DanielRamosAcosta / aura-sdk

Licence: MIT license
ASUS's Aura Sync Node.js bindings

Programming Languages

C++
36643 projects - #6 most used programming language
typescript
32286 projects
javascript
184084 projects - #8 most used programming language
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to aura-sdk

ryzentosh
OpenCore Configuration for Ryzen 3950x with ASUS Crosshair VIII Hero (Wi-Fi) X570
Stars: ✭ 15 (-65.91%)
Mutual labels:  asus
AsusSMC
A VirtualSMC plugin provides native macOS support for ALS, keyboard backlight and Fn keys on Asus laptops
Stars: ✭ 151 (+243.18%)
Mutual labels:  asus
asus-fan
Kernel module to get/set (both) fan speed(s) on ASUS Zenbooks
Stars: ✭ 92 (+109.09%)
Mutual labels:  asus
ASUS-P8Z68-V-LX-Hackintosh
Hackintosh for ASUS P8Z68-V LX motherboard
Stars: ✭ 19 (-56.82%)
Mutual labels:  asus
X99-Deluxe-II
Files for Asus X99 Deluxe II hackintosh.
Stars: ✭ 17 (-61.36%)
Mutual labels:  asus
Asuswrt Merlin.ng
Third party firmware for Asus routers (newer codebase)
Stars: ✭ 3,400 (+7627.27%)
Mutual labels:  asus
Asus-ROG-GL552VW-Hackintosh
Guide to hackintoshing the ASUS ROG GL552VW
Stars: ✭ 46 (+4.55%)
Mutual labels:  asus
ASUS-TUF-Z390M-Pro-Gaming-Hackintosh
ASUS TUF Z390M-Pro Gaming (Wifi) Hackintosh [BIOS, Drivers, Kexts, Config.plist]
Stars: ✭ 25 (-43.18%)
Mutual labels:  asus
hackintosh ASUS ROG Z390
hackintosh-ASUS-ROG-STRIX-Z390-E-GAMING
Stars: ✭ 41 (-6.82%)
Mutual labels:  asus
ASUS-F455LD-i5-4210u
This is my laptop's backup of CLOVER EFI bootloader.
Stars: ✭ 44 (+0%)
Mutual labels:  asus
EFI-ASUS-B250M
ASUS B250M EFI,including Clover and OpenCore, supports HighSierra / Mojave / Catalina / BigSur ...
Stars: ✭ 49 (+11.36%)
Mutual labels:  asus
asus-n550jk-hackintosh
A collection of all resources needed to run macOS on an Asus N550JK
Stars: ✭ 14 (-68.18%)
Mutual labels:  asus
Hackintosh-ASUS-A455LF-Notebook
EFI Folder for ASUS A455LF-WX039D Notebook Series with Clover/OpenCore Legacy or UEFI
Stars: ✭ 27 (-38.64%)
Mutual labels:  asus
ASUS-VivoBook-X510UQR-Hackintosh
Hackintosh for ASUS VivoBook X510UQR (ASUS VivoBook S15 S510UQ-BQ483T)
Stars: ✭ 29 (-34.09%)
Mutual labels:  asus
OpenCore-ASUS-ROG-MAXIMUS-XI-HERO
OpenCore configuration for ASUS ROG MAXIMUS XI HERO
Stars: ✭ 29 (-34.09%)
Mutual labels:  asus
bat
Battery management utility for Linux laptops.
Stars: ✭ 107 (+143.18%)
Mutual labels:  asus
awesome-asus-tinker-board
A curated list of ASUS Tinker Board resources
Stars: ✭ 54 (+22.73%)
Mutual labels:  asus
g14control
A small tray app to control Asus Zephyrus G14 power options
Stars: ✭ 31 (-29.55%)
Mutual labels:  asus
asusctl
Daemon and tools to control your ASUS ROG laptop. Supersedes rog-core.
Stars: ✭ 39 (-11.36%)
Mutual labels:  asus
ryzen-hackintosh
My hackintosh files & hardware info 
Stars: ✭ 19 (-56.82%)
Mutual labels:  asus

aura-sdk

NPM Version

ASUS Aura's SDK Nodejs C++ bindings. This package provides an high-level API to manage your rig led show!

WARNING: Because Asus is only releasing their DLL for the 32bits arch, it only works and Node 32 bits.

RGB Stepper Demo

Usage

npm install --save aura-sdk

You have to create an instance of the SDK, and then create an instanace for each device. This examples creates an RGB stepper

const { sleep } = require('./sleep')
const { AuraSDK, Controller } = require('..')

async function main() {
  const auraSDK = new AuraSDK()

  const leds = Controller.joinControllers([
    auraSDK.createMbController(),
    auraSDK.createGPUController(),
    auraSDK.createDramController()
  ])

  while (true) {
    for (color of ['red', 'green', 'blue']) {
      for (let led of leds) {
        led.setColorNow(color)
        await sleep(1000)
      }
    }
  }
}

main()
  .catch(err => console.error(err))

API

AuraSDK

This is the main SDK entrypoint. It creates instances for the different devices types.

  • AuraSDK#createMbController(): Creates an instance of the motherboard controller
  • AuraSDK#createGPUController(): Creates an instance of the GPU controller
  • AuraSDK#createDramController(): Creates an instance of the DRAM controller

Controller

  • Controller.joinControllers(controllers: Controller[]): Joins multiple controllers into one array of callable functions. See the the example for usage.
  • Controller#getLedCount(): Get number of controllable leds in this controller.
  • Controller#getDeviceName(): Get the device name (motherboard, GPU, DRAM).
  • Controller#setColor(index: number, color: string): Set the color of the LED at the given index.
  • Controller#setAllColor(color: string): Sets the color of all the leds in the controller.
  • Controller#setColorNow(index: number, color: string): Sets the color of the LED at the given index and immediately updates them.
  • Controller#setAllColorNow(color: string): Sets the color of all the leds in the controller and immediately updates them.
  • Controller#updateColor(): Updates the LEDs attached to the controller to reflect the current state.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].