Git Product home page Git Product logo

blinker-js's Introduction

blinker-nodejs

支持文档

文档

环境/依赖安装

最新nodejs LTS版本

npm i -g ts-node
git clone https://github.com/blinker-iot/blinker-js.git
cd blinker-js
npm i

运行示例

替换example.ts中的以下语句,参数为app中申请到的设备的authkey

let device = new BlinkerDevice('xxxxxxxxxxxx');

运行示例程序:

ts-node .\example\example.ts

组件支持

ButtonWidget
TextWidget
NumberWidget
RangeWidget
RGBWidget
JoystickWidget

已支持

基本MQTT通信
Layouter组件
时序数据存储(仅限blinker broker)
文本数据存储(仅限blinker broker)
对象数据存储(仅限blinker broker)
倒计时
定时
短信通知
微信通知
App推送
局域网ws通信
设备分享

即将支持

APCONFIG(AP配网)
QRCONFIG(扫码配置)
语音助手
专属设备
自动化
更多组件支持

blinker-cli(开发中)

blinker start --type {deviceType} --key {deviceType}

blinker restart

blinker stop

blinker start

第一次启动,检查是否有config.json,没有则创建 config.json:

{
    "type":"",
    "key:":"",
    "device":""
}

使用到的相关项目

axios
qrcode-terminal
create ap

blinker-js's People

Contributors

coloz avatar i3water avatar wuke999 avatar dependabot[bot] avatar

Watchers

James Cloos avatar

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.