0.5.8 • Published 8 months ago

@headspinio/tizen-remote v0.5.8

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
8 months ago

@headspinio/tizen-remote

Remote control automation for Tizen devices

npm version

Basic Usage

import {TizenRemote, Keys} from '@headspinio/tizen-remote';

const remote = new TizenRemote({
  host: 'my-tizen.device.local',
  port: 12345,
  appId: 'my.app-id',
});

await remote.connect();
await remote.click(Keys.LEFT);
await remote.longPress(Keys.ENTER);
await remote.disconnect();

Summary

This package acts as a WebSocket client for the Tizen Remote API and provides various convenience methods for automation.

Features

  • Connects to a Tizen device's remote control service via WebSocket
  • Automatic pairing of remote control with the device (token stored per host)
  • Allows automation of keypresses
  • Supports auto-reconnection on unexpected disconnect
  • Supports multiple connection attempts with exponential backoff

Installation

npm i @headspinio/tizen-remote

API

(TODO)

Environment

If a token option is not provided via the TizenRemote constructor's options, this library will look for a token in the TIZEN_REMOTE_TOKEN environment variable (if neither are found, automatic pairing is attempted).

License

Copyright © 2022 HeadSpin, Inc. Licensed Apache-2.0

0.5.8

8 months ago

0.5.7

10 months ago

0.5.4

1 year ago

0.5.3

1 year ago

0.5.5

12 months ago

0.5.2

1 year ago

0.5.1

1 year ago

0.5.0

2 years ago

0.4.4

2 years ago

0.4.3

3 years ago

0.4.2

3 years ago

0.4.1

3 years ago

0.4.0

3 years ago

0.3.0

3 years ago

0.2.2

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago