Log data for percentage dummy sensor

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
woody4165
Posts: 476
Joined: Monday 14 March 2016 13:55
Target OS: Linux
Domoticz version: beta
Location: Rome, Italy
Contact:

Log data for percentage dummy sensor

Post 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
Last edited by woody4165 on Thursday 05 May 2016 6:45, edited 1 time in total.
Cubietruck - Linux cubietruck 4.13.16 (Debian GNU/Linux 8 (jessie)) + Domoticz + RFLink, Xiaomi Gateway, Owl USB, Yeelight Color and B/W, ESP8266, Broadlink RM2, Netatmo Thermostat
User avatar
Nemehy
Posts: 1
Joined: Thursday 19 January 2017 16:34
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Paris, France
Contact:

Re: Log data for percentage dummy sensor

Post 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:
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest