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

Multi-state Object Initial index value issue #2

Open
javj9008 opened this issue Aug 17, 2018 · 0 comments
Open

Multi-state Object Initial index value issue #2

javj9008 opened this issue Aug 17, 2018 · 0 comments

Comments

@javj9008
Copy link

I have a issue with this dslink, when create a new Multistate object is discovered from a Bacnet device (either from IP or MSTP), the index that is co-related to the string array of status-texts property starts from zero.
For example:
Status texts={Auto, Cool, Heat, Fan, Array}
Present_value=0 means Auto
Present_value=1 means Cool
and soon on
I would like that the index por present value would initiate from 1 (one) value, for the previous example:
Status texts={Auto, Cool, Heat, Fan, Array}
Present_value=1 means Auto
Present_value=2 means Cool
and soon on
We need this behaviour for some special Bacnet devices whe are using with the bacnet-dslink and all their Multi-state values start from 1 index for present value
Where can it be edited on the source code of the dslink?

It will be great if someone can help me.

Kind regards.

Julian

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