Skip to main content
Skip table of contents

DeviceController

Last updated: 2025/3/7 11:37:5

Path To

Name

Description/Function

/api/device

/ambient

Gets the Ambient temperature of the device.

/api/device

/cpu

Gets the CPU temperature of the device.

/api/device

/firmwareversion

Gets the ROM version number.

/api/device

/buildpropversion

Gets the build prop script version number.

/api/device

/generation

Gets the camera model.

/api/device

/humidity

Gets the Humidity of the device.

/api/device

/internalstoragefound

Gets the camera model.

/api/device

/isupdating

Gets the camera model.

/api/device

/model

Gets the camera model.

/api/device

/nickname

Gets the Nickname of the device.

/api/device

/nickname/{nickname}

Gets the Nickname of the device.

/api/device

/ping

A simple way to ping the application.

/api/device

/restart

Reboot the camera.

/api/device

/romversion

Gets the ROM version number.

/api/device

/serialnumber

Gets the camera serial number.

/api/device

/storage

Returns the remaining storage space in GB.

/api/device

/teensymode

Gets the teensy mode at last startup.

/ambient

Function

Gets the Ambient temperature of the device.

Method

Get

Response

Ambient temperature.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/device/ambient

/cpu

Function

Gets the CPU temperature of the device.

Method

Get

Response

CPU temperature.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/device/cpu

/firmwareversion

Function

Gets the ROM version number.

Method

Get

Response

The ROM version.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/device/firmwareversion

/buildpropversion

Function

Gets the build prop script version number.

Method

Get

Response

The build prop script version.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/device/buildpropversion

/generation

Function

Gets the camera model.

Method

Get

Response

The model of the camera.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/device/generation

/humidity

Function

Gets the Humidity of the device.

Method

Get

Response

Humidity.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/device/humidity

/internalstoragefound

Function

Gets the camera model.

Method

Get

Response

The model of the camera.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/device/internalstoragefound

/isupdating

Function

Gets the camera model.

Method

Get

Response

The model of the camera.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/device/isupdating

/model

Function

Gets the camera model.

Method

Get

Response

The model of the camera.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/device/model

/nickname

Function

Gets the Nickname of the device.

Method

Get

Response

Nickname.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/device/nickname

/nickname/{nickname}

Function

Gets the Nickname of the device.

Method

Get

Response

Nickname.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/device/nickname/{nickname}

/ping

Function

A simple way to ping the application.

Method

Get

Response

Pong as a response.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/device/ping

/restart

Function

Reboot the camera.

Method

Get

Response

Status code 200, for an completed operation being preformed.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/device/restart

/romversion

Function

Gets the ROM version number.

Method

Get

Response

The ROM version.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/device/romversion

/serialnumber

Function

Gets the camera serial number.

Method

Get

Response

The serial number of the camera.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/device/serialnumber

/storage

Function

Returns the remaining storage space in GB.

Method

Get

Response

Free storage in GB.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/device/storage

/teensymode

Function

Gets the teensy mode at last startup.

Method

Get

Response

Teensy mode.

Example

CODE
$ curl http://IP_ADDRESS:8080>/api/device/teensymode
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.