H and welcome to the forum.
All the ground pins of the GPIO port are already shorted - they are effectively the same signal. So you will do no damage.
Code: Select all
def on_message(client, userdata, msg): if msg.payload == "close": os.system('play --no-show-progress %s --channels 2 synth %s' % (sound1, duration)) print "Topic: ", msg.topic + "\nMessage: " + str(msg.payload)