Giter Club home page Giter Club logo

bali-gateway-kit's Introduction

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

bali-gateway-kit's People

Contributors

bblacey avatar bostrt avatar dependabot[bot] avatar

Watchers

 avatar

bali-gateway-kit's Issues

Still having an issue with expired tokens not renewing

[16/12/2023, 09:02:42] [homebridge-bali-blinds] Error setting target position of Shade C (Z10E940B4) due to Error: Request to 70008240 failed with cloud.error.mms_autha_token_expired - Request: {"method":"hub.items.list","params":{"deviceIds":["Z10E940B4"]}}
    at /var/lib/homebridge/node_modules/homebridge-bali-blinds/node_modules/bali-gateway-kit/src/BaliGateway.ts:370:15
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

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.