BeSense Z-Wave Ceiling PIR Motion Detector - configuration

https://www.amazon.com/BeSense-Ceiling-Motion-Detector-SmartThings/dp/B01LY1IZEX

after adding this device it creates 2 devices, a Generic IO and a _Motion Sensor does anyone have the correct configuration for this device
image

does anyone know how to get this configured as one device? or how can I find out what type of attributes are from the first endpoint

I usually hide the child and change the master. Instructions’re here on the old forum:

http://forum.micasaverde.com/index.php/topic,51782.msg380669.html#msg380669

FYI, that post also exists on the new forums too - Heiman HS1DS-Z Door / Window Sensor - #5 by cw-kid - Door Locks & Sensors - Ezlo Community

1 Like

yeah it deleted itself

Got it correctly configured

the child device has an option that say no_child_sync

set that to 0 - do not delete the child device you have to stop the child endpoint from the main device

image

    local devnum = *Main Device Number*
    local endpoint = *Endpoint*
    luup.attr_set ("device_json","D_MotionSensorWithTamper1.json",devnum)
    luup.attr_set ("device_file","D_MotionSensor1.xml", devnum)
    luup.attr_set ("device_type","urn:schemas-micasaverde-com:device:MotionSensor:1", devnum)
    luup.attr_set ("category_num","4", devnum)
    luup.attr_set ("subcategory_num","3", devnum)
    luup.attr_set ("no_child_sync","3", endpoint)
    luup.attr_set ("altid","", endpoint)
    luup.attr_set ("id_parent","", endpoint)
    luup.variable_set("urn:micasaverde-com:serviceId:ZWaveDevice1", "NoChildren", "1", devnum)
    luup.variable_set("urn:micasaverde-com:serviceId:HaDevice1", "ChildrenSameRoom", "0", devnum)
    luup.call_action("urn:micasaverde-com:serviceId:HomeAutomationGateway1", "Reload", {}, 0)

Im working on getting rid of the endpoint

EDIT: under settings uncheck embeded reload luup and now u can delete the child device