Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TadoConnection

TadoConnection is the class which holds the required information and api client. Extends Connection class from bfmb-base-connector module.

Hierarchy

  • Connection
    • TadoConnection

Index

Constructors

constructor

  • The constructor of TadoConnection. Username and password are given by options object.

    Parameters

    • options: any

    Returns TadoConnection

Properties

Protected id

id: string

Private password

password: string

Password of Tadoº service.

Private tadoClient

tadoClient: any

The node-tado-client class. Defined as any because the Typescript module definitions don't exist.

Private username

username: string

Username of Tadoº service.

Methods

getClient

  • getClient(): any
  • This method retrieves the Tado client object.

    Returns any

    any Returns the client class.

getId

  • getId(): string

getPassword

  • getPassword(): string
  • This method retrieves the password.

    Returns string

    string Returns the password.

getUsername

  • getUsername(): string
  • This method retrieves the username.

    Returns string

    string Returns the username.

Generated using TypeDoc