diff --git a/ConfigGenerator/ConfigDataStructure.py-example b/ConfigGenerator/ConfigDataStructure.py-example index b13e782..dbd9711 100644 --- a/ConfigGenerator/ConfigDataStructure.py-example +++ b/ConfigGenerator/ConfigDataStructure.py-example @@ -15,3 +15,6 @@ configItems = [ {"label":"MQTT DebugTopic", "key":"mqttDebugTopic", "type":"C", "length":64, "default":"IoT/RgbLed1/Debug"}, {"label":"DebugMode", "key":"debugMode", "type":"I", "default":0} ] + +magic = 0xC0DE0006 +appName = "ESP8266 based RgbLedLight" diff --git a/ConfigGenerator/configGen.py b/ConfigGenerator/configGen.py index 1d53fa1..449e2da 100644 --- a/ConfigGenerator/configGen.py +++ b/ConfigGenerator/configGen.py @@ -1,7 +1,7 @@ #!/usr/bin/python from Cheetah.Template import Template -from ConfigDataStructure import configItems +from ConfigDataStructure import configItems, magic, appName @@ -23,8 +23,6 @@ from ConfigDataStructure import configItems #] -magic = 0xC0DE0005 -appName = "ESP8266 based TwoLedSignal" confWifiSsid = "espconfig" params = {