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
ChakkieC

Chakkie

@Chakkie
About
Posts
31
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Adjust / change total energy (kwh) and water (liter) value of the controller or GW
    ChakkieC Chakkie

    @mfalkvidd Thanks

    The idea of changing the pulseCount is correct. However I had set the value at the wrong place without realizing the pulseCount is reset at the Void setup() section.

     // Water Reset pulsecount
      pulseCountW = oldPulseCountW = 0;
    
      // Zonnepanelen Reset pulsecount
      pulseCountZ = oldPulseCountZ = 0;
    

    The solution is

    Change the 0 to : Value (meter) - Value (Controller)

    Upload the sketch. wait until the first pulse is sent to the gateway.

    If successed the controller (domoticz in my case) will show the total value matching the value on the physical meter.

    Now change the value in the sketch back to 0. (Otherwise each time you reset the sensor or the gateway the value wil be added to the total value.) Upload the sketch to the sensor.

    You are done. There is no need to Modify the Domoticz database with SQL tool.

    You will get the value you've just added to the total value in the day value log. If you find this ignoring you can delete this value the next day. This only applies to Energy meter. Do not apply this to the water meter as the result the total value of the water meter will be gone too.

    General Discussion
  • Login

  • Don't have an account? Register

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