Giter Site home page Giter Site logo

norgate-av / crestron-ch5-helper Goto Github PK

View Code? Open in Web Editor NEW
5.0 0.0 1.0 694 KB

A helper collection of Crestron CH5 constants ๐Ÿ˜€

Home Page: https://www.npmjs.com/package/@norgate-av/crestron-ch5-helper

License: MIT License

Shell 0.35% TypeScript 99.65%

crestron-ch5-helper's Introduction

Crestron CH5 Helper ๐Ÿ’ช

ch5-logo

CI Conventional Commits Commitizen friendly GitHub contributors NPM MIT license


This library defines all the Crestron CH5 signal types and reserved joins into a convenient Javascript object to aid in the development of CH5 projects.

All of the joins defined in this library can be found in the Crestron CH5 Reserved Join Database.

For more information, check out the CH5 Reserved Join Documentation.

Contents ๐Ÿ“–

Installation โšก

npm install @norgate-av/crestron-ch5-helper

# or

yarn add @norgate-av/crestron-ch5-helper

Usage ๐Ÿš€

import { publishEvent, subscribeState } from "@crestron/ch5-crcomlib";
import CrestronCH5 from "@norgate-av/crestron-ch5-helper";

subscribeState(
 CrestronCH5.SignalType.Digital,
 CrestronCH5.ReservedJoin.Digital.State.Csig_All_Control_Systems_Online_fb,
 (value: boolean) =>
  console.log(`Control System ${value ? "Online" : "Offline"}`),
);

publishEvent(
 CrestronCH5.SignalType.Serial
 CrestronCH5.ReservedJoin.Serial.Event.Csig_Browser_URL,
 "https://www.npmjs.com/package/@norgate-av/crestron-ch5-helper"
);

Team โšฝ

This project is maintained by the following person(s) and a bunch of awesome contributors.


Damien Butt

Contributors โœจ

All Contributors

Thanks go to these awesome people (emoji key):


Dependabot

๐Ÿšง

This project follows the all-contributors specification. Contributions of any kind are welcome!

LICENSE โš–๏ธ

MIT

crestron-ch5-helper's People

Contributors

damienbutt avatar dependabot[bot] avatar

Stargazers

 avatar Martin Salo avatar Minh Truong avatar Chris Lillis avatar Bruce Bartlett avatar

Forkers

thatinjury2011

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.