J'arrête avec mon send_data pour commencer maintenant avec http_post qui lui aura son fifo

This commit is contained in:
Christian Zufferey
2020-05-24 12:25:29 +02:00
parent b8cc11ad97
commit f54cd6f5f9
2 changed files with 3 additions and 3 deletions

View File

@@ -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()

View File

@@ -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