I'm using Domoticz since 2008, but I don't know why, I only register to this forum today ... don't ask me why
I'm starting to do some more advanced stuff, that's probably the reason.
I'm busy collecting the water meter data, but this is not where I need support. Part of my workflow, I'm updating the data using Domoticz API.
Something similar to this :
Code: Select all
?type=command¶m=udevice&idx=5997&nvalue=0&svalue=45
- What type of virtual sensor is best for collecting water usage ? I've tried many : counter incremental, custom sensor, water flow ... I still cannot decide what's the best option.
- In the above API call, I need to understand what nvalue and svalue stands for. I understood svalue is the usage since the last measure. So, when I read my meter, I substrating the current value with the previous value, so I have my usage, and this is that value that I need to send to domoticz to see the usage per time interval. Am I right ?
Thanks for the support.
Take care,
Fred.