# Monitor a device

**URL:** <https://community.homey.app/t/monitor-a-device/10649>\
**Category:** Questions & Help\
**Created:** [March 16, 2019, 10:20am UTC](https://community.homey.app/t/monitor-a-device/10649 "2019-03-16T10:20:43Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![christian.ek](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/christian.ek/32/64171_2.png) [@christian.ek](https://community.homey.app/u/christian.ek)\
**Post date:** [March 16, 2019, 10:20am UTC](https://community.homey.app/t/monitor-a-device/10649/1 "2019-03-16T10:20:43Z")

</div>

Hi everyone,  
I am a new Homey user and coming from Home Assistant. In Home Assistant I used to monitor my server by sending info by MQTT to Home Assistant with mem usage, cpu load, uptime etc.

I have figured out how to get the values into a variable with Better Logic and a MQTT Client in Homey but I am still to figure out how to display the information as a device.

Is it possible to display that information like this?

 ![PNG](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/1/1e3569cf1ecd1cc858fc0137f98f486fbcb7cc9e.jpeg)

---

<div class="post-metadata">

**Author:** ![zigvespa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/zigvespa/32/7788_2.png) [@zigvespa](https://community.homey.app/u/zigvespa)\
**Post date:** [March 16, 2019, 10:54am UTC](https://community.homey.app/t/monitor-a-device/10649/2 "2019-03-16T10:54:44Z")

</div>

Not sure if this is what you mean, but:

With Homey Insights you can view variables in graphs: [https://insights.homey.app](https://insights.homey.app)

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/f/f07f9e747eb1d2a66bc5ccf87a65391dca871fc2.jpeg)

The example shows the Hue Outdoor Sensor 7 day temperature values and the Homey System memory use.

Furthermore, at [http://developer.athom.com/tools/system](http://developer.athom.com/tools/system) you can find the parameters you mention and more.

---

<div class="post-metadata">

**Author:** ![bvdbos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bvdbos/32/2352_2.png) [@bvdbos](https://community.homey.app/u/bvdbos)\
**Post date:** [March 16, 2019, 10:59am UTC](https://community.homey.app/t/monitor-a-device/10649/3 "2019-03-16T10:59:39Z")

</div>

I think he means system etc of his server, not of Homey.

These can be shown in a device-info but I think you’d have to create your own app or Virtual Device (based on [https://apps.athom.com/app/com.arjankranenburg.virtual](https://apps.athom.com/app/com.arjankranenburg.virtual)) for that.

---

<div class="post-metadata">

**Author:** ![christian.ek](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/christian.ek/32/64171_2.png) [@christian.ek](https://community.homey.app/u/christian.ek)\
**Post date:** [March 16, 2019, 7:12pm UTC](https://community.homey.app/t/monitor-a-device/10649/4 "2019-03-16T19:12:22Z")

</div>

Nice one but my “Better logic” variables does not show in there.

---

<div class="post-metadata">

**Author:** ![christian.ek](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/christian.ek/32/64171_2.png) [@christian.ek](https://community.homey.app/u/christian.ek)\
**Post date:** [March 16, 2019, 7:13pm UTC](https://community.homey.app/t/monitor-a-device/10649/5 "2019-03-16T19:13:26Z")

</div>

Yes I am looking for showing the current value in a device-info. I am trying to get it working with Virtual Device but am unable to set the values from “Better logic”

---

<div class="post-metadata">

**Author:** ![Torstein](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/torstein/32/2043_2.png) [@Torstein](https://community.homey.app/u/Torstein)\
**Post date:** [March 26, 2020, 1:22pm UTC](https://community.homey.app/t/monitor-a-device/10649/6 "2020-03-26T13:22:28Z")

</div>

I’m also for a lookout after passing a variable from “better logic” to a VirtualDevice. I’m using a 3rd-party power meter for the whole house, and passing that JSON-request value (Watts) into a better logic variable. But I also want to see this value in a device, so I can add it to the [homeydash.com](http://homeydash.com) interface

---

<div class="post-metadata">

**Author:** ![Rocodamelshekima](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rocodamelshekima/32/8209_2.png) [@Rocodamelshekima](https://community.homey.app/u/Rocodamelshekima)\
**Post date:** [March 26, 2020, 4:01pm UTC](https://community.homey.app/t/monitor-a-device/10649/7 "2020-03-26T16:01:45Z")

</div>

> [@Torstein](#):
>
> But I also want to see this value in a device,

That should be visable in the virtual device on [Homeydash.com](http://Homeydash.com) aye? Just click the device and hold it for a little while will show the values?

---

<div class="post-metadata">

**Author:** ![Torstein](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/torstein/32/2043_2.png) [@Torstein](https://community.homey.app/u/Torstein)\
**Post date:** [March 27, 2020, 8:36am UTC](https://community.homey.app/t/monitor-a-device/10649/8 "2020-03-27T08:36:17Z")

</div>

Thanks for reply, but I cannot put that better logic variable value into a virtual devices as a power value. That’s my issue.

I know that the homeydash can show variables by click-and-hold 🙂

---

<div class="post-metadata">

**Author:** ![Rocodamelshekima](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rocodamelshekima/32/8209_2.png) [@Rocodamelshekima](https://community.homey.app/u/Rocodamelshekima)\
**Post date:** [March 27, 2020, 8:53am UTC](https://community.homey.app/t/monitor-a-device/10649/9 "2020-03-27T08:53:00Z")

</div>

Make the virtual device with the VD app.  
Make a wallplug with power capability.  
Make a flow with:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/5/65e46298e4adbaec7025806d5ffc651c5106592e.jpeg)

And this:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/b/cbd7c01e203edcdbd5d0c18a04d036a57f036d3b.jpeg)

Be creative!

---

<div class="post-metadata">

**Author:** ![Eternity](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eternity/32/102113_2.png) [@Eternity](https://community.homey.app/u/Eternity)\
**Post date:** [March 27, 2020, 10:23am UTC](https://community.homey.app/t/monitor-a-device/10649/10 "2020-03-27T10:23:23Z")

</div>

Great idea @Rocodamelshekima !

I am trying to built something with the suggestions you made. Somehow I can’t get to set the values of the virtual device. To make things simple, I am just trying to set a value to ‘10’

I made a VD, defined as wall plus, gave it the capabilities of a sensor and selected 3 ‘stroom’, ‘energiemeter’ and ‘energie’.

Made a testflow:

 ![Schermafbeelding 2020-03-27 om 11.19.34](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/0/900e94330cb5698e3ec0131d4c1af5e5dc3b9688.png)  
_(wasn’t sure about the tags, so I just made it ‘both ways’)._

If I test the flow, all values remain blank.

 ![Screenshot_2020-03-27-11-19-17-879_app.homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/8/b884eb038328d6d351050a8de50a8f68543f7dcb.jpeg)

I must be missing something 🙂

---

<div class="post-metadata">

**Author:** ![Rocodamelshekima](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rocodamelshekima/32/8209_2.png) [@Rocodamelshekima](https://community.homey.app/u/Rocodamelshekima)\
**Post date:** [March 27, 2020, 10:41am UTC](https://community.homey.app/t/monitor-a-device/10649/11 "2020-03-27T10:41:07Z")

</div>

> [@Eternity](#):
>
> I must be missing something

Yeah, u missed the “measure\_power” part  
So sensor =“measure\_power”  
Value =the tag u want to show as power in the device

---

<div class="post-metadata">

**Author:** ![Osorkon](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/osorkon/32/43026_2.png) [@Osorkon](https://community.homey.app/u/Osorkon)\
**Post date:** [March 27, 2020, 10:42am UTC](https://community.homey.app/t/monitor-a-device/10649/12 "2020-03-27T10:42:01Z")

</div>

If you want set values on a VD you have to use the correspondent [capability](https://developer.athom.com/docs/apps/tutorial-Drivers-Reference.html)

E.g Energy es here:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/5/b52caef8ee0055c3a2d2c2bb52ecd15a739fa2f2.jpeg)

Edit @Rocodamelshekima was faster. 😀

---

<div class="post-metadata">

**Author:** ![Eternity](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eternity/32/102113_2.png) [@Eternity](https://community.homey.app/u/Eternity)\
**Post date:** [March 27, 2020, 10:45am UTC](https://community.homey.app/t/monitor-a-device/10649/13 "2020-03-27T10:45:53Z")

</div>

Thanks guys 🙂

Working:

 ![Screenshot_2020-03-27-11-56-24-687_app.homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/b/2b142afdf8cff182eb404e7366d9774642c3725f.jpeg)

---

<div class="post-metadata">

**Author:** ![Torstein](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/torstein/32/2043_2.png) [@Torstein](https://community.homey.app/u/Torstein)\
**Post date:** [March 27, 2020, 12:21pm UTC](https://community.homey.app/t/monitor-a-device/10649/14 "2020-03-27T12:21:58Z")

</div>

> [@Rocodamelshekima](#):
>
> Yeah, u missed the “measure\_power” part

Was exactly what I was missing too! I tried to add tag with “power” for the corresponding device in sensor field. But now I see that you have to write it as text.

You are so helpful here on this community, @Rocodamelshekima . I see you in many post and appriciate that 🤟 💟 I think other are too!

---

<div class="post-metadata">

**Author:** ![Rocodamelshekima](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rocodamelshekima/32/8209_2.png) [@Rocodamelshekima](https://community.homey.app/u/Rocodamelshekima)\
**Post date:** [March 27, 2020, 2:48pm UTC](https://community.homey.app/t/monitor-a-device/10649/15 "2020-03-27T14:48:51Z")

</div>

> [@Torstein](#):
>
> I think other are too!

U would be surprised! 😉
