-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add support for dynamic properties #18
Comments
for a feature description see #26 |
I've investigated this issue a little. The combo box is actually working fine. For example, I've created a simple model consisting of a However, the combo box is not displayed with the The combo box is missing for the whereas the When I add values for the combo box: the combo box is displayed as requested: So the "only" thing left to do is to add possible values to the What would be the best way to proceed? I'm a little bit struggling with the term "dynamic" properties. Is there a difference between the combo box of the |
"dynamic properties" are properties with combobox values that are updated from the ARE. BTW: properties with combo boxes should be integer types AFAIK (see e.g. averager plugin) |
Does that mean that we need additional functionality at |
the ACS calls the getRuntimePropertyList() commmand via ASAPI to retrieve the list of desired values for the combobox. For an example see the getRuntimePropertyList() method of the wavefileplayer plugin which returns available sound files: WebACS should do the same. Kingcole probably has already a concept for that ;-) |
There are two functions in the I think @deinhofer created the REST interface. Right? @deinhofer does one of these functions provide some list of runtime properties of the components inside a model? |
@deinhofer I wanted to take a look on the REST API of the ARE. When I retrieve all component ids of the loaded model using 127.0.0.1:8081/rest/runtime/model/components/ids I get: [
"Knx.1",
"Averager.1"
] But when I try to get all properties using 127.0.0.1:8081/rest/runtime/model/components/Knx.1/properties I get:
What am I doing wrong? |
@ChrisVeigl How do I know what plugins or which of their properties have "dynamic properties"? Is the property |
in the bundle descriptor, the property entry has (and as the name suggests, the type for dynamic properties is "string" ... ) |
I've added a new function to areCommunicator.js: Those "dynamic" properties can now be obtained using a GET request at Next step is the integration in WebACS. |
ok great! |
I've added the functionality for dynamic properties for the WebACS. It's almost done. There seems to be an issue with the first two dynamic properties: I have to investigate what might be causing this problem. @klues do you have a clue (as your name implies 🙈) what might be causing troubles? I've added the EDIT: I took a look at the "table" that is being built when the property editor is opened. Apparently there are additional |
instead of @sabicalija I think it's best to investigate this issue in person in the office, I'll be there at about 10:30 am. |
No description provided.
The text was updated successfully, but these errors were encountered: