2 reading an sms via pdu, 4 removing an sms/pdu, 7 home automation – Dovado 4GR User Manual

Page 23: Home automation

Advertising
background image

T h e M o b i le C h o ic 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

23

© 2013 Dovado FZ-LLC

Stored IDs: 1

>> sms recvtxt 1
From: 46XXXXXXXXX
Sent: 12-07-23 11:27:36
Alphabet: UTF-8
ID: 1

Räksmörgås

End of SMS

>>

4.6.3.2

Reading an SMS via PDU

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

You can list all the current PDUs in your in the inbox using: sms recv
This will list all PDUs using in the format ID:PDU where ID is a unique internal descriptor of that
PDU (used for removing PDUs).
Conversion is needed to see the actual contents of the PDU.

Example:
>> sms list
new/total
1/1
Stored IDs: 1

>> sms recv 1
1:07916407970900F1040B91640XXXXXXXF40000217032117263800A

>>

4.6.4

Removing an SMS/PDU

sms del ID

First you need the ID of the PDU you want to remove. It can be obtained using the sms recv
command. Then to remove a SMS/PDU, type: sms del ID

Example:
>> sms list
new/total
0/1
Stored IDs: 1

>> sms del 1

>>

4.7

Home Automation

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]

Advertising