1.0.43
Amber Javascript SDK
AmberUserException is used when an AmberClient object can't be created. (bad json, missing required fields, etc)
Extends Error
(any)
(any
= null
)
AmberHttpException is used when a an API request fails
Extends Error
(any)
(any
= null
)
AmberClient
(any
= 'default'
)
(any
= '~/.Amber.license'
)
(any
= true
)
(any
= null
)
(any
= 300
)
List all sensor instances currently associated with Amber account
Get info about a sensor
(any)
Create a new sensor instance
(any
= undefined
)
Update the label of a sensor instance
(any)
sensor identifier
(any)
new label to assign to sensor
Configure an amber sensor instance
(any)
(any
= 1
)
(any
= 25
)
(any
= 10000
)
(any
= 10
)
(any
= 10000
)
(any
= 1000
)
(any
= 1000000
)
(any
= 10000
)
(any
= []
)
(any
= null
)
(any)
Promise<unknown>
:
Enable learning on existing sensor
(any)
(any
= null
)
(any
= null
)
(any
= null
)
(any
= null
)
Promise<unknown>
: