# Sensor status widget?

**URL:** <https://community.homey.app/t/sensor-status-widget/37106>\
**Category:** Questions & Help\
**Created:** [November 9, 2020, 12:24am UTC](https://community.homey.app/t/sensor-status-widget/37106 "2020-11-09T00:24:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thomasx](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/thomasx/32/15341_2.png) [@Thomasx](https://community.homey.app/u/Thomasx)\
**Post date:** [November 9, 2020, 12:24am UTC](https://community.homey.app/t/sensor-status-widget/37106/1 "2020-11-09T00:24:05Z")

</div>

Hi

I know how to setup a widget on my android phone to control lights etc.

But how do I create a widget that reports a sensor value, like for instance the status of a door sensor?

Thanks.

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [November 9, 2020, 7:03am UTC](https://community.homey.app/t/sensor-status-widget/37106/2 "2020-11-09T07:03:15Z")

</div>

Exactly the same way but use one of the capabilities such as alarm\_contact or one of the measure\_ capabilities. If you want a custom one then use “uiComponent”: “sensor” and “setable”: false.

All the built in capabilities are documented here: [https://developer.athom.com/docs/apps-reference](https://developer.athom.com/docs/apps-reference)  
If you click on the three dots it shows you what all the settings are so you can get an idea of how to create your custom ones.
