Usage vs Meter

Moderator: leecollings

Post Reply
alexsh1
Posts: 169
Joined: Wednesday 30 September 2015 11:50
Target OS: Raspberry Pi / ODroid
Domoticz version: v3.8975
Location: United Kingdom
Contact:

Usage vs Meter

Post by alexsh1 »

Hi all,

I have Arduino Nano with a pulse meter and nrf2401l reporting data back to Domoticz. I am just trying to understand the difference between "Usage" and "Meter".
Meter provides me with current usage, usage today and yesterday. What is "Usage" providing? I need to figure out why it is only updates once when Arduino starts up.


Regards
Alex
Attachments
Screenshot (3).png
Screenshot (3).png (64.19 KiB) Viewed 1149 times
User avatar
gizmocuz
Posts: 2709
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Usage vs Meter

Post by gizmocuz »

You should add a $ character infront of the name for the usage

the difference, usage only reports the usage, and the power also have the counter value and the usage,
and you should use this one

what happens internally:
- usage is received, and reported to domoticz
- next, a power sensor is received, and reported to domoticz!, nice!
- we keep updating only the power sensor with the power and usage, the usage sensor is not updated anymore

thats why you receive a timeout

we could also always update the usage sensor... but why would we, as we have a good power+usage sensor
Quality outlives Quantity!
alexsh1
Posts: 169
Joined: Wednesday 30 September 2015 11:50
Target OS: Raspberry Pi / ODroid
Domoticz version: v3.8975
Location: United Kingdom
Contact:

Re: Usage vs Meter

Post by alexsh1 »

gizmocuz wrote: - we keep updating only the power sensor with the power and usage, the usage sensor is not updated anymore

thats why you receive a timeout
Got ya!
So in really only one is needed for the energy monitor unless there is a complex set-up (solar + normal usage).
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests