Request to add Get method to readings.php

Talks about metering
Post Reply
Tux_92
Posts: 1
Joined: Thu Apr 16, 2020 12:58 pm

Request to add Get method to readings.php

Post by Tux_92 » Thu Apr 16, 2020 1:15 pm

Hi @jeanmarc, first of all thanks for your beautiful work.

In the next versions I request to add a php GET method to preload graphic bar with personalized value.

For example I would like to save this link as bookmark on my browser to see montly report .

http://IP_SERVER/metern/readings.php?datefrom=20200101&dateto=20200131&meters[]=1&meters[]=2&meters[]=3&meters[]=4&meters[]=5

Where:
-datefrom: start date for graph in format YYYYMMDD
-dateto: end date for graph in format YYYYMMDD
-meters[]: an array of meters ID to enable visualization on graph.

The same can be do with detailed.php and comparison.php with other variables.

Thank you. Good work! ;)

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests