28.02.2017, 23:01
(This post was last modified: 28.02.2017, 23:49 by Erwin van der Zwart.)
Hi Hippolyte,
I checked and the startpage has some extra's already loaded to have localbus available.
I added these missing items into the info.lp and now it's working. (and changed some other items to have the button inserted on the correct position)
See here my modified sample app with button also in the 'go to app' section.
BR,
Erwin
Hi Edgars,
In the config.html is a function that needs to be improved with a regex if you ask me (;
There is now this:
But should that not be done with a regex to make sure it's a valid KNX address notation? Now you can set any value you want as only zero length is not accepted..
Also the value status needs to be checked the same way (;
Even better would be a dropdown selection with all available addresses (:
I also think the css from the config button (div.container.cfg-container-wrap) when changing the value needs to be checked as button is now to small. (30px width)
Anyway i think it's a cool feature like this!
BR,
Erwin
I checked and the startpage has some extra's already loaded to have localbus available.
I added these missing items into the info.lp and now it's working. (and changed some other items to have the button inserted on the correct position)
See here my modified sample app with button also in the 'go to app' section.
Sample Modified.zip (Size: 3.55 KB / Downloads: 90)
BR,
Erwin
Hi Edgars,
In the config.html is a function that needs to be improved with a regex if you ask me (;
There is now this:
Code:
// invalid value
if (valueSet.length==0) {
But should that not be done with a regex to make sure it's a valid KNX address notation? Now you can set any value you want as only zero length is not accepted..
Also the value status needs to be checked the same way (;
Even better would be a dropdown selection with all available addresses (:
I also think the css from the config button (div.container.cfg-container-wrap) when changing the value needs to be checked as button is now to small. (30px width)
Code:
.btn-config, .btn-install, .btn-update, .btn-uninstall, .btn-xinfo {
padding-left: 0;
padding-right: 0;
width: 80px;
display: none;
}
Anyway i think it's a cool feature like this!
BR,
Erwin