added more templates and defined basic include/layout

This commit is contained in:
d3rped 2018-03-18 14:23:17 +01:00
parent e6b628f41a
commit 5b787bc400
6 changed files with 48 additions and 6 deletions

View file

@ -5,14 +5,17 @@ import uuid
import paho.mqtt.client as mqtt
from planet import Direction, Planet
from communication import Communication
from move import Move
client = None # DO NOT EDIT
# DO NOT EDIT
client = None
def run():
# DO NOT EDIT
global client
client = mqtt.Client(client_id=str(uuid.uuid4()), # client_id has to be unique among ALL users
# client_id has to be unique among ALL users
client = mqtt.Client(client_id=str(uuid.uuid4()),
clean_session=False,
protocol=mqtt.MQTTv31)