After reading this
so thanks @kiwinol
got one of these Door sensor
and
Let join them can’t be that hard
test it does make the meter buzz YES
open it
magnetic switch
put the wires on
put back together
plug it and test
do the pairing thing in deconz give a name
put it under the mattress
dont put to close side dont want going on when just setting on bed
only problem to work out
is the logic
open is NOT in bed
Closed is in bed
look like need to do some reading find out how to change the logic
want it to other way round so when in bed its lights up the icon
think its a template
someone got a idea ???