Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Controllers
  3. Domoticz
  4. Wrong data from mysensors.

Wrong data from mysensors.

Scheduled Pinned Locked Moved Domoticz
2 Posts 2 Posters 50 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • David MarlingeD Offline
    David MarlingeD Offline
    David Marlinge
    wrote on last edited by
    #1

    Hi,

    that's the firts time I use mysensors.
    I have a device which give me the instant current and total current for my house.
    In domoticz, when I go to the device screen, I can see 2020-08-09 (2).png that for number 40 the value is 2311414.016.
    But in the Utility screen, value is 0 !!! What Am I doing wrong ?
    2020-08-09 (3).png

    Thank you.

    nagelcN 1 Reply Last reply
    0
    • David MarlingeD David Marlinge

      Hi,

      that's the firts time I use mysensors.
      I have a device which give me the instant current and total current for my house.
      In domoticz, when I go to the device screen, I can see 2020-08-09 (2).png that for number 40 the value is 2311414.016.
      But in the Utility screen, value is 0 !!! What Am I doing wrong ?
      2020-08-09 (3).png

      Thank you.

      nagelcN Offline
      nagelcN Offline
      nagelc
      wrote on last edited by
      #2

      Hi @David-Marlinge
      I have struggled with these meters in Domoticz also. I am using an S_Power meter for an energy monitor which looks like what you are using. This is my understanding:

      The value on the top of the bar is the power you have most recently sent (in Watts).
      Domoticz calculates kWh from the watts and the time it was sent.
      kWh used today is shown on the Utility screen (your 2036.992).
      Overall kWh is what is shown on the device tab (your 2311414.016).

      I present an S_POWER device, then measure the current and multiply by the voltage to get the power in watts. Then I send that with a V_WATT message. I don't calculate the kWh. Domoticz calculates kWh from the Watts I send and time I send it.

      For example:

      present(CHILD_ID_PWR, S_POWER, "Emon 38/26H");
      . . . . . . . .
      MyMessage Msg_Pwr(CHILD_ID_POWER, V_WATT);
      . . . . . . 
      send(Msg_Pwr.set(Pwr, 1));
      

      Then the Pwr value should show up in that top bar. Domoticz will calculate the kWh used based on the time of the power updates.
      I have not really used the V_KWH variable, so I'm not sure how that fits in with this one.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      37

      Online

      11.7k

      Users

      11.2k

      Topics

      113.1k

      Posts


      Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • MySensors
      • OpenHardware.io
      • Categories
      • Recent
      • Tags
      • Popular