Comments (5)
So, i see float16 is supported in pymodbus.client_payload()
But not in modbus_task.pl
Looks like one charge is needed
elif "float32" == ref.dtype:
ref.update_value(decoder.decode_32bit_float())
cur_ref += ref.ref_width
Duplicate that code and add
elif "float16" == ref.dtype:
ref.update_value(decoder.decode_16bit_float())
cur_ref += ref.ref_width
I can do it if you want as a pull request?
from modpoll.
Hi @mitchell-pioneer ,
Cool, your contribution is most welcome.
Gavin
from modpoll.
Gavin,
I was unable to work with the python packages so I just made changes to one file. here it is.
What this does is provide support for Morningstar solar charge controllers
https://www.morningstarcorp.com/product_category/solar-charge-controllers/
Ill let you know if I find any other issues.
from modpoll.
Hi @mitchell-pioneer ,no worries. I'll merge your changes in the next release. Thanks.
Would be great if you could share your Modbus configure file for Morningstar after you test it out.
Happy coding!
from modpoll.
I'm going to integrate to several of their charge controllers.. I'll send my results when their done.
from modpoll.
Related Issues (20)
- Consider upgrade `pymodbus` to version 3.2.2 HOT 2
- Add poll interval/rate for every single poll HOT 4
- writing registers with modpoll - how to do....? ...reading works fine ! HOT 7
- How must the config file look like?
- docker compose file example is missing HOT 1
- pip install modpoll - dosn't work HOT 2
- polling coils with 2 bits possible HOT 7
- Consider update dependency of `pymodbus` to v3.5.2 HOT 1
- unable to run modpoll HOT 1
- Exceptions when calling local config file HOT 5
- Issue specifying <object_type>+<start_address> HOT 2
- Modbus TCP RTU Framer HOT 3
- Ommiting Addresses Prior to a Specified Coil HOT 2
- pyserial missing in dockerimage
- Move to RS485 breaks implementation HOT 7
- Added logic to only push mqtt messages when a change is outside of a range HOT 2
- breaking change in paho.mqtt.python HOT 1
- Publish timestamp along with data HOT 1
- Command Line option to assist with specific subscribe and publish topics HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from modpoll.