nguyenquanghai1993 / openhab

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

Problem with KNX Scenes #341

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

This line in items:
Number Scene_Godnight "GoodNight" <moon>    {knx="17.001:1/4/1"}

And this in sitemap
Switch item=Scene_GoodNight label="Activate GoodNight" mappings=[1=GoodNight]

This generates an error:
01:08:14.867 DEBUG o.o.i.r.i.r.ItemResource[:200]- Received HTTP POST request 
at 'items/Scene_GoodNight/' with value '1'.
01:08:15.010 WARN  o.o.b.k.i.bus.KNXBinding[:164]- Value could not be sent to 
the KNX bus - retrying one time: new value is out of range (1-64)
01:08:15.016 ERROR o.o.b.k.i.bus.KNXBinding[:170]- Value could not be sent to 
the KNX bus - giving up: new value is out of range (1-64)

What version of the product are you using? On what operating system?
Version 1.2.0 (addons 1.2.1)

Please provide any additional information below.

If the mappingsvalue is above 2 (i.e mappings=[3=GoodNight]) it works

Original issue reported on code.google.com by tellb...@gmail.com on 13 Jun 2013 at 8:41

GoogleCodeExporter commented 8 years ago
I have the same problem. The problem seems to be in the mapping from scene 
numbers to knx telegrams. Scene value 1 (openhab) has to be mapped to 0 (knx). 
This case fails. The reverse case (knx scene 0 to openhab 1) is without 
problems. 

Original comment by dirk.wac...@gmail.com on 10 Aug 2013 at 9:47

GoogleCodeExporter commented 8 years ago

Original comment by teichsta on 5 Nov 2013 at 10:47

GoogleCodeExporter commented 8 years ago
This issue has been migrated to Github. If this issue id is greater than103 its 
id has been preserved on Github. You can open your issue by calling the URL 
https://github.com/openhab/openhab/issues/<issueid>. Issues with ids less or 
equal 103 new ids were created.

Original comment by teichsta on 17 Nov 2013 at 8:08

GoogleCodeExporter commented 8 years ago
see above!

Issue has been migrated to Github and should be discussed there.

Original comment by teichsta on 21 Nov 2013 at 1:51