# Monitor battery value

**URL:** <https://discourse.nodered.org/t/monitor-battery-value/97129>\
**Category:** General\
**Created:** [18 May 2025 18:58 UTC](https://discourse.nodered.org/t/monitor-battery-value/97129 "2025-05-18T18:58:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Haithamk](https://avatars.discourse-cdn.com/v4/letter/h/b9bd4f/32.png) [@Haithamk](https://discourse.nodered.org/u/Haithamk)\
**Post date:** [18 May 2025 18:58 UTC](https://discourse.nodered.org/t/monitor-battery-value/97129/1 "2025-05-18T18:58:36Z")

</div>

Gents,  
I have many zigbee sensors running on batteries. I want to read the value of the batteries of some sensors and if it is less than 30 percent I want to turn on a virtual device i have on my ihost.

the following data i am getting from my sensor.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/3/639f87ef97c6dbc722cc1be50faaeb5785c010bc.png)

how can i do that in nodered. I am still on learning curve.  
thank you

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [18 May 2025 21:03 UTC](https://discourse.nodered.org/t/monitor-battery-value/97129/2 "2025-05-18T21:03:37Z")

</div>

There’s a great page in the docs ([Working with messages : Node-RED](https://nodered.org/docs/user-guide/messages)) that will explain how to use the debug panel to find the right path/value for any data item.

Pay particular attention to the part about the buttons that appear under your mouse pointer when you over hover a debug message property in the sidebar.

![BX00Cy7yHi](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/d/bd1f333a9e043b061b39917c328b0094d3e52d30.gif)

If that doesn't help you to get access to the battery value then I recommend watching this playlist: [Node-RED Essentials](https://www.youtube.com/playlist?list=PLyNBB9VCLmo1hyO-4fIZ08gqFcXBkHy-6). The videos are done by the developers of node-red. They're nice & short and to the point. You will understand a whole lot more in about 1 hour. A small investment for a lot of gain.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [16 August 2025 21:04 UTC](https://discourse.nodered.org/t/monitor-battery-value/97129/3 "2025-08-16T21:04:17Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
