I’m running OH2, homematic binding and homegear. In homegear I created a PHP script to create different heating programs. This script accepts one parameter to change the heating program (like default, holidays, athome).
triggering the script from OH2 works so far. I have defined the ITEM as Switch. But that means I can’t add an additional parameter like “holidays”. Changing the type of the item to string throws a java error once I trigger a change:
[ERROR] [ematic.handler.HomematicThingHandler] - org.eclipse.smarthome.core.library.types.StringType cannot be cast to org.eclipse.smarthome.core.library.types.OnOffType