device_id?

Post your questions and help other users.

Moderator: Martin

Post Reply
evebrea
Posts: 116
Joined: 12 Aug 2013 15:28

device_id?

Post by evebrea » 08 Sep 2013 23:18

I made a flow that when my device gets a notification, seeks out the location with gps, then emails it to me.

I have two devices, I'd like to label WHICH the email came from.

I tried script : global_name = {device_id}, and and did speech output : {global_name} is the device name

it keeps saying "Null is the device name"

Can i get device name to send in the email subject, or is this not possible?
if not, how do i find out what my device is? Like.. is there a way to read the part of "about phone/tablet" that says "model number" ? that would do.

User avatar
MURTUMA
Posts: 697
Joined: 05 Mar 2013 22:43

Re: device_id?

Post by MURTUMA » 09 Sep 2013 08:03

I'm not sure if the divide id is available in variable form but you could just manually input whatever name you desire. You have to have the flow enabled in both of your devices anyway, so I don't see the problem why not to do that?

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: device_id?

Post by Martin » 09 Sep 2013 16:58

You can also initialize some variables with telephony related values by using the action Init Variables Phone Info (for example IMEI or SIM serial number).

evebrea
Posts: 116
Joined: 12 Aug 2013 15:28

Re: device_id?

Post by evebrea » 10 Sep 2013 05:43

I'm more looking for the name. Like lg P999 and Nexus 7

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: device_id?

Post by Martin » 10 Sep 2013 17:08

The device model name is not available in a built-in variable.
You can define your own global variable on each device and set a custom name (on the flow list: Menu->Manage->Global Variables, Select Add, use a name like global_device_name and use this variable in your flows).

Post Reply