Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cant seem to read software version #4

Open
arjepsen opened this issue May 27, 2018 · 4 comments
Open

cant seem to read software version #4

arjepsen opened this issue May 27, 2018 · 4 comments

Comments

@arjepsen
Copy link

Hey.
I got a Nilan VP18 heatpump, and your files works great for the most part - thanks for sharing!
One small issue I have, is that I can't seem to get the major, minor and versionrelease software version.
For the life of me I can't figure out why, but when I try to use the functions to read those values, I get "null".
Any help?

Regards
Anders

@starze
Copy link
Owner

starze commented May 28, 2018

Hi Anders,
Unfortunately, I have the same problem. I think it is due to the data type text. Probably these fields have a different register size than Nilan_Bus_Version. I stopped trying after a few attempts because the version was not so important to me. Here are some good starting points:

  • Nilan documentation: comfort-300-top
  • The services config file modbus.cfg.
  • The script readNilan.py
    • reads the registers correctly
    • uses minimalmodbus.read_string on text values instead of minimalmodbus.read_register - maybe there it is possible to determine the difference.

@arjepsen
Copy link
Author

arjepsen commented May 28, 2018 via email

@starze
Copy link
Owner

starze commented Jun 5, 2018

Did you get it?
I was wondering if that last version part "a" is really wrong or if it is their normal Version Schema.
I tried your suggestion with "utf8" but unfortunately that doesn't work for me. I am still getting "-".
I would appreciate a pull request or code snippet with your changes. Maybe there is a difference in the sitemap or items config, too?

Best regards
Starze

@arjepsen
Copy link
Author

arjepsen commented Jun 5, 2018 via email

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

No branches or pull requests

2 participants