# Homey.ink on a tablet/desktop

**URL:** <https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443>\
**Category:** Developers\
**Tags:** app\
**Created:** [April 29, 2019, 3:55pm UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443 "2019-04-29T15:55:21Z")\
**Posts on this page:** 1\
**Showing post:** 721

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [February 2, 2020, 4:00pm UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/721 "2020-02-02T16:00:45Z")

</div>

Hi, please check the code above. There is a line with “device.makeCapabilityInstance”. This registeres an event handler. When the capability in Homey devices is changed, the Dashboard will execute the code inside the { } brackets.  
There you can change your div-element.

Here is another example where I change the color of the displayed temperature when the thermostate temperature is changed:

> [@Homeydash.com, a Homey dashboard](https://community.homey.app/t/homeydash-com-a-homey-dashboard/13509/648):
>
> Hello again, thanks Danee, it’s working now. I’ve also seen that I had to give the value elements the id (value+device+capability) to get an auto updated value using your renderValues() method. I just insert the thermostate code here, so can take some parts if you need it. There is a small extention for the coloring of values. The value itself is changed by renderValues(), the color is changed inside the additional makeCapabilityInstance codes - inserted here to pevent changing the code on m…

I think that is what you wanted to do. Good luck 🙂

---

_[View the full topic](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443)._
