-
Notifications
You must be signed in to change notification settings - Fork 10
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
Query of battery data does not work #85
Comments
First brief analysis:
|
I don't know if it helps, but in RSCPGui you have an export function to various destinations where you can select every single value for recording. The tree to select the values is created dynamically and is reflecting the actual system. As an example a path to Full Charge Capacity for batteries 0 - 4: |
@brumark, please test after installing from |
I tried your fix, but still no battery data available. The request TAG_BAT_INDEX for index 0 and TAG_BAT_REQ_DCB_COUNT shows no reply in the log, also no error. Please check the log file: Thanks for your effort to save this issue. |
I just realized that the official tag-list states for TAG_BAT_INDEX: "Index des angefragten Gerätes (Im Moment immer 0 bei der Batterie), kann in der Anfrage und in der Antwort vorkommen." I.e. probing for BAT_0..5 does not make sense. I will adjust that to probing only for BAT_0. |
e3dc-rscp_log_2.txt |
Here is the code snippet from RSCPGui (
and that is what we are doing in e3dc-rscp as well. @brumark: I can offer to do another try using In addition, I suggest you post some more details about how your devices are set up - E3/DC model, battery model(s), initial number of batteries, additional batteries, in extra case? ... This could help to identify the reason why BAT requests are not working in your installation (we have no other complaints in >100 adapter installations). |
@git-kick: With the last release you fixed the problem. Now I can see all battery details in the object tree. For documentation purposes here is the abbreviated log output: In the object tree I found one minor cosmetic issue. In the DCB_CELL_TEMPERATURE folder only 6 out of 8 possible values are displayed for my batteries, which is correct. But the two empty values are wrongly named with "Zellspannung" and 0V instead of "Zelltemperatur" and 0 °C. As a further development, I could imagine having one more time interval to choose from. Thanks for the great adapter. |
Surprise! Concerning DCB_CELL_TEMPERATURE, the meaning of elements 05, 06 and 07 heavily depends on the battery make/type, see forum discussion. Currently we use a simple work-around for displaying DCB_CELL_TEMPERATURE elements:
The assumption behind is that nobody will install the batteries in a place colder than 5 °C, because this will void warranty. So perhaps it makes sense to add a third case
for better cosmetic look. What do you think? |
I didn't know about the discussion in the forum. For me it would be also ok if you leave it like it is or if (value = 0) then 0 without unit. And you are right, my battery isn't frozen :-). One last question: Why is battery SOH (State of Health) named ASOC in the object tree? Thanks again. |
Welcome! |
Fixed with V1.0.3 |
Bug description
The e3dc-rscp adapter has a problem with the query of the battery data from my E3DC S10 system. It seems that all the other namespaces are working fine. I already saw that the adapter will only query up to 4 batteries, but my system has 5 batteries and supports up to a maximum of 6. In the object tree, there is only an empty folder with name BAT. The query for the battery is activated in adapter configuration. With the program RSCPGui I can read all battery data from my system.
Reproduction
Steps to reproduce the behavior:
Expected behavior
Battery data is present in object tree.
Screenshots & Logfiles
I switched the log level to silly and restarted the adapter. You can find the beginning of the log in the uploaded file.
e3dc-rscp_log.txt
Versions:
Additional context
None.
The text was updated successfully, but these errors were encountered: