# Can Wled motion sensor be configured to allow access via MQTT in Home Asssistant

**URL:** <https://wled.discourse.group/t/can-wled-motion-sensor-be-configured-to-allow-access-via-mqtt-in-home-asssistant/3273>\
**Category:** Usermods\
**Created:** [July 23, 2021, 5:20pm UTC](https://wled.discourse.group/t/can-wled-motion-sensor-be-configured-to-allow-access-via-mqtt-in-home-asssistant/3273 "2021-07-23T17:20:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gavj62](https://avatars.discourse-cdn.com/v4/letter/g/9dc877/32.png) [@gavj62](https://wled.discourse.group/u/gavj62)\
**Post date:** [July 23, 2021, 5:20pm UTC](https://wled.discourse.group/t/can-wled-motion-sensor-be-configured-to-allow-access-via-mqtt-in-home-asssistant/3273/1 "2021-07-23T17:20:46Z")

</div>

I have been using the sensors2mqtt addon to get MQTT temperature and pressure using a BMP280 successfully in HA.

I am now trying to setup a PIR under Wled to trigger some ceiling up-lights (to illuminate the ceiling)

I am now investigating the possibility of adding MQTT visibility in HA under the MQTT integration.

Does anyone have any suggestions what would be the correct setup info for a binary motion sensor ?

Any suggestions much appreciated.
