0.2.7 • Published 2 years ago

tibbo-discover v0.2.7

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Tibbo Discover

Coverage Status npm version Build

Discover Tibbo devices on the network

npm i tibbo-discover

Usage

Library
const tibboDiscover = new TibboDiscover();

tibboDiscover.scan().then(devices => {
    console.log(devices);
});

CLI

$ tibbo-discover.js > devices.json
 [
    {
      "board": "TPP2W(G2)-4.00.01",
      "application": "Controlled By Web",
      "ipAddress": "10.0.1.222",
      "id": "[000.036.119.087.075.144]"
    }
  ]

Functions

  • Scan - scan(timeout?: number = 5000)

    Scan for Tibbo devices on the network, with an optional timeout (default: 5000)

  • Query - query(id: sting, timeout?: number = 5000)

    Query information from a Tibbo device on the network, with an optional timeout (default: 5000)

  • Stop - stop()

    Stops all active connections and closes any open sockets

  • Login - login(ipAddress: string, password: string, key: string)

    Stops all active connections and closes any open sockets. 

    Requires the Tibbo device IP address, password, and optionally a shared authentication "key" which defaults to tibbo123.

  • Buzz - buzz(ipAddress: string, password: string, key: string)

    Buzz the Tibbo at the IP address passed to the function

  • Reboot - reboot(ipAddress: string, password: string, key: string)

    Reboot the Tibbo at the IP address passed to the function

0.2.7

2 years ago

0.2.6

2 years ago

0.2.1

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.5

2 years ago

0.2.4

2 years ago

0.2.0

2 years ago

0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.0

2 years ago

0.0.9

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago