Comments (7)
If it's Sunspec it already is supported- just use FRONIUS:id and the TCP address for the adapter.
from mbmd.
The modbus slaveid you‘re inverter is listening to.
from mbmd.
OK, I'd to switch Modbus "Sunspec Model Type" from "float" to "int + SF" and added models: 120,121,122 now I can see some measurements.
Question:
Models 120,121,122 are not quite interesting. How to "blacklist"(?) these models?
To make compile fine, I'd added something like these to code:
var opcodeMap = map[string]meters.Measurement{
[..]
model120.ARtg: meters.BatteryVoltage,
model121.WMax: meters.BatteryVoltage,
model122.ActVAh: meters.BatteryVoltage,
}
But it's UGLY fix (used without any "deeper study of code").
from mbmd.
@bilbolodz its really hard for me to follow what your actual problem and goal is.
OK, I'd to switch Modbus "Sunspec Model Type" from "float" to "int + SF" and added models:
What do you mean? Switch what? To solve which problem? As I've said, the inverter should be supported without any changes. What is missing?
Models 120,121,122 are not quite interesting. How to "blacklist"(?) these models?
Why did you add them in the first place?
Could you please- before we continue- show the output of mbmd inspect
for your device to understand which models it supports?
I can also suggest to switch to German if that would be easier.
from mbmd.
What do you mean? Switch what?
"Sunspec Model Type" it's setting in Fronius Modbus card. You can chose which registers are "active" (float vs int + sf model)
To solve which problem?
I've put some comments before but then deleted because I've found sollution my self.
As I've said, the inverter should be supported without any changes. What is missing?
Main problem was that your "original code" ended with error: "sunspec: could not find supported model"
Why did you add them in the first place?
To get mbmd working I'd to add these models to source and recompile. Now inverter is detected and working .
I can also suggest to switch to German if that would be easier.
Sorry I don't speak german but if you can we can switch to Polish ;-)
Could you please- before we continue- show the output of mbmd inspect for your device to understand which models it supports?
I'd like to get some information (values for string1 and string2) from model160.
from mbmd.
As I've said, the inverter should be supported without any changes. What is missing?
Sorry for trouble!!!! I've checked again and it turned out that it's working on your ORGINAL code!
I was stupid and tired yesterday!
But still question "how to get values for MPPT" from model160 is active.
from mbmd.
"Sunspec Model Type" it's setting in Fronius Modbus card. You can chose which registers are "active" (float vs int + sf model)
That's really confusing. Sunspec clearly defines the encoding of each register- not sure why Fronius allows to chose anything.
Sorry I don't speak german but if you can we can switch to Polish ;-)
Wish I could :/
Sorry for trouble!!!! I've checked again and it turned out that it's working on your ORGINAL code!
I was stupid and tired yesterday!
You're totally welcome, glad it works.
But still question "how to get values for MPPT" from model160 is active.
See my comment in #70
from mbmd.
Related Issues (20)
- Fix Support for CG EM24 Ethernet Version HOT 7
- show battery status HOT 2
- MBMD SUNSPEC Goodwe ModBus API zeigt nicht alle Werte HOT 1
- Add config option to send PIN for D0 meter setup
- does it work with a Solar Edge SE5k RWB ? HOT 1
- Feature request: make meter configurable
- Certain data missing in MQTT
- Inepro PRO380 MOD old version HOT 5
- solar edge meter HOT 6
- Add-Request: Implementation of meter YG889 from Shanghai Yige Electric Co., Ltd. possible? HOT 3
- SBC Ale3 can't be connected
- Bad readings since midnight 28/12 HOT 5
- "--timeout" Parameter not working / constant timeout errors HOT 1
- Using mbmd with reverse-proxy HOT 5
- Read inverter heatsink temperature data and report to MQTT HOT 2
- disable homie via yaml-config HOT 4
- data from SDM120M incomplete HOT 7
- Eastron SDM630 does not deliver current values HOT 1
- Web frontend is no longer working on current Chromium based browsers HOT 2
- No reconnect to MQTT after restart MQTT-Server HOT 7
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 mbmd.