blynk
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

node-blynk

✨ Node.js Client for Blynk (Legacy) Mobile App Protocol

Why?

I just want to register a new account on self-hosted server, but Blynk (Legacy) app don't let me to do that

and I just saw that Blynk (Legacy) app will be removed from the store on this June 30th,

so I decided to open source this project, That's it! 🤷‍♂️

aru-panik

Features

  • Login/Register Account
  • Get Energy
  • Get Devices in Dashboard
  • Load Profile
  • Hardware Command (WIP)

Usage

import Blynk from 'blynk'
// in JavaScript
// const { Blynk } = require('blynk')

const blynk = new Blynk('blynk.example.org', 9443)
await blynk.connect()

await blynk.login('user@example.com', 'p@$$w0rd')
// or Register new account:
// await blynk.register('user@example.com', 'p@$$w0rd')

await blynk.getEnergy() // Returns energy amount (e.g. 10000)

References

License

This project is MIT licensed (see LICENSE.md)

Not affiliated with Blynk Inc. in any way,

Trademarks belongs to their respective owner.

Package Sidebar

Install

npm i blynk

Weekly Downloads

3

Version

0.1.0

License

MIT

Unpacked Size

26.3 kB

Total Files

13

Last publish

Collaborators

  • maythiwat