Thanks for the reply.
$ /usr/bin/telegraf --version
Telegraf 1.16.3 (git: HEAD c7f21728)
Changed to the following:
a) added data_type = “float”
b) changed data_format = “value” instead of data_format = “influx”
and re-ran the test (/usr/bin/telegraf --config /etc/telegraf/telegraf.conf --test) and it is now working.
Both the link and docs helped. Without the data_type setting, it fails so it is very critical.
Now I’ve “systemctl enable telegraf && systemctl start telegraf” and stopped running the python script.
Thank you very much.
Harish
PS: I’ll be adding all of these learnings to my blog post about the project at My ESP8266-01 Adventure – life one degree north, one-o-three degrees east