Frame label="Etagen" {
Group item=EG label="Erdgeschoß" icon="groundfloor"
it works. shows me the actual Dimmer value and the percentuage:
I want: possibility to change the dimmer value with the slider!
I wrote an webservice for accessing and dimming the percentuage:
beckhoffURL/write?value=40 (for example to set dimmer to value 40).
how can that be done?
only problem: I had to enable format in paper UI http settings. After doing this, I got an error in loop:
2017-12-19 21:14:20.043 [ERROR] [b.core.service.AbstractActiveService] - Error while executing background thread HTTP Refresh Service
java.lang.NullPointerException: null
at java.util.regex.Matcher.getTextLength(Matcher.java:1283) [?:?]
at java.util.regex.Matcher.reset(Matcher.java:309) [?:?]
at java.util.regex.Matcher.<init>(Matcher.java:229) [?:?]
at java.util.regex.Pattern.matcher(Pattern.java:1093) [?:?]
at org.openhab.io.net.http.HttpUtil.extractCredentials(HttpUtil.java:278) [219:org.openhab.core.compat1x:2.2.0]
at org.openhab.io.net.http.HttpUtil.executeUrl(HttpUtil.java:181) [219:org.openhab.core.compat1x:2.2.0]
at org.openhab.io.net.http.HttpUtil.executeUrl(HttpUtil.java:130) [219:org.openhab.core.compat1x:2.2.0]
at org.openhab.binding.http.internal.HttpBinding.getCacheData(HttpBinding.java:423) [215:org.openhab.binding.http:1.11.0]
at org.openhab.binding.http.internal.HttpBinding.execute(HttpBinding.java:169) [215:org.openhab.binding.http:1.11.0]
at org.openhab.core.binding.AbstractActiveBinding$BindingActiveService.execute(AbstractActiveBinding.java:144) [219:org.openhab.core.compat1x:2.2.0]
at org.openhab.core.service.AbstractActiveService$RefreshThread.run(AbstractActiveService.java:166) [219:org.openhab.core.compat1x:2.2.0]
2017-12-19 21:14:21.060 [ERROR] [b.core.service.AbstractActiveService] - Error while executing background thread HTTP Refresh Service
editing http.cfg (comment out format= ) all worked.
hi!
that could be the answer! since changing paper UI http settings, I get errors when saving http.cfg (Showing 5000.0 NumberFormatException but I did not configure any value with 5000.
thanks,
hi i am trying to get a dimmer working with http binding and an running in to similar issues:
I have included the urls below which i know work. I cant seem to figure out the syntax for the items. The switch (ON /OFF) is working correctly but i am not sure what syntax to use for dimmer.
Thanks in advance. I looked through several topics on the forum on this but its not still not clear to me.
Below are the Urls and items i created in the items files. I kow the urls are correct because when i use them in a browser, they perform the action correctly.