Skip to content
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

Cannot extract value from the result if it is not the first element in the ; delimited string result #9

Open
brucemiranda opened this issue Jan 27, 2022 · 0 comments

Comments

@brucemiranda
Copy link

There is an assumption made that all values of interest will be the first element in ; (semicolon) delimited string result from ebusd. However that is not always the case. There are several commands where the value you need to extract is deeper that at position 0.
It would be good to enhance the sensor type 4 to include which element of the returned string is required rather than always assuming its element 0 needed.
e.g. 4[0] can be the default (to allow backward compatibility) , but also allow 4[x] so that other elements can also be read successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant