Custom configuration for the simulation can be added
This commit is contained in:
parent
682201626c
commit
97bf9357f7
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,4 +1,5 @@
|
|||||||
wlancfg.lua
|
wlancfg.lua
|
||||||
config.lua
|
config.lua
|
||||||
|
simulation.config.lua
|
||||||
*.swp
|
*.swp
|
||||||
unit/testTimesMarchOctoberWithAllSeconds.lua
|
unit/testTimesMarchOctoberWithAllSeconds.lua
|
||||||
|
@ -13,3 +13,9 @@ sntpserverhostname="ptbtime1.ptb.de"
|
|||||||
timezoneoffset=1
|
timezoneoffset=1
|
||||||
mqttServer="192.168.1.1"
|
mqttServer="192.168.1.1"
|
||||||
mqttPrefix="test"
|
mqttPrefix="test"
|
||||||
|
|
||||||
|
if (file.open("simulation.config.lua")) then
|
||||||
|
dofile("simulation.config.lua")
|
||||||
|
else
|
||||||
|
print("Default configuration, used")
|
||||||
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user