-
Notifications
You must be signed in to change notification settings - Fork 73
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-Steuerung #1095
Modbus-Steuerung #1095
Conversation
packages/control/modbusserver.py
Outdated
elif address == 505: | ||
_form_int32(data.data.bat_all_data.data.get.exported, address) | ||
elif address > 10099: | ||
chargepoint = data.data.cp_data[f"cp{_get_pos(address, 2)}"] |
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.
chargepoint = data.data.cp_data[f"cp{_get_pos(address, 2)}"] | |
chargepoint = data.data.cp_data[f"cp{_get_pos(address, 2) - 1}"] |
Sollte das Register 10100
nicht Ladepunkt 0
zugeordnet sein?
packages/control/modbusserver.py
Outdated
_form_int32(data.data.bat_all_data.data.get.imported, address) | ||
elif address == 505: | ||
_form_int32(data.data.bat_all_data.data.get.exported, address) | ||
elif address > 10099: |
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.
elif address > 10099: | |
elif 10099 < address < 20000: |
packages/control/modbusserver.py
Outdated
elif address == 19916: | ||
_form_int16("llsolllp8", address) |
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.
elif address == 19916: | |
_form_int16("llsolllp8", address) |
Copy/Paste Überbleibsel von 1.9?
Ersetzt durch #1115 |
stichprobenartig getestet
Server kann nicht beendet werden