Page 1 of 1

Log data for percentage dummy sensor

Posted: Thursday 05 May 2016 6:45
by woody4165
Hi

Is it possible to get log data for a percentage dummy sensor?
I saw in the json list in the wiki, but found only for temp.
I mean to extract it with a json url.
I can see the graph, but I would like to get also data.
Is there any other way to get it?

Thanks

Re: Log data for percentage dummy sensor

Posted: Thursday 19 January 2017 16:41
by Nemehy
Hi,

I search for a long time (by testing different values in json API and through Google) and I find this post that summarizes all possible graph/logs : viewtopic.php?f=36&t=10272&p=73835&hili ... age#p73835

Code: Select all

http://127.0.0.1:8080/json.htm?
      type=graph
      &sensor={counter|Percentage|temp|rain|fan|wind|uv}
      &idx={_ID_}
      &method={int}
      &range={day|week|month|year}
         {
         &actmonth={month}
         &actyear={year}
         }
The sensor parameter for "Percentage" begins with a capital letter ! :shock: