How to start mobile automated tests using selenium grid in python?

I’m trying to have some mobile automated tests running with appium and selenium grid. Once i done all configuration stuff and added grid nodes, how do i run my tests parallely in both devices?

Here’s my setUp():

desired_caps = {}
	desired_caps['platformName'] = 'Android'
	desired_caps['platformVersion'] = platformVersion
	desired_caps['deviceName'] = deviceName
	desired_caps['app'] = os.path.abspath(os.path.join(os.path.dirname(__file__), apk))
	desired_caps['appPackage'] = pkgName
	desired_caps['appActivity'] = appActvity
	desired_caps['noReset'] = True
	driver = webdriver.Remote('http://localhost:4444/wd/hub', desired_caps)
	driver.implicitly_wait(15)

What it supposed to be in deviceName in this case?

If i leave it blank, here’s what i got:

C:\Users\andre.mendes\Desktop\workspace\powerpro>java -jar selenium-server-standalone-2.44.0.jar -role hub

19:16:58.691 INFO - Launching a selenium grid server

2016-02-18 19:16:59.937:INFO:osjs.Server:jetty-7.x.y-SNAPSHOT

2016-02-18 19:16:59.968:INFO:osjsh.ContextHandler:startedo.s.j.s.ServletContextHandler{/,null}2016-02-18 19:16:59.995:INFO:osjs.AbstractConnector:[email protected]:4444

19:49:48.183 INFO - Got a request to create a new session: Capabilities[{app=C:\Users\andre.mendes\Desktop\workspace\powerpro\apps\powerpro.apk, appPackage=com.psafe.powerpro, appActivity=.MainActivity, noReset=true, platformVersion=5.1, platformName=Android, deviceName=}]

19:49:48.183 INFO - Available nodes: [host :http://127.0.0.1:4723, host :http://127.0.0.1:4733]

 19:49:48.183 INFO - Trying to create a new session on node host :http://127.0.0.1:4723

19:49:48.183 INFO - Trying to create a new session on test slot {newCommandTimeout=30, browserName=Android, maxInstances=1, version=5.1,deviceName=0429058934,deviceReadyTimeout=5, platform=ANDROID}

I successfully ran 4733, but got no luck with 4723.

Anyone? I’ve already read this entire thred: Connecting appium server to selenium grid for android