Page 1 of 1

device_id?

Posted: 08 Sep 2013 23:18
by evebrea
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.

Re: device_id?

Posted: 09 Sep 2013 08:03
by MURTUMA
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?

Re: device_id?

Posted: 09 Sep 2013 16:58
by Martin
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).

Re: device_id?

Posted: 10 Sep 2013 05:43
by evebrea
I'm more looking for the name. Like lg P999 and Nexus 7

Re: device_id?

Posted: 10 Sep 2013 17:08
by Martin
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).