sabriallani / openhab

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

Inconsistent device handling in Sonos binding #476

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In the code of the Sonos binding the configured Sonos devices are stored in a 
map called sonosZonePlayerCache.
During each startup of openHAB it seems that the amount of stored devices in 
this map is sometimes twice the amount of really configured devices in the 
openhab.cfg.
If there are twice the number of configured devices in this map then each 
devices is stored twice in this mao.
Oone entry where the key is the RINCON and the other entry where the key is the 
given name from the openhab.cfg.

If it happens that we have only devices in this map where the key is always the 
RINCON the openHAB frontend shows only unitialized values in case of used names 
from the cfg in the item definition.

For example: String sonosBathroomCurrentTrack " [%s]" (groupSonos) 
{sonos="<[bathroom:currenttrack]", autoupdate="true"}

Original issue reported on code.google.com by dongy...@gmail.com on 28 Sep 2013 at 7:26

GoogleCodeExporter commented 9 years ago

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

GoogleCodeExporter commented 9 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 9 years ago
Set status to "invalid" to show that these issues are not tracked here anymore 
- please refer to GitHub instead!

Original comment by kai.openhab on 2 Dec 2013 at 7:12