https://github.com/endbug/dynamr
Wrapper for the DynamR controller API
https://github.com/endbug/dynamr
Last synced: 3 months ago
JSON representation
Wrapper for the DynamR controller API
- Host: GitHub
- URL: https://github.com/endbug/dynamr
- Owner: EndBug
- License: mit
- Created: 2022-07-09T13:04:47.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-08-06T12:15:38.000Z (over 1 year ago)
- Last Synced: 2025-03-23T22:07:02.860Z (about 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 1.66 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @endbug/dynamr
_Wrapper for the DynamR controller API_
This package is meant as a wrapper for the [DynamR](https://www.dynamr.com/) controller API, used in indoor skydiving.
More details about its usage can be found on the official website ([dynamr.com](https://www.dynamr.com/)) and in the manuals:
- [User guide](https://docs.google.com/document/d/11zYqI7WV49YWBew6dyXWNPCuNHHK3IRhykTtMVSmvfQ)
- [DynamR API Documentation](https://docs.google.com/document/d/15Ez0mxv8RAcY6AhZKYmGrU6iiezubTqgft2GZndNrao)
## Usage
```ts
import DynamR from '@endbug/dynamr';
const dynamr = new DynamR({
protocol: 'http',
hostname: '123.123.123.123',
port: '1234',
});
dynamr.getPresets().then(console.log);
```
## Methods:
- `getPresets`
- `getLightStatus`
- `setLightPreset`
- `setLightColor`
- `beginSession`
- `exitSession`
- `endSession`
- `getSessionStatus`
- `reloadSpeedRound`
- `bustEnter`
- `bustLeave`
- `stopSpeedRound`
- `setODE`
- `setETH0`
Please see the TS and JSDoc annotations for more info.