Sonoff SNZB-03 No Data

Hi I have been using Aqara Smart Temperature Humidity Sensor ZigBee with mqtt2zigbee for about a year now with no problems at all. i have 13 of these connected via zigbee. i also have several PIR’s that are on a Sonoff RF bridge 433Mhz, these are not so reliable. So i have bought Sonoff SNZB-03’s to replace them. I am using Node red as my home automation server with a CC25xx chip in the usb. I am using Z2M Admin in node red to manage the zigbee devices (a bit more convienient than command line). My problem is the PIR’s join the zigbee network ok, but i never get any data from them.
I Get the Temperature sensors data using a MQTT In Node with Topic : zigbee2mqtt/friendlyname. but i get no data from the pir sensors using the same topic. also in Z2M Admin shows nothing in “Last Message”
I Can find examples on how to get this device working in Home assitant but nothing in node red.

binary_sensor:
  - platform: "mqtt"
    state_topic: "zigbee2mqtt/<FRIENDLY_NAME>"
    availability_topic: "zigbee2mqtt/bridge/state"
    payload_on: true
    payload_off: false
    value_template: "{{ value_json.occupancy }}"
    device_class: "motion"

Thanks Chris.