|  Developer
Updated on May 16, 2022

Camera

Edit
Upgrading firmware

When the camera is upgrading its firmware, the “status” field will be set to “upgrading“.

Delete device

When the camera is deleted, the plugin will first send the reset command to the camera, and then it will delete it.

The device will be deleted even if the reset command is not successful.

Edit
Items
Name Value Type Possible values Description
audio_stream token closed
opened
Contains the status of the audio stream.
The ID of the audio stream is the same as the ID of this item.
camera_stream cameraStream Contains the default streaming URL.
camera_stream_low cameraStream Contains the low bandwidth streaming URL.
sd_card_capacity int Any positive int Contains the SD card capacity in megabytes (MB).
sd_card_free_space int Any positive int Contains the SD card free space in megabytes (MB).
sd_card_status token not_present
unformatted
formatting
ok
Contains information about the SD card.
Set-only items
Name Value Type Possible values Description
audio_stream_control token create
delete
Used to create and delete an audio stream for 2-way audio.
The stream ID is the item ID of the audio_stream item.
format_sd_card int Any int Sends command to format the SD card. The status of the SD card can be read from the sd_card_status item.
make_recording int 0, 15 – 60 Make a recording, and save it to the cloud.
The value represents the duration of the recording.
Using a value of 0 means do a recording with the default duration (30 seconds).
stop_recording int Any int Stop the recording started previously with make_recording.
take_snapshot int Any int Take a snapshot and save it to the cloud.
reset int Any int Reset the camera to factory defaults.
Edit
Name Value Type Possible values Default value Description
date_format token DD-MM-YYYY
MM-DD-YYYY
YYYY-MM-DD
MM-DD-YYYY View and change the date format on the video overlay.
YYYY = full year (e.g. 2020)
MM = month number (e.g. 10)
DD = day number (e.g. 02)
ir_led token 0 = Day
1 = Night
2 = Auto
2 Used to set the IR LED mode.
microphone_volume int 0 – 100 60 View and change the microphone volume.
Setting the microphone volume to 0 disables the microphone.
motion_sensitivity int 0 – 100 40 View and change the motion sensitivity of the camera.
Setting the motion sensitivity to 0 disables the motion detection.
night_vision_luminance int 20 – 100 60 View and change the night vision luminance.
night_vision_mode token 0 = Infrared
1 = White light
2 = Smart
2 View and change the night vision mode.
recording_mode token 0 = SD card recording disabled
1 = SD card recording enabled
2 = Only manual SD card recording enabled. Motion triggered SD card recording disabled
1 View and change the SD card recording mode.
speaker_volume int 0 – 100 75 View and change the camera speaker volume.
Setting the speaker volume to 0 mutes the sound.
status_led token 0 = Disabled
1 = Enabled
1 Used to enable or disable the Status LED.
time_format token 12hour
24hour
12hour View and change the time format.
white_light_alarm token 0 = Disabled
1 = Enabled
0 Enable or disable the four short flashes that trigger when motion is detected.