Git Product home page Git Product logo

efergy-elite-ir-decode's People

Watchers

 avatar  avatar

Forkers

ukshady

efergy-elite-ir-decode's Issues

Calculate kWh

Sample is 30 secs so for an hour multiply by 120
For a meter with 1000 pulses per kWh
Take byte 8 divide by 1000 and multiply by 120 to get k Watts per hour

Energy Now Reading 0.239 KW

00001010 [ 0] = 10(0x0a)
10100010 [ 1] = 162(0xa2)
10111010 [ 2] = 186(0xba)
01000000 [ 3] = 64(0x40)
00000000 [ 4] = 0(0x00)
00000000 [ 5] = 0(0x00)
00000000 [ 6] = 0(0x00)
00000000 [ 7] = 0(0x00)
00000010 [ 8] = 2(0x02)
00001111 [ 9] = 15(0x0f)
00101010 [10] = 42(0x2a)
10101000 [11] = 168(0xa8)
10(0x0a) 162(0xa2) 186(0xba) 64(0x40) 0(0x00) 0(0x00) 0(0x00) 0(0x00) 2(0x02) 15(0x0f) 42(0x2a) 168(0xa8)
CRC OK

2 * 120 =0.240 kWh

Energy Now Reading 3.239 KW

00001010 [ 0] = 10(0x0a)
10100010 [ 1] = 162(0xa2)
10111010 [ 2] = 186(0xba)
01000000 [ 3] = 64(0x40)
00000000 [ 4] = 0(0x00)
00000000 [ 5] = 0(0x00)
00000000 [ 6] = 0(0x00)
00000000 [ 7] = 0(0x00)
00011011 [ 8] = 27(0x1b)
00001111 [ 9] = 15(0x0f)
10010011 [10] = 147(0x93)
01000011 [11] = 67(0x43)
10(0x0a) 162(0xa2) 186(0xba) 64(0x40) 0(0x00) 0(0x00) 0(0x00) 0(0x00) 27(0x1b) 15(0x0f) 147(0x93) 67(0x43)
CRC OK

27 /1000 * 120 = 3.24 kWh

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.