Ole8700 / openhab

Automatically exported from code.google.com/p/openhab
GNU General Public License v3.0
1 stars 0 forks source link

openhab.app slider widget incorrect command #241

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Use /openhab.app ui - greent or habdriod are ok
2.press the up / down buttons displayed by ui on demo \ widget overview \ 
dimmer object
3.Or any other dimmer widget objects that are on site - up and down buttons

What is the expected output? What do you see instead?
INCREASE or DECREASE -  ON or OFF very frequently

What version of the product are you using? On what operating system?
This has started on upgrade to 1.2

Please provide any additional information below.
Checked with 1.1, notice no issue
Using CHROME browser for both versions

Original issue reported on code.google.com by boyd.hit...@gmail.com on 17 Apr 2013 at 8:36

GoogleCodeExporter commented 9 years ago
This is not a bug, but a feature:
If the slider widget is defined in the sitemap with the additional porperty 
"switchSupport", the widget should allow ON/OFF functionality as well. The 
Classic UI does that by introducing short and long press. If pressed less than 
300ms, ON/OFF commands are sent, if pressed longer, INCREASE/DECREASE commands 
are sent.

I also experienced that this does not work perfectly reliable from a web 
browser - it is better with touch events, i.e. from a smartphone or tablet.

Original comment by kai.openhab on 17 Apr 2013 at 8:43

GoogleCodeExporter commented 9 years ago
Thank you for prompt reply.

I have the issue with dimmer objects I have defined in .items ? 
From 1.2 they now have the functionality described above, within openhab.app

I will review my settings.

Original comment by boyd.hit...@gmail.com on 17 Apr 2013 at 9:43

GoogleCodeExporter commented 9 years ago
Right, I now remember that the "switchSupport" has been changed to be enabled 
by default now (before it was disabled by default).

Original comment by kai.openhab on 17 Apr 2013 at 9:57

GoogleCodeExporter commented 9 years ago
I have just added an according information to the 1.2 release notes as well.

Original comment by kai.openhab on 17 Apr 2013 at 9:59