[SOLVED] Use #WORKING datapoint of Homematic HMW-LC-Bl1-DR rollershutter


I am looking for a way to use the #WORKING datapoint of the Homematic rollershutter HMW-LC-Bl1-DR in a rule. I use OH 2.2 and the corresponding Homematic binding. I use configuration via textfiles.

I have this in my .items file

Rollershutter J_Gaestezimmer
        { channel="homematic:HMW-LC-Bl1-DR:CCU2:leq1182xxx:3#LEVEL" }

String J_Gaestezimmer_working
        { channel="homematic:HMW-LC-Bl1-DR:CCU2:leq1182xxx:3#WORKING" }

When I activate the rollershutter I cannot see a change to the item J_Gaestezimmer_working in the event.log. The #LEVEL item is changed:

2018-06-06 01:34:14.770 [ome.event.ItemCommandEvent] - Item 'J_Gaestezimmer' received command DOWN
2018-06-06 01:34:14.818 [vent.ItemStateChangedEvent] - J_Gaestezimmer changed from 50 to 100
2018-06-06 01:34:14.891 [vent.ItemStateChangedEvent] - J_Gaestezimmer changed from 100 to 50
2018-06-06 01:34:16.342 [ome.event.ItemCommandEvent] - Item 'J_Gaestezimmer' received command STOP

I switched the log level of the binding to DEBUG and then I can see the changes to the #WORKING datapoint:

2018-06-06 01:26:17.547 [DEBUG] [ommunicator.AbstractHomematicGateway] - Received new (Boolean) value 'false' for 'leq1182xxx:3#WORKING' from gateway with id 'CCU2'

Do you have any advice?

Kind regards

I changed the item type from String to Switch and now it works :slight_smile:

Switch J_Gaestezimmer_working
        { channel="homematic:HMW-LC-Bl1-DR:CCU2:leq1182xxx:3#WORKING" }