Skip to content

Norgate-AV/crestron-ch5-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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