Search found 6 matches

by jstruik
Thursday 18 February 2021 18:50
Forum: Other questions and discussions
Topic: API for historical data of virtual sensor
Replies: 5
Views: 487

Re: API for historical data of virtual sensor

with a capital P! Thank you
by jstruik
Thursday 18 February 2021 16:16
Forum: Other questions and discussions
Topic: API for historical data of virtual sensor
Replies: 5
Views: 487

Re: API for historical data of virtual sensor

I can confirm your behaviour though. I created a virtual sensor type wind (idx 110), and added some dummy data through the API.

The result is then retrieved with
http://[IP]:{PORT]/json.htm?type=graph&sensor=wind&idx=110&range=day

{
"result" :
[
{
"d" : "2021-02-18 16:10",
"di" : "141.0 ...
by jstruik
Thursday 18 February 2021 13:49
Forum: Other questions and discussions
Topic: API for historical data of virtual sensor
Replies: 5
Views: 487

Re: API for historical data of virtual sensor

this is my complete result when graph=counter, my virtual sensor has sensor type "custom sensor"
I am running on Jadahl's version 2020.1.11804 for synology

{
"ValueQuantity" : "",
"ValueUnits" : "",
"status" : "OK",
"title" : "Graph counter day"
}

when graph=wind, this is the complete result ...
by jstruik
Thursday 18 February 2021 11:57
Forum: Other questions and discussions
Topic: API for historical data of virtual sensor
Replies: 5
Views: 487

API for historical data of virtual sensor

I have worked with this API to retrieve historical data
http://[IP]:[port]/json.htm?type=graph&sensor={XYZ}&idx=[IDX]&range=day
where XYZ in [rain,wind,winddir,uv,fan,counter,temp]

but none of these seem to work when the IDX is a virtual sensor. Is this a known issue? Did I miss an alternative ...
by jstruik
Wednesday 27 May 2020 22:25
Forum: Python
Topic: Python Plugin : Xiaomi Philips LED Ball Lamp
Replies: 54
Views: 16957

Re: Python Plugin : Xiaomi Philips LED Ball Lamp

for future reference: after the synology DSM upgrade the plugin didn't work anymore. I had to rethink the steps taken previous month

bash expects a file python3 in the /usr/bin directory. In my case (Synology DS216j), it wasn't present. With a symbolic link it worked again:

cd /usr/bin
sudo ln -s ...
by jstruik
Thursday 30 April 2020 15:47
Forum: Python
Topic: Python Plugin : Xiaomi Philips LED Ball Lamp
Replies: 54
Views: 16957

Re: Python Plugin : Xiaomi Philips LED Ball Lamp

@Samuel
thank you so much for your effort. I accidentally bought this Xiaomi Philips LED bulb. I wanted to buy the Xiaomi ZNLDP12LM which has Zigbee support to match my xiaomi mijia temperature sensors...
Nevertheless, your plugin saved me from reverse-engineering the protocol and building a ...