-
Notifications
You must be signed in to change notification settings - Fork 41
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
Modbus multidevice support #44
Changes from 1 commit
dd5d867
211495f
a2ea808
d9d1fa5
dbb02b0
4f79be4
c12a030
5535dd7
d5c61e5
2d6e3d0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||
---|---|---|---|---|
|
@@ -374,7 +374,28 @@ | |||
9314: 'PlugwiseCircle', | ||||
9315: 'PlugwiseSting', | ||||
9316: 'SCS-1000', | ||||
9317: 'SB 5400TL-JP-22' | ||||
9317: 'SB 5400TL-JP-22', | ||||
9324: 'SBS1.5-1VL-10', | ||||
9325: 'SBS2.0-1VL-10', | ||||
9326: 'SBS2.5-1VL-10', | ||||
9344: 'STP4.0-3AV-40', | ||||
9345: 'STP5.0-3AV-40', | ||||
9346: 'STP6.0-3AV-40', | ||||
9366: 'STP3.0-3AV-40' | ||||
}, | ||||
'BatteryState': { | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I am not quite sure this will work or i can not find the function: AFAIK the values here are return values that are present in Modbus Register: There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Correct, but these values are not used to call modbus directly. They are used to interpret the modbus response codes here: Line 459 in cdf88e0
|
||||
303: 'Off', | ||||
2291: 'Standby', | ||||
2292: 'Charging', | ||||
2293: 'Discharging', | ||||
16777213: 'NA' | ||||
}, | ||||
'BatteryHealth': { | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I am not quite sure this will work or i can not find the function: AFAIK the values here are return values that are present in Modbus Register: There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Correct, but these values are not used to call modbus directly. They are used to interpret the modbus response codes here: Line 459 in cdf88e0
|
||||
35: 'Fault', | ||||
303: 'Off', | ||||
307: 'OK', | ||||
455: 'Warning', | ||||
16777213: 'NA' | ||||
} | ||||
} | ||||
|
||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add:
I can confirm that the modbus register and values are the same. I am happy to help testing because i am using this battery inverter if there is anything needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SBS3.7-10 should be 9356 according to this: https://files.sma.de/downloads/MODBUS-HTML_SBS3.7-6.0-10_GG10-V13.zip
Will add these to the list, but actual readout of battery-related values is not yet implemented.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry yes, typo.