becksen
(Becksen)
February 15, 2019, 9:24pm
1
Hi all,
it is most probably a stupid question but I’ve currently no idea where it comes from.
In the sitemap I’ve set the rollershutter as default item:
Default item=EG_Rollo_Schlafzimmer_Rechts
Does anybody know where the “ERR” comes from and how to control or remove it.
Thanks.
Becksen
rlkoshak
(Rich Koshak)
February 15, 2019, 9:34pm
2
What is your Item definition?
becksen
(Becksen)
February 15, 2019, 9:48pm
3
Rollershutter EG_Rollo_Kueche_Links "Rollo Küche links" {channel="homematic:HG-HM-LC-Bl1PBU-FM:1c2190fb:OEQ0269947:1#LEVEL"}
H102
(CM6.5 H102)
February 15, 2019, 10:05pm
4
Try using the correct item name.
and
Should have the same item name.
becksen
(Becksen)
February 15, 2019, 10:13pm
5
Sorry my mistake, I gave the wrong definition. I believe the names are fine.
Frame label="Rolläden" {
Default item=EG_Rollo_Kueche_Links
Default item=EG_Rollo_Kueche_Rechts
Default item=EG_Rollo_Schlafzimmer_Links
Default item=EG_Rollo_Schlafzimmer_Rechts
Default item=EG_Rollo_WZ_Links
Default item=EG_Rollo_WZ_Rechts
Default item=EG_Rollo_AZ
}
Rollershutter EG_Rollo_Kueche_Links "Rollo Küche links" {channel="homematic:HG-HM-LC-Bl1PBUFM:1c2190fb:OEQ:1#LEVEL"}
Rollershutter EG_Rollo_Kueche_Rechts "Rollo Küche rechts" {channel="homematic:HG-HM-LBl1PBU-FM:1c2190fb:OEQ:1#LEVEL"}
Rollershutter EG_Rollo_Schlafzimmer_Links "Rollo Schlafzimmer links" {channel="homematic:HG-HM-LC-Bl1PBU-FM:1c2190fb:OEQ:1#LEVEL"}
Rollershutter EG_Rollo_Schlafzimmer_Rechts "Rollo Schlafzimmer rechts" {channel="homematic:HG-HM-LC-Bl1PBU-FM:1c2190fb:OEQ:1#LEVEL"}
Rollershutter EG_Rollo_WZ_Links "Rollo Wohnzimmer links" {channel="homematic:HG-HM-LC-Bl1PBU-FM:1c2190fb:OEQ:1#LEVEL"}
Rollershutter EG_Rollo_WZ_Rechts "Rollo Wohnzimmer rechts" {channel="homematic:HG-HM-LC-Bl1PBU-FM:1c2190fb:OEQ:1#LEVEL"}
Rollershutter EG_Rollo_AZ "Rollo Arbeitszimmer" {channel="homematic:HG-HM-LC-Bl1PBU-FM:1c2190fb:OEQ:1#LEVEL"}
H102
(CM6.5 H102)
February 15, 2019, 10:17pm
6
Have you tried restarting OH?
becksen
(Becksen)
February 15, 2019, 10:20pm
7
I just did. Result stays the same
When I take a switch item and use it as default in the sitemap no ERR text appears. Seems to be special with Rollershutter items.
H102
(CM6.5 H102)
February 15, 2019, 10:28pm
8
See what happens if you change from Default to something like Setpoint.
becksen
(Becksen)
February 15, 2019, 10:30pm
9
Not much better. I’ve changed the first to setpoint.
H102
(CM6.5 H102)
February 15, 2019, 10:33pm
10
Maybe need to back up and start with what version of OH is being used along with any other info that might help.
1 Like
rlkoshak
(Rich Koshak)
February 15, 2019, 10:41pm
11
I see no reason why it should say ERR next to the controls. I agree with H102, what version of OH, how did you install it, what is it running on?
This might be something that needs an issue opened.
becksen
(Becksen)
February 15, 2019, 10:42pm
12
I found something in the logs. But I don’t know why it tries a transform operation:
2019-02-15 23:36:22.890 [WARN ] [ui.internal.items.ItemUIRegistryImpl] - Exception while formatting value '0' of item EG_Rollo_Kueche_Links with format '%.2f %unit%': Conversion = 'u'
H102
(CM6.5 H102)
February 15, 2019, 10:51pm
13
With limited info all we can do is guess at how to solve the issue.
Guess one is to use these commands and clean the cache.
**sudo systemctl stop openhab2
sudo openhab-cli clean-cache
sudo systemctl start openhab2
becksen
(Becksen)
February 15, 2019, 11:03pm
14
I’m on OH2 Version: 2.4.0 (Build)
RPI 3 with Raspian stretch
I’ve followed your steps and also restarted RPI. Issue still persists.
becksen
(Becksen)
February 15, 2019, 11:37pm
15
1 Like
H102
(CM6.5 H102)
February 15, 2019, 11:37pm
16
I searched github for a similar issue but came up empty handed. Have you used this config successfully with a previous OH version?
1 Like
H102
(CM6.5 H102)
February 15, 2019, 11:42pm
17
Good find.
Try all the config options in the topic and hope one of them works. If nothing you may want to open an issue on github.
becksen
(Becksen)
February 15, 2019, 11:59pm
18
I found a solution now:
Define the item not with LEVEL but with DIRECTION:
Rollershutter EG_Rollo_AZ "Rollo Arbeitszimmer" {channel="homematic:HG-HM-LC-Bl1PBU-FM:1c2190fb:OEQXXXXXX:1#DIRECTION"}
In the sitemap it can be used as default and will show you the percentage value how far the blind is closed:
Default item=EG_Rollo_AZ
Now it looks nice
Thanks you both for your ideas and effort!
Best regards
becksen
1 Like
H102
(CM6.5 H102)
February 16, 2019, 12:03am
19
becksen:
I found a solution now:
Good deal.
Please click the square box on the post with the solution and edit the title to start with [Solved]. This will help others with a similar issue find a quick solution.
Thanks
1 Like
DonStefano
(Stefan Kühnen)
February 26, 2019, 3:38pm
20
DIRECTION does not give you the possibility to change LEVEL via Alexa. I found out that the default formatting of the value is the root cause. So I changed the label to include a formatter for the value:
rollershutter.items:
Rollershutter FF_Hallway_Warema "Warema Empore [%.0f %%]" <rollershutter> (FF_Hallway, gWarema) ["Switchable"] {channel="homematic:HM-LC-Bl1PBU-FM:3da6a785:LEQ1XXXXX:1#LEVEL"}
rollershutter.sitemap:
Default item=FF_Hallway_Warema label="Empore [%.0f %%]"
4 Likes