J'arrête avec mon send_data pour commencer maintenant avec http_post qui lui aura son fifo
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
-- Petit script pour faire office de crontab pour les mesures
|
||||
print("\n 0_cron.lua zf200523.1841 \n")
|
||||
print("\n 0_cron.lua zf200524.1224 \n")
|
||||
|
||||
cron1=tmr.create()
|
||||
cron1:alarm(5*1000, tmr.ALARM_AUTO, function()
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
-- Petit script pour envoyer les valeurs sur un serveur WEB (InfluxDB)
|
||||
-- via un http GET
|
||||
-- via un http POST
|
||||
|
||||
function send_data()
|
||||
if verbose then print("\n 0_send_data.lua zf200523.1816 \n") end
|
||||
if verbose then print("\n 0_send_data.lua zf200524.1225 \n") end
|
||||
|
||||
function zpost(zarg)
|
||||
if verbose then print("influxdb_url: "..influxdb_url) end
|
||||
|
||||
Reference in New Issue
Block a user