Group Location
Explore Plans
Mobile menu Close menu
INSTARINSTAR

Switch alarm areas

This action will allow you to turn your camera's motion detection areas on or off.

About this action

Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.

Developer info

Description
This action will allow you to turn your camera's motion detection areas on or off.
API endpoint slug
instar.areas_on
Filter code method
Instar.areasOn.skip(string?: reason)
Runtime method
runAction("instar.areas_on", {})

Action fields

Cam name Dropdown list

Label
Camera Name in Cloud
Helper text
Camera name from INSTAR Cloud, if there is no any camera, you can create it in INSTAR Cloud
Slug
cam_name
Required
true
Can have default value
false

Area1 Dropdown list

Label
Area 1
Helper text
This is to set area 1 to be active or inactive
Slug
area1
Required
true
Can have default value
true
Filter code method
Instar.areasOn.setArea1(string: area1)

Area2 Dropdown list

Label
Area 2
Helper text
This is to set area 2 to be active or inactive
Slug
area2
Required
true
Can have default value
true
Filter code method
Instar.areasOn.setArea2(string: area2)

Area3 Dropdown list

Label
Area 3
Helper text
This is to set area 3 to be active or inactive
Slug
area3
Required
true
Can have default value
true
Filter code method
Instar.areasOn.setArea3(string: area3)

Area4 Dropdown list

Label
Area 4
Helper text
This is to set area 4 to be active or inactive
Slug
area4
Required
true
Can have default value
true
Filter code method
Instar.areasOn.setArea4(string: area4)