The light responds and works with OH, good.
Not sure, I was asking b/c there is file config examples in the doc’s for Bticino binding.
You will need to find the correct channel config for the motion sensor and I have found nothing so far that might help.
The only thing I can suggest is maybe try to change the Thing.json file but make sure you have a backup then stop OH service before making a change. If you make a change I would attempt to add the “Where” 312 number for the sensor to make it look similar to the Switch config. like below. I have no idea if this will work so be prepared to remove the changes made if the binding breaks.
"openwebnet:bus_dry_contact_ir:7f095c6d:312": {
"class": "org.eclipse.smarthome.core.thing.internal.ThingImpl",
"value": {
"label": "Dry Contact/IR Sensor (WHERE\u003d312)",
"bridgeUID": {
"segments": [
"openwebnet",
"bus_gateway",
"89f9d7f7"
]
},
"channels": [
{
"acceptedItemType": "Switch",
"kind": "STATE",
"uid": {
"segments": [
"openwebnet",
"bus_dry_contact_ir",
"7f095c6d",
"312",
"sensor"
]
},
"channelTypeUID": {
"segments": [
"openwebnet",
"dryContactIR"
]
},
"label": "Sensor",
"description": "Indicates if a Dry Contact interface is ON or a IR Sensor has detected movement",
"configuration": {
"properties": {}
},
"properties": {},
"defaultTags": []
}
],
"configuration": {
"properties": {
"where": "312"
}
},
"properties": {
"vendor": "BTicino/Legrand",
"model": "BTI-3477/F428/IR 4610-4611-4640 etc.",
"ownDeviceType": "2510"
},
"uid": {
"segments": [
"openwebnet",
"bus_dry_contact_ir",
"7f095c6d",
"312"
]
},
"thingTypeUID": {
"segments": [
"openwebnet",
"bus_dry_contact_ir"
]
}
}
},
"openwebnet:bus_on_off_switch:89f9d7f7:49": {
"class": "org.eclipse.smarthome.core.thing.internal.ThingImpl",
"value": {
"label": "Switch (WHERE\u003d49)",
"bridgeUID": {
"segments": [
"openwebnet",
"bus_gateway",
"89f9d7f7"
]
},
"channels": [
{
"acceptedItemType": "Switch",
"kind": "STATE",
"uid": {
"segments": [
"openwebnet",
"bus_on_off_switch",
"89f9d7f7",
"49",
"switch"
]
},
"channelTypeUID": {
"segments": [
"openwebnet",
"switch"
]
},
"label": "Switch",
"description": "Switch the power ON and OFF",
"configuration": {
"properties": {}
},
"properties": {},
"defaultTags": [
"Lighting"
]
}
],
"configuration": {
"properties": {
"where": "49"
}
},
"properties": {
"vendor": "BTicino/Legrand",
"model": "BTI-xxxx/yyyy/etc.",
"ownDeviceType": "261"
},
"uid": {
"segments": [
"openwebnet",
"bus_on_off_switch",
"89f9d7f7",
"49"
]
},
"thingTypeUID": {
"segments": [
"openwebnet",
"bus_on_off_switch"
]
}
}
},
If changing the file is something your not comfortable with then I would file an issue on github.