Options
All
  • Public
  • Public/Protected
  • All
Menu

Class App

app class for stating the thermostat

import App from './app.ts'

const myApp = new App()
myApp.startThermostat(settings, value)

Hierarchy

  • App

Index

Methods

Methods

startThermostat

  • startThermostat(settings: object, update: object): void
  • start the thermostat

    Parameters

    • settings: object

      is a json whit the wanted temp range an unit

    • update: object

      is a json whit the current temp an unit

      print out the state of normal thermostat, json thermostat, http thermostat

    Returns void

Generated using TypeDoc