- Platform information:
- Hardware: QNAP TS453Pro
- Java Runtime Environment: 1.8.201
- openHAB version: 2.5
- Issue of the topic: Order not correct (not like in *.items file)
I’m a newbie and doing my first steps with OH2.
I have all my rooms sorted in my *.items file and they will be displayed correctly as entered (first room from *.items file on first position, second on second…)
I have configured the entries for my TV items to the room where they reside as well in a group named gSamsungTV (to be able to control the TV’s without browsing through florrs and rooms until I reach them), means I added the following at the end of the items lines: (GF_Living, gSamsungTV)
In my items file I have the entries for the TV’s in the SamsungTV area (at the bottom of the file) sorted first by room:
- guest room
- living room
- sleeping room
then by function
- Power-on (Switch, wol binding)
- Mute (Switch, samsungtv binding)
- Volume (Dimmer, samsungtv binding)
- Power off (Switch, samsungtv binding)
But in the Basic UI and in my Android app it shows different:
- Power off
- Mute
- Volume
for every room ,but different room ordering than in the *.items file: - living room
- sleeping room
- guest room
And at the end, the power-on entries are appended in the correct room order
- guest room
- living room
- sleeping room
The same (wrong) ordering is inside the rooms.
All works fine with the 3 TV’s, but I want a different ordering in the displays. Any hints ?
Thx !
Andi
- Items configuration related to the issue:
//Samsung TV’s
// Samsung TV guestroom: samsungtv:tv:xxx
Switch PowerOn_TV_GR “TV GR Power-on” (EG_guestroom,gSamsungTV) { wol=“192.xxx.xxx.255#xx:xx:xx:xx:xx:xx” }
Switch Mute_TV_GR “TV GR Mute” (EG_guestroom,gSamsungTV)
Dimmer Volume_TV_GR “TV GR Volume” (EG_guestroom,gSamsungTV)
Switch PowerOff_TV_GR “TV GR Power-off” (EG_guestroom,gSamsungTV)
// Samsung TV livingroom: samsungtv:tv:xxx
Switch PowerOn_TV_LR “TV LR Power-on” (GF_livingroom,gSamsungTV) { wol=“192.xxx.xxx.255#yy:yy:yy:yy:yy:yy” }
Switch Mute_TV_LR “TV LR Mute” (GF_livingroom,gSamsungTV)
Dimmer Volume_TV_LR “TV LR Volume” (GF_livingroom,gSamsungTV)
Switch PowerOff_TV_LR “TV LR Power-off” (GF_livingroom,gSamsungTV)
// Samsung TV sleepingroom: samsungtv:tv:xxx
Switch PowerOn_TV_SR “TV SR Power-on” (GF_sleepingroom,gSamsungTV) { wol=“192.xxx.xxx.255#yy:zz:zz:zz:zz:zz” }
Switch Mute_TV_SR “TV SR Mute” (GF_sleepingroom,gSamsungTV)
Dimmer Volume_TV_SR “TV SR Volume” (GF_sleepingroom,gSamsungTV)
Switch PowerOff_TV_SR “TV SR Power-off” (GF_sleepingroom,gSamsungTV)
Item ID’s, IP addresses and MAC addresses modified