Giter Club home page Giter Club logo

gotsmart's People

Contributors

basvdlei avatar miouge1 avatar robbertnoordzij avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gotsmart's Issues

Confirm BSD usage

Hello @basvdlei I'd like to use your DSMR parser implementation as part of evcc-io/evcc#3284. According to the BSD license it seems as if this would require your approval. I'd appreciate if it could be given?

One small suggestion to simplify the usage of the code as library would be to provide a

DataObject.FloatValue() (float64, error)

method that should parse the value string and handle units to return derived base unit (i.e. multiply/divide by 1e3).

Telegrams w/o CRC, Kilo, *255

Is your feature request related to a problem? Please describe.
The DSMR parser currently seems to

  • require CRCs
  • assumes "kW" only (i.e. ignores "W" units) and
  • stumbles over "*255" suffix to the OBIS code

Telegrams like this don't work:

 /ESY5Q3DB1024 V3.04

1-0:0.0.0*255(0272031312565)
1-0:1.8.0*255(00066982.7369255*kWh)
1-0:2.8.0*255(00025261.5976087*kWh)
1-0:21.7.0*255(000210.92*W)
1-0:41.7.0*255(000225.08*W)
1-0:61.7.0*255(000144.75*W)
1-0:1.7.0*255(000580.75*W)
1-0:96.5.5*255(80)
0-0:96.1.255*255(1ESY1313002565)
!

Describe the solution you'd like

  • Parse units w/o kilo correctly
  • Accept CRC-less telegrams
  • Accept "*255" suffix to the OBIS codes

Describe alternatives you've considered
My current workaround is parsing above telegrams and re-assembiling them in evcc-dsmr
The workaround can be found here: https://github.com/Aeroid/dsmr-tools as a python tcp bridge. It also includes a few more dumped telegrams.

Additional context
see also ndokter/dsmr_parser#92
and evcc-io/evcc#11772

Documentation

Hi, is there any documentation on how to run this or package it in Docker?

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.