Download Print this page
Robin SmartView Tech Note
Hide thumbs Also See for SmartView:

Advertisement

Quick Links

ROBIN
Tech Note
Version:
3.5.0 Robin NL
Datum:
01-11-2015

Advertisement

loading

Summary of Contents for Robin SmartView

  • Page 1 ROBIN Tech Note Version: 3.5.0 Robin NL Datum: 01-11-2015...
  • Page 2 Robin Tech Note How-To: Remote Control the Robin About this Tech Note This Tech Note is meant for the following Robin products: • Robin SIP • Robin SV • Robin CV • Robin HV Software release 3.5.0 and higher...
  • Page 3: Remote Control

    How-To: Remote Control the Robin Remote Control The Robin SIP , SV, CV and HV can be controlled using HTTP commands. It’s also possible to retrieve data from these Robin devices, such as: call status, streaming video and version info.
  • Page 4 Access to the MJPEG-video stream - Only available on Robin products with built-in camera - The Robin SV, CV and HV are equipped with a high resolution camera. It generates a Motion-JPEG video stream that can be retrieved with the following command: curl -u admin:<password>...
  • Page 5 Access to the latest video frame - Only available on Robin products with built-in camera - The Robin SV, CV and HV not only generate a Motion-JPEG video stream but also individual video frames (JPEG). These frames can be retrieved by using the following command: curl -u admin:<password>...
  • Page 6 “ok” : true ! Note: If the HTTP command to dial an extension contains an extension that is already known in the phone book, the Robin dials that extension and will use the profile that is defined for that extension. !
  • Page 7 • All incoming tones: Mute all tones from an incomming phone call • All tones: Mute all tones from incomming and outgoing phone calls • All audio: Mute the speakers of the Robin. It mutes all tones and voice. Use this option to listen- in on the Robin.
  • Page 8 Robin Tech Note How-To: Remote Control the Robin Command: curl -u admin:<password> “http://<address>/api/v1/mute_set?mute=off” Goal: disable the audio mute (all sound will be on) Answer: “rv” : { “mute”:”off” “ok” : true Command: curl -u admin:<password> “http://<address>/api/v1/mute_get” Goal: retrieve the audio mute status Answer: “rv”...
  • Page 9 Control the door opener using HTTP commands - Only available on the Robin SIP and Robin SV - You can control the Robin to open and close the door and retrieve the status of the door opener. The Robin will answer to these commands in JSON.
  • Page 10 - Only available on the Robin CV and HV - You can control the Robin to control the built-in relay switch(es). - The Robin CV is equipped with one relay switch, the Robin HV is equipped with two relay switch- es. - The Robin will answer to these commands in JSON.
  • Page 11 The SIP configuration of the Robin can be programmed and read using HTTP commands. The Robin will answer to these commands in JSON. Command: curl -u admin:<password> “http://<address>/api/v1/get_button_count” Goal: Retrieve the amount of available buttons on the Robin (1,2,4 or 6) -> Answer=1 Answer: “ok”:true,”rv”:1 Command: curl -u admin:<password>...
  • Page 12 Answer: “ok”:true,”rv”:[] Command: curl -u admin:<password> “http://<address>/api/v1/set_sip_config ?proto= udp&host=192.168.200.202&port=5060&username=test& password=secret&register=1” Goal: Configure the SIP settings of the Robin. In this example: SIP protocol=UDP , SIP proxy / Registar=192.168.200.202, SIP proxy port number=5060, Username=test, Password=secret, Register enabled (1). Answer: “ok”:true,”rv”:[] Command: curl -u admin:<password> “http://<address>/api/v1/get_sip_config”...
  • Page 13 Robin Tech Note How-To: Remote Control the Robin Go-to-Robin using HTTP commands Using HTTP commands, the Robin can connect, check the status and close the connection with the G0-to-Robin remote server. The Robin will answer to these commands in JSON.
  • Page 14 Robin Tech Note How-To: Remote Control the Robin Upgrade software version using HTTP commands The software of the Robin can be upgraded using HTTP commands. It takes eight steps to upgrade the Robin. The Robin will answer to these commands in JSON.
  • Page 15 Robin needs to reboot. See step 7: Command: curl -u admin:<password> “http://<address>/api/v1/get_versions” Goal: Retrieve the software versions. Answer: “ok”:true,”rv”:{ “version_available”:”dev+3870”, ”version_installed”:”dev+3870”, ”version_running”:”dev+3869” 7. Reboot the Robin, the reboot procedure can take up to one minute: Command: curl -u admin:<password> “http://<address>/api/v1/reboot” Goal: Reboor the Robin Answer: “ok”:true,”rv”:[]...
  • Page 16 Robin Tech Note How-To: Remote Control the Robin 8. After the reboot, use the ‘get_versions’ command to check if the upgrade. Is the “version_run- ning” identical to the “version_installed” and is the “version_available” empty? The upgrade went successfully: Command: curl -u admin:<password> “http://<address>/api/v1/get_versions”...
  • Page 17 Robin Tech Note How-To: Remote Control the Robin Miscellaneous settings using HTTP commands Use HTTP commands to make miscellaneous settings. Command: curl -u admin:<password> “http://<address>/api/v1/reset_defaults” Goal: Restore the factory settings. The Robin will automatically reboot. Answer: “ok”:true,”rv”:[]...
  • Page 18 Robin Tech Note How-To: Remote Control the Robin Recording feature - HTTP commands The recording feature of the Robin can be controlled using HTTP commands. The Robin will answer to these commands in JSON. video_list The ‘video_list’ call retrieves a list with all recorded videos. Each entry contains the following fields: • time: start time of the video (unix timestamp)
  • Page 19 Robin Tech Note How-To: Remote Control the Robin Play HLS video The video file can be accessed via the m3u8 url. Command: curl -u admin:<password> “http://<address>/recording/video-5.m3u8” Goal: Retrieve the video - In this case it contans four segments Answer: #EXTM3U...
  • Page 20 Robin Tech Note How-To: Remote Control the Robin call_log Retrieve the call log. Arguments: • id: id of a specific call Command: curl -u admin:<password> “http://<address>/api/v1/call_log” Goal: Retrieve the call log Answer: “ok”: true,“rv”: {“call_log”: [ “number”: “101@10.0.0.26”, “direction”: “incoming”, “time”: 1386753209,...
  • Page 21 How-To: Remote Control the Robin Control the Robin using Events The ‘Events’ method can be used to control functions of the Robin with custom commands. Use this if the direct HTTP commands don’t fit your needs. The first step is to create a ‘Source’, this will be the activator of the event.
  • Page 22 As ‘Type’, select ‘Call’ (the Robin will start an outgoing call when triggered) • As ‘Call extension’, select the default extension to dial • Apply settings If the following HTTP request is received by the Robin: http://<address>/evmgr/demo The Robin SV will dial the default extension that is set in the ‘Action’.