5 router info, 6 upgrade via api, Router info – Dovado PRO User Manual

Page 25: Upgrade via api

Advertising
background image

T h e M o b i l e C h o i c e f o r y o u r B r o a d b a n d I n t e r n e t

API

25

© 2014 Dovado FZ-LLC

pass [secret_password] (log in with secret_password)
info (prints general information about the router)
services (lists services)
upgrade (upgrades router to latest available firmware)

Tellstick:

ts aliases (lists configured aliases)
ts groups (lists configured groups)
ts turn [alias] [on]/[off]
ts dim [alias] [0...100] (Dimming the device to XX%)
ts dims [alias] [0...100] (Turns the device off before dimming to XX%)
ts dimot [alias] [Start level 0...100] [Stop level 0...100] [Duration xx min]

(Dim from start to stop level over XX minutes)

ts add [alias] [protocol] [house] [channel]
ts add_group [alias] [list_of_device_aliases] (the list is a space separated list of devices)
ts remove [alias]
ts remove_group [alias]

examples: ts add MYLAMP WAVEMAN A 3

ts turn MYLAMP on

ts remove MYLAMP

SMS:

sms list (returns number of unread/read messages)
sms send [PDU]
sms sendtxt NUMBER [ENCODING]

NUMBER:international format without the leading +. A leading s indicates short SMS

(eg s4612345678)

ENCODING:ISO|UCS (ISO for ascii < 256). Leave blank for autodetection

sms recv [ID] (returns PDU with ID or all PDUs in the inbox if ID is empty [ID:PDU])
sms recvtxt [ID] (returns cleartext SMS with ID or all cleartext SMS in the inbox

if ID is empty)

sms del ID

4.5

Router info

To display information about the router, execute the command:
info

It will respond with a list of parameters, for example:

Firmware_Revision:7.0.0
New firmware available:yes
API_version:1.4
PRODUCT_NAME=Dovado PRO
SIGNAL_STRENGTH=-
TRAFFIC_MODEM_TX=0
TRAFFIC_MODEM_RX=0
TRAFFIC_WAN_TX=0
TRAFFIC_WAN_RX=0
CONNECTION=modem
MODEM_STATUS=DISCONNECTED
EXTERNAL_IP=-
DATE=2010-04-10
TIME=08:11
GPS_TYPE=FIXED
GPS_LAT=59.2222
GPS_LONG=18.1111
SUNRISE=05:48
SUNSET=19:50
SMS_UNREAD=0
SMS_TOTAL=0
CONNECTED_DEVICES=TELLSTICK

4.6

Upgrade via API

The command info will show if there is a new firmware available

Firmware_Revision:7.0.0
New firmware available:yes
API_version:1.4

To start a firmware upgrade of the router, execute the command:
upgrade

Advertising