Cela commence à envoyer des données à la DB InfluxDB :-)

This commit is contained in:
Christian Zufferey
2019-12-17 22:26:55 +01:00
parent bb16121bb6
commit ba9001be0e
3 changed files with 21 additions and 12 deletions

View File

@@ -1,6 +1,6 @@
-- Scripts à charger après le boot pour démarrer son projet
print("\n boot2.lua zf191124.2124 \n")
print("\n boot2.lua zf191217.2224 \n")
function boot2()
second_chance=nil initz=nil boot=nil
@@ -27,13 +27,15 @@ function boot2()
f= "secrets_project.lua" if file.exists(f) then dofile(f) end
f= "set_time.lua" if file.exists(f) then dofile(f) end
collectgarbage()
-- f= "0_htu21d.lua" if file.exists(f) then dofile(f) end
-- f= "0_send_data.lua" if file.exists(f) then dofile(f) end
-- f= "0_cron.lua" if file.exists(f) then dofile(f) end
f= "0_htu21d.lua" if file.exists(f) then dofile(f) end
f= "0_send_data.lua" if file.exists(f) then dofile(f) end
f= "0_cron.lua" if file.exists(f) then dofile(f) end
f= "web_srv2.lua" if file.exists(f) then dofile(f) end
f=nil
verbose = true
tmr.create():alarm(3*1000, tmr.ALARM_SINGLE, function()
print("BOOOOUM, y'a plus de boot2 !")
wifi_info=nil boot2=nil