Skip to content
This repository was archived by the owner on Apr 30, 2025. It is now read-only.

Share register models #2

Open
andig opened this issue Oct 27, 2019 · 1 comment
Open

Share register models #2

andig opened this issue Oct 27, 2019 · 1 comment

Comments

@andig
Copy link

andig commented Oct 27, 2019

Continued from sunspec/models#44:

I have for some time been developing https://github.com/volkszaehler/mbmd - different language, different goals.

One thing that I see as common denominator is the mapping of specific registers (especially outside of sunspec) to a) their physical meaning and b) the necessary en/decoding. If you which we could join forces and design some kind of meta representation that would allow to create the likes of https://github.com/volkszaehler/mbmd/tree/master/meters/rs485 in a generative way.

@nielsbasjes
Copy link
Owner

Hi @andig,

I realized I never responded to your excellent suggestion from so many years ago.

Sorry about that.

I have read it and it did start me thinking; can this be done?

Over the years I have been working on something that may interest you in this light: https://modbus.basjes.nl

This includes an open standard (to be clear, it's my standard) way of describing the mapping schema for a modbus device and also includes a (first version) of a code generator that is capable of generating Java and Kotlin code from that.

I'm archiving this project on favor of that new one.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants