Latest Threat ResearchGlassWorm Loader Hits Open VSX via Developer Account Compromise.Details
Socket
Book a DemoInstallSign in
Socket

@headspinio/tizen-remote

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@headspinio/tizen-remote

Remote control automation for Tizen devices

latest
Source
npmnpm
Version
0.6.1
Version published
Maintainers
2
Created
Source

@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

Keywords

tizen

FAQs

Package last updated on 07 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts