Skip to content

bostrt/bali-gateway-kit

Repository files navigation

Ezlo-Hub-Kit

Continuous IntegrationPublish NPM Package

Overview

Bali-Gateway-Kit is a Node.js Package Manager module that provides a convenient, fully-typed, SDK for Bali's Motorization Gateways. The kit enables applications to discovery connected hubs given a Bali account, connect to them, retrieve properties such as devices and rooms, observe hub events and perform hub actions.

This project is very heavily based on this project https://github.com/bblacey/ezlo-hub-kit/. This project includes customizations so it can fully function with Bali's API.

Installation

npm install bali-gateway-kit --save

ezlo-hub-kit is a hybrid npm module that supports both commonJS and ESM modules with complete Typescript type definitions.

ESM

import { BaliCloudResolver, BaliGateway } from 'bali-gateway-kit';

commonJS

const { BaliCloudResolver, BaliGateway } = require('bali-gateway-kit');

Usage

TODO