[SOLVED] HmIP-BROLL - wrong item label?

Hello, I have a homematic shutter actuator and have a little problem controlling it via openhab.

Hw: Rasberry Pi 3B +
OH: Openhab 2.5.0 M5-1
Thing: Homematic roller shutter (HmIP-BROLL)

The thing is involved in the Paper UI and has an item on channel 4 level.

If I now want to control the shutter I get the following message. With my CCU2 I can control the roller shutter without any problem.

    2019-11-23 12: 50: 04.096 [WARN] [ui.internal.items.ItemUIRegistryImpl] - Exception while formatting value '1' of item HM_Rollladen_001_4_Level with format '% .2f% unit%': Conversion = 'u'

    ==> /var/log/openhab2/events.log <==

    2019-11-23 12: 50: 04.097 [vent.ItemStateChangedEvent] - HM_Rollladen_001_4_Level changed from 100 to 1

    ==> /var/log/openhab2/openhab.log <==

    2019-11-23 12: 50: 04.118 [ERROR] [e.internal.WriterInterceptorExecutor] - MessageBodyWriter not found for media type = text / event-stream, type = class org.glassfish.jersey.media.sse.OutboundEvent, genericType = class org.glassfish.jersey.media.sse.OutboundEvent.

I had already found that it could have something to do with the label of the item.

But how can I change this via the PaperUI or is there another solution?

@ComJack85: I think there is something wrong with your items configuration. Can you post it?

Here on of my examples:

//Rolläden
Rollershutter R_RolladenBalkon "Balkon Rollladen [%d %%]" ["Blinds"] {alexa="PercentageController.percentage" [category="SWITCH"],channel="homematic:HG-HM-LC-Bl1PBU-FM:a71db682:NEQXXXXXXXX:1#LEVEL"}

@olialb I think so too, but I configured the item via the PaperUI. Can I customize the item configuration there such as well as in the item file.

I don’t think you can do the alexa stuff, but the rest is ok. Screenshot?

That looks wrong, extra spaces. [%.2f %unit%]
%unit% only makes sense if your Item is a Quantity Type

Ok, with a items file for the configuration it work to 50%.

//Schlafzimmer
Rollershutter HM_Rollladen_001_4_Level "Fenster (Klein) [%d %%]" ["Blinds"] {channel="homematic:HmIP-BROLL:OEQ0323223:00111A498E47B9:4#LEVEL"}

The shutter just goes only down, no matter which button (up / down), but not up anymore. :joy:

if i press the down button.

2019-11-24 10:20:28.809 [nt.ItemStatePredictedEvent] - HM_Rollladen_001_4_Level predicted to become DOWN

2019-11-24 10:20:29.232 [vent.ItemStateChangedEvent] - HM_Rollladen_001_4_Level changed from 100 to 1

==> /var/log/openhab2/openhab.log <==

2019-11-24 10:20:29.231 [ERROR] [e.internal.WriterInterceptorExecutor] - MessageBodyWriter not found for media type=text/event-stream, type=class org.glassfish.jersey.media.sse.OutboundEvent, genericType=class org.glassfish.jersey.media.sse.OutboundEvent.

if i press the up button.

2019-11-24 10:20:30.851 [ome.event.ItemCommandEvent] - Item 'HM_Rollladen_001_4_Level' received command UP

2019-11-24 10:20:30.873 [nt.ItemStatePredictedEvent] - HM_Rollladen_001_4_Level predicted to become UP

2019-11-24 10:20:30.893 [vent.ItemStateChangedEvent] - HM_Rollladen_001_4_Level changed from 100 to 0

2019-11-24 10:20:31.771 [vent.ItemStateChangedEvent] - HM_Rollladen_001_4_Level changed from 0 to 100

==> /var/log/openhab2/openhab.log <==

2019-11-24 10:20:31.771 [ERROR] [e.internal.WriterInterceptorExecutor] - MessageBodyWriter not found for media type=text/event-stream, type=class org.glassfish.jersey.media.sse.OutboundEvent, genericType=class org.glassfish.jersey.media.sse.OutboundEvent.

:neutral_face: a know issue

with the workaround it works now. :crazy_face:

//Schlafzimmer
Rollershutter   Schlafzimmer_Rollo_1_Proxy         "Fenster (Klein) [%d %%]" ["Rollershutter"]
Rollershutter   Schlafzimmer_Rollo_1_Set           {channel="homematic:HmIP-BROLL:OEQ0323223:00111A498E47B9:4#LEVEL"}
Switch          Schlafzimmer_Rollo_1_Stop          {channel="homematic:HmIP-BROLL:OEQ0323223:00111A498E47B9:4#STOP"}
Rollershutter   Schlafzimmer_Rollo_1_Level         {channel="homematic:HmIP-BROLL:OEQ0323223:00111A498E47B9:3#LEVEL"}
// Schlafzimmer Fenster 1 (Klein)
rule "Schlafzimmer Rollladen Control"
when Item Schlafzimmer_Rollo_1_Proxy received command
then    if (receivedCommand == UP) {
        Schlafzimmer_Rollo_1_Set.sendCommand(1)
        }
        if (receivedCommand == STOP) {
        Schlafzimmer_Rollo_1_Stop.sendCommand(ON)
        }
        if (receivedCommand == DOWN) {
        Schlafzimmer_Rollo_1_Set.sendCommand(100)
        }
end

rule "Schlafzimmer Rollladen Level"
when Item Schlafzimmer_Rollo_1_Level changed
then Schlafzimmer_Rollo_1_Proxy.postUpdate(Schlafzimmer_Rollo_1_Level.state)
end