Search
Preparing search index...
The search index is not available
edilkamin
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
edilkamin
Index
Interfaces
Commands
Type
Device
Info
Type
Status
Type
Temperatures
Type
User
Parameters
Type
Variables
API_
URL
Functions
configure
device
Info
set
Power
set
Power
Off
set
Power
On
sign
In
Variables
Const
API_
URL
API_
URL
:
"https://fxtj7xkgc6.execute-api.eu-central-1.amazonaws.com/prod/"
= "https://fxtj7xkgc6.execute-api.eu-central-1.amazonaws.com/prod/"
Functions
configure
configure
(
baseURL
?:
string
)
:
{
deviceInfo
:
(
(
jwtToken
:
string
, macAddress
:
string
)
=>
Promise
<
AxiosResponse
<
DeviceInfoType
,
any
>
>
)
;
setPower
:
(
(
jwtToken
:
string
, macAddress
:
string
, value
:
number
)
=>
Promise
<
AxiosResponse
<
any
,
any
>
>
)
;
setPowerOff
:
(
(
jwtToken
:
string
, macAddress
:
string
)
=>
Promise
<
AxiosResponse
<
any
,
any
>
>
)
;
setPowerOn
:
(
(
jwtToken
:
string
, macAddress
:
string
)
=>
Promise
<
AxiosResponse
<
any
,
any
>
>
)
}
Parameters
baseURL:
string
= API_URL
Returns
{
deviceInfo
:
(
(
jwtToken
:
string
, macAddress
:
string
)
=>
Promise
<
AxiosResponse
<
DeviceInfoType
,
any
>
>
)
;
setPower
:
(
(
jwtToken
:
string
, macAddress
:
string
, value
:
number
)
=>
Promise
<
AxiosResponse
<
any
,
any
>
>
)
;
setPowerOff
:
(
(
jwtToken
:
string
, macAddress
:
string
)
=>
Promise
<
AxiosResponse
<
any
,
any
>
>
)
;
setPowerOn
:
(
(
jwtToken
:
string
, macAddress
:
string
)
=>
Promise
<
AxiosResponse
<
any
,
any
>
>
)
}
device
Info
:
(
(
jwtToken
:
string
, macAddress
:
string
)
=>
Promise
<
AxiosResponse
<
DeviceInfoType
,
any
>
>
)
(
jwtToken
:
string
, macAddress
:
string
)
:
Promise
<
AxiosResponse
<
DeviceInfoType
,
any
>
>
Parameters
jwtToken:
string
macAddress:
string
Returns
Promise
<
AxiosResponse
<
DeviceInfoType
,
any
>
>
set
Power
:
(
(
jwtToken
:
string
, macAddress
:
string
, value
:
number
)
=>
Promise
<
AxiosResponse
<
any
,
any
>
>
)
(
jwtToken
:
string
, macAddress
:
string
, value
:
number
)
:
Promise
<
AxiosResponse
<
any
,
any
>
>
Parameters
jwtToken:
string
macAddress:
string
value:
number
Returns
Promise
<
AxiosResponse
<
any
,
any
>
>
set
Power
Off
:
(
(
jwtToken
:
string
, macAddress
:
string
)
=>
Promise
<
AxiosResponse
<
any
,
any
>
>
)
(
jwtToken
:
string
, macAddress
:
string
)
:
Promise
<
AxiosResponse
<
any
,
any
>
>
Parameters
jwtToken:
string
macAddress:
string
Returns
Promise
<
AxiosResponse
<
any
,
any
>
>
set
Power
On
:
(
(
jwtToken
:
string
, macAddress
:
string
)
=>
Promise
<
AxiosResponse
<
any
,
any
>
>
)
(
jwtToken
:
string
, macAddress
:
string
)
:
Promise
<
AxiosResponse
<
any
,
any
>
>
Parameters
jwtToken:
string
macAddress:
string
Returns
Promise
<
AxiosResponse
<
any
,
any
>
>
device
Info
device
Info
(
jwtToken
:
string
, macAddress
:
string
)
:
Promise
<
AxiosResponse
<
DeviceInfoType
,
any
>
>
Parameters
jwtToken:
string
macAddress:
string
Returns
Promise
<
AxiosResponse
<
DeviceInfoType
,
any
>
>
set
Power
set
Power
(
jwtToken
:
string
, macAddress
:
string
, value
:
number
)
:
Promise
<
AxiosResponse
<
any
,
any
>
>
Parameters
jwtToken:
string
macAddress:
string
value:
number
Returns
Promise
<
AxiosResponse
<
any
,
any
>
>
set
Power
Off
set
Power
Off
(
jwtToken
:
string
, macAddress
:
string
)
:
Promise
<
AxiosResponse
<
any
,
any
>
>
Parameters
jwtToken:
string
macAddress:
string
Returns
Promise
<
AxiosResponse
<
any
,
any
>
>
set
Power
On
set
Power
On
(
jwtToken
:
string
, macAddress
:
string
)
:
Promise
<
AxiosResponse
<
any
,
any
>
>
Parameters
jwtToken:
string
macAddress:
string
Returns
Promise
<
AxiosResponse
<
any
,
any
>
>
sign
In
sign
In
(
username
:
string
, password
:
string
)
:
Promise
<
string
>
Sign in to return the JWT token.
Parameters
username:
string
password:
string
Returns
Promise
<
string
>
Exports
Commands
Type
Device
Info
Type
Status
Type
Temperatures
Type
User
Parameters
Type
API_
URL
configure
device
Info
set
Power
set
Power
Off
set
Power
On
sign
In
Generated using
TypeDoc
Sign in to return the JWT token.