Hi,
after the last update (my OH now shows version 4.0.3) I have an error with the homematic binding.
Thing HmIP-BROLL 001118AAAABBBB "EG_Wohnzimmer_Rollo_Fenster" @ "EG_Wohnzimmer"
{
Channels:
Type HmIP-BROLL_4_LEVEL : 4#LEVEL [delay = 0, receiveDelay = 2]
}
Rollershutter EG_Wohnzimmer_Fenster_Rollo_Control "Wohnzimmer Fenster Rollo [%.0f %%]" <blinds> (EG_Wohnzimmer,HM_Ip,All_Shutter,All_Shutter_HM_Ip) {channel="homematic:HmIP-BROLL:ccupi:001118AAAABBB:4#LEVEL"}
Number EG_Wohnzimmer_Fenster_Rollo_Status "Wohnzimmer Fenster Rollo Status [JS(topercent.js):%s]" <blinds> (EG_Wohnzimmer,HM_Ip) {channel="homematic:HmIP-BROLL:ccupi:001118AAAABBB:3#LEVEL"}
The first item is for controlling the shutters, the second one was for showing the actual percent in the sitemap (migrated from OH2 to OH3 and now OH4)
I’ve modified the items according to the breaking changes info:
Rollershutter EG_Wohnzimmer_Fenster_Rollo_Control "Wohnzimmer Fenster Rollo [%.0f %%]" <blinds> (EG_Wohnzimmer,HM_Ip,All_Shutter,All_Shutter_HM_Ip) {unit="%", channel="homematic:HmIP-BROLL:ccupi:001118AAAABBB:4#LEVEL"}
Number:Dimensionless EG_Wohnzimmer_Fenster_Rollo_Status "Wohnzimmer Fenster Rollo Status [%.0f %%]" <blinds> (EG_Wohnzimmer,HM_Ip) {unit="%", channel="homematic:HmIP-BROLL:ccupi:001118AAAABBB:3#LEVEL"}
With both settings I cannot control the shutters anymore, but the first (Rollershutter type) is getting the correct value if I control the shutters from CCU or directly on the switch.
When using the controls in OH GUI I get the following error:
2023-10-05 20:19:58.413 [ERROR] [ternal.handler.HomematicThingHandler] - Cannot invoke "String.startsWith(String)" because "itemType" is null
java.lang.NullPointerException: Cannot invoke "String.startsWith(String)" because "itemType" is null
at org.openhab.binding.homematic.internal.converter.ConverterFactory.createConverter(ConverterFactory.java:42) ~[?:?]
at org.openhab.binding.homematic.internal.handler.HomematicThingHandler.updateChannelState(HomematicThingHandler.java:467) ~[?:?]
at org.openhab.binding.homematic.internal.handler.HomematicThingHandler.updateDatapointState(HomematicThingHandler.java:411) ~[?:?]
at org.openhab.binding.homematic.internal.handler.HomematicBridgeHandler.onStateUpdated(HomematicBridgeHandler.java:281) ~[?:?]
at org.openhab.binding.homematic.internal.communicator.AbstractHomematicGateway.lambda$1(AbstractHomematicGateway.java:744) ~[?:?]
at org.openhab.binding.homematic.internal.misc.DelayedExecuter$1.run(DelayedExecuter.java:57) ~[?:?]
at java.util.TimerThread.mainLoop(Timer.java:566) ~[?:?]
at java.util.TimerThread.run(Timer.java:516) ~[?:?]
Any idea? Firmware of the BROLL is 1.8.20, but 1.10.16 is available…