Php script to read csv format file

Hi all, I’m using the data_simple.php script to store my sensor data
how can i read this file and post last value in php?

I don’t understand. Does it work or not ?

Yes the script works
I wanted to know if there is a php script to read the csv and publish values ​​on my site

Which csv.

You can easily put the graphics in an iframe.

https://maps.sensor.community/grafana/d/000000004/single-sensor-view-for-map?orgId=1&var-node=2492#

Or you can use the custom DB option in the firmware.

Thank you
but I preferred to do a scrapper of the csv data

A thousand thanks
I fixed it by creating a php script

1 Like