# 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:** 20\
**Page:** 17

<div class="post-metadata">

**Author:** ![rindler](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rindler/32/5501_2.png) [@rindler](https://community.homey.app/u/rindler)\
**Post date:** [May 16, 2019, 5:59am UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/328 "2019-05-16T05:59:17Z")

</div>

[https://github.com/moment/moment/blob/develop/locale/nb.js](https://github.com/moment/moment/blob/develop/locale/nb.js) This is the correct one.

---

<div class="post-metadata">

**Author:** ![DaneedeKruyff](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/daneedekruyff/32/964_2.png) [@DaneedeKruyff](https://community.homey.app/u/DaneedeKruyff)\
**Post date:** [May 16, 2019, 7:39am UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/329 "2019-05-16T07:39:07Z")

</div>

Thanks, changed the `no.json` file to `nb.json`, please use `lang=nb` for Norwegian from now on.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/6/6c4f9ba137d55304aa536b44907a45f842b7f58a.png)

---

<div class="post-metadata">

**Author:** ![DaneedeKruyff](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/daneedekruyff/32/964_2.png) [@DaneedeKruyff](https://community.homey.app/u/DaneedeKruyff)\
**Post date:** [May 16, 2019, 10:39am UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/330 "2019-05-16T10:39:13Z")

</div>

Hi @Sebastien,  
I don’t see anything on Github, could you post it here or send me a PM?

---

<div class="post-metadata">

**Author:** ![PetervdK](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/petervdk/32/20669_2.png) [@PetervdK](https://community.homey.app/u/PetervdK)\
**Post date:** [May 16, 2019, 11:26am UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/331 "2019-05-16T11:26:48Z")

</div>

Finally got the multi-line values working, with help from Kalle’s code. It now displays temp, humid & battery for my Xiaomi sensors and watt & gas usage for my Plugwise P1. Still have to put some effort in getting the decimal back for the temperature and the humidity:

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

---

<div class="post-metadata">

**Author:** ![carp3-noctem](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/carp3-noctem/32/8831_2.png) [@carp3-noctem](https://community.homey.app/u/carp3-noctem)\
**Post date:** [May 16, 2019, 12:59pm UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/332 "2019-05-16T12:59:25Z")

</div>

ohh dear, i need to get into this. hope to find some time to check this out. also maybe i can use my old ipad for it…

---

<div class="post-metadata">

**Author:** ![Ruud](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ruud/32/64214_2.png) [@Ruud](https://community.homey.app/u/Ruud)\
**Post date:** [May 16, 2019, 1:09pm UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/333 "2019-05-16T13:09:16Z")

</div>

Do you have this code on github? I would like to add it to my version and for my howizard energy link I would also like it /

---

<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:** [May 16, 2019, 2:11pm UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/334 "2019-05-16T14:11:21Z")

</div>

> [@carp3-noctem](#):
>
> maybe i can use my old ipad for it

Depends on the definition of “old “  
Here the Danee versions don’t work on IOS 9.x  
The standard Emile version works tho.

---

<div class="post-metadata">

**Author:** ![PetervdK](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/petervdk/32/20669_2.png) [@PetervdK](https://community.homey.app/u/PetervdK)\
**Post date:** [May 16, 2019, 2:11pm UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/335 "2019-05-16T14:11:44Z")

</div>

No, but i can copy paste some here… 😛  
Hmm, i see the JS formatting disappears after paste. But i think you will get an idea of what to do i suppose.  
I also added 1 line in the web.css file to align all values to the right . Just add " text-align: right; " at the end under the “.device .value” section. I also did some adjustments to the font and line size there too, so if it doesn’t fit the tile, you can play around with the values in that same section (don’t forget to adjust the #decimal value too 😛)

First block (append somewhere in the “homey.devices.getdevices” section):

> //FIRST BLOCK STARTS HERE  
> if ( device.capabilitiesObj.measure\_temperature && device.capabilitiesObj.measure\_humidity && device.capabilitiesObj.measure\_battery ) {  
> device.makeCapabilityInstance(‘measure\_temperature’, function(value){  
> var $device = document.getElementById(‘device-’ + device.id);  
> if( $device ) {  
> var $value = document.getElementById(‘value-’ + device.id);  
> var integer = Math.floor(device.capabilitiesObj.measure\_temperature.value)  
> var integer1 = Math.floor(device.capabilitiesObj.measure\_humidity.value)  
> var integer2 = Math.floor(device.capabilitiesObj.measure\_battery.value)  
> $value.innerHTML = “\<div style="font-size: 75%;top: 1.5vh;line-height: 2vh;"\>” + integer +" Â°  
> " + integer1 + " %  
> " + integer2 + " %  
> "  
> }  
> });  
> }  
> if ( device.capabilitiesObj.measure\_power && device.capabilitiesObj.measure\_gas ) {  
> device.makeCapabilityInstance(‘measure\_power’, function(value){  
> var $device = document.getElementById(‘device-’ + device.id);  
> if( $device ) {  
> var $value = document.getElementById(‘value-’ + device.id);  
> var integer = Math.floor(device.capabilitiesObj.measure\_power.value)  
> var integer1 = Math.floor(device.capabilitiesObj.measure\_gas.value)  
> $value.innerHTML = “\<div style="font-size: 75%;top: 1.5vh;line-height: 3vh;"\>” + integer +" W  
> " + integer1 + " MÂ³  
> "  
> }  
> });  
> }  
> //FIRST BLOCK ENDS HERE

Second block (append somewhere in the “function renderDevices” section):

> //SECOND BLOCK STARTS HERE  
> if ( device.capabilitiesObj.measure\_temperature && device.capabilitiesObj.measure\_humidity && device.capabilitiesObj.measure\_battery ) {  
> var integer = Math.floor(device.capabilitiesObj.measure\_temperature.value)  
> var integer1 = Math.floor(device.capabilitiesObj.measure\_humidity.value)  
> var integer2 = Math.floor(device.capabilitiesObj.measure\_battery.value)  
> $value.innerHTML = “\<div style="font-size: 75%;top: 1.5vh;line-height: 2vh;"\>” + integer +" Â°  
> " + integer1 + " %  
> " + integer2 + " %  
> "  
> }  
> if ( device.capabilitiesObj.measure\_power && device.capabilitiesObj.measure\_gas ) {  
> var integer = Math.floor(device.capabilitiesObj.measure\_power.value)  
> var integer1 = Math.floor(device.capabilitiesObj.measure\_gas.value)  
> $value.innerHTML = “\<div style="font-size: 75%;top: 1.5vh;line-height: 3vh;"\>” + integer +" W  
> " + integer1 + " MÂ³  
> "  
> }  
> //SECOND BLOCK ENDS HERE

---

<div class="post-metadata">

**Author:** ![anon2681894](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@anon2681894](https://community.homey.app/u/anon2681894)\
**Post date:** [May 16, 2019, 2:28pm UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/336 "2019-05-16T14:28:46Z")

</div>

to bad I already found that out… bummer…

---

<div class="post-metadata">

**Author:** ![John\_Mentjens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/john_mentjens/32/10013_2.png) [@John\_Mentjens](https://community.homey.app/u/John_Mentjens)\
**Post date:** [May 16, 2019, 2:53pm UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/337 "2019-05-16T14:53:06Z")

</div>

I want to install homey ink on my Symology.  
Can you tell me how to do that?  
Need to install web server? And then?

---

<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:** [May 16, 2019, 2:55pm UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/338 "2019-05-16T14:55:26Z")

</div>

Download the files and upload them in the “Web” folder on ur Synology. Make a map like “Homey” in de Web map. Adress will be IP/Homey/app/index.html/?token=TOKEN&theme=web  
And first make the map Homey and upload the files in there ofc.

---

<div class="post-metadata">

**Author:** ![DaneedeKruyff](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/daneedekruyff/32/964_2.png) [@DaneedeKruyff](https://community.homey.app/u/DaneedeKruyff)\
**Post date:** [May 16, 2019, 3:07pm UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/339 "2019-05-16T15:07:20Z")

</div>

Unfortunately I no longer have an iPad running iOS 9 so it’s very hard to find out why it’s not working, Sorry.

---

<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:** [May 16, 2019, 3:08pm UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/340 "2019-05-16T15:08:05Z")

</div>

I have one running in the bar. Bring a laptop and we take a beer!

---

<div class="post-metadata">

**Author:** ![Dick\_Van\_der\_Pijl](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dick_van_der_pijl/32/39372_2.png) [@Dick\_Van\_der\_Pijl](https://community.homey.app/u/Dick_Van_der_Pijl)\
**Post date:** [May 16, 2019, 3:11pm UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/341 "2019-05-16T15:11:16Z")

</div>

can i instal it on a apple airport ?

---

<div class="post-metadata">

**Author:** ![DaneedeKruyff](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/daneedekruyff/32/964_2.png) [@DaneedeKruyff](https://community.homey.app/u/DaneedeKruyff)\
**Post date:** [May 16, 2019, 3:17pm UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/342 "2019-05-16T15:17:56Z")

</div>

Uploaded a new version in which you can cycle through the (number) capabilities available on a device. When you click a device tile you will get the next capability and the title is shown for a short time.  
Selected values will not be saved between sessions and the layout for the values and units is also not completely done. It’s device independent so should work for any device with any and all capabilities (although I filtered out measure\_battery)  
Currently only changes in measure\_temperature and flora\_measure\_moisture will automatically update its value on a tile, I’m looking into registering changes in all capabilities.

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/3/347b2122954484b7452cda1b2f400475e4e33f45.png) ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/a/a053c9789c9bdfe8099d1c8a83e724ff004893a1.png) ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/d/d8cd3b2270bfdc0546a7494a3b71b47cecc95165.png) ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/7/791a186287286d41ed253cab078781e0c2147cfb.png)  
(can’t upload video here, so static screenshots in which I can’t show the title change unfortunately)

---

<div class="post-metadata">

**Author:** ![carp3-noctem](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/carp3-noctem/32/8831_2.png) [@carp3-noctem](https://community.homey.app/u/carp3-noctem)\
**Post date:** [May 16, 2019, 3:39pm UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/343 "2019-05-16T15:39:41Z")

</div>

It is an gen 4 iPad. Don’t know what ios it has but it uses the last available one.  
@Rocodamelshekima

---

<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:** [May 16, 2019, 3:49pm UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/344 "2019-05-16T15:49:41Z")

</div>

A 4 will do the job.

---

<div class="post-metadata">

**Author:** ![Danny\_Mertens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/danny_mertens/32/4247_2.png) [@Danny\_Mertens](https://community.homey.app/u/Danny_Mertens)\
**Post date:** [May 16, 2019, 3:54pm UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/345 "2019-05-16T15:54:07Z")

</div>

Have some, so if I can support, would also very happy if I can use these old devices for something again 😉

---

<div class="post-metadata">

**Author:** ![Danny\_Mertens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/danny_mertens/32/4247_2.png) [@Danny\_Mertens](https://community.homey.app/u/Danny_Mertens)\
**Post date:** [May 16, 2019, 3:55pm UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/346 "2019-05-16T15:55:16Z")

</div>

Have some, so if I can support, would also very happy if I can use these old devices for something again 😉

---

<div class="post-metadata">

**Author:** ![Hannes85](https://avatars.discourse-cdn.com/v4/letter/h/e79b87/32.png) [@Hannes85](https://community.homey.app/u/Hannes85)\
**Post date:** [May 16, 2019, 6:19pm UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/348 "2019-05-16T18:19:44Z")

</div>

Errrrr you might want to remove this response before anyone else sees it 😉

[Previous page](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443.md?page=16)

[Next page](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443.md?page=18)
