# 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:** 27

<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 21, 2019, 6:35pm UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/535 "2019-05-21T18:35:07Z")

</div>

Can’t tell you how often it will be updated, there are quite some changes now being tested, if test results are Ok, this version will go live on [homeydash.com](http://homeydash.com)

---

<div class="post-metadata">

**Author:** ![Andre\_Prins](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/andre_prins/32/10401_2.png) [@Andre\_Prins](https://community.homey.app/u/Andre_Prins)\
**Post date:** [May 21, 2019, 6:36pm UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/536 "2019-05-21T18:36:03Z")

</div>

Ok, then I’ll use your version to test new things. Thanks!

---

<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 21, 2019, 6:38pm UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/537 "2019-05-21T18:38:21Z")

</div>

To add the dim capability, copy the following code into the homey.ink.app.js file.

Under the “favoriteDevices.forEach(function(device){” section:

> ```
> if ( device.capabilitiesObj.dim ) {        
> device.makeCapabilityInstance('dim', function(value){
> var $device = document.getElementById('device-' + device.id);
> if( $device ) {
> var $value = document.getElementById('value-' + device.id);               
> var integer = Math.floor(device.capabilitiesObj.dim.value * 100)
> $value.innerHTML = "<div style=\"font-size: 80%;top: 1.5vh;line-height: 3vh;\">" + integer +" %<br />"
> }
> });
> }
> 
> ```

Under the “function renderDevices(devices) {” section:

> ```
> if ( device.capabilitiesObj.dim ) {
> var integer = Math.floor(device.capabilitiesObj.dim.value * 100)
> $value.innerHTML = "<div style=\"font-size: 80%;top: 1.5vh;line-height: 3vh;\">" + integer +" %<br />"
> }
> 
> ```

---

<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 21, 2019, 7:26pm UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/538 "2019-05-21T19:26:28Z")

</div>

@DaneedeKruyff Well I don’t know how it is possible but my energy value is not updated in real time and the other values are also not. and it doesn’t matter if I use [homeydash.com](http://homeydash.com) or my local version

---

<div class="post-metadata">

**Author:** ![Upsilon](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/upsilon/32/70506_2.png) [@Upsilon](https://community.homey.app/u/Upsilon)\
**Post date:** [May 21, 2019, 7:30pm UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/539 "2019-05-21T19:30:49Z")

</div>

Many thanks for all the work you guys put into it.

I’ve got a question, when I got to homeydash on my ipad mini 1st gen, I got this:

 ![15584669811752386158970429240839](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/5/5fca01c4f6f0ba3abbdb1937c28f3e3d9b28b2a7.jpeg)

Is my ipad mini to old?

---

<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 21, 2019, 7:42pm UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/541 "2019-05-21T19:42:23Z")

</div>

[homeydash.com](http://homeydash.com) is version 1.0.0. the newer are on Github, I have no idea how up-to-date your version is.

---

<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 21, 2019, 7:42pm UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/542 "2019-05-21T19:42:45Z")

</div>

What is the iOS version? iOS 9 will not work.

---

<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 21, 2019, 7:44pm UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/544 "2019-05-21T19:44:59Z")

</div>

Add your own token after the link, and it should work fine

For Dutch, change en after Lang in the link too nl

iOS version 10 and up, iOS version 9 and lower will not work!

[https://homeydash.com/theme=web&lang=en&token=Your](https://homeydash.com/theme=web&lang=en&token=Your) token

---

<div class="post-metadata">

**Author:** ![Upsilon](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/upsilon/32/70506_2.png) [@Upsilon](https://community.homey.app/u/Upsilon)\
**Post date:** [May 21, 2019, 7:53pm UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/545 "2019-05-21T19:53:33Z")

</div>

I guess that’s the problem, will check the iOS tomorrow.

---

<div class="post-metadata">

**Author:** ![Sjalabert](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sjalabert/32/11432_2.png) [@Sjalabert](https://community.homey.app/u/Sjalabert)\
**Post date:** [May 21, 2019, 8:02pm UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/546 "2019-05-21T20:02:23Z")

</div>

Google is your best friend 😉

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

---

<div class="post-metadata">

**Author:** ![Tino](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tino/32/10934_2.png) [@Tino](https://community.homey.app/u/Tino)\
**Post date:** [May 21, 2019, 8:20pm UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/547 "2019-05-21T20:20:19Z")

</div>

@DaneedeKruyff i realized a little problem in the background. Could you please check that?

 ![IMG_0387](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/7/7f6f07c326fe950137d1e95b82c2b4c4f7234121.jpeg)

---

<div class="post-metadata">

**Author:** ![Eduardo\_Rodriguez](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eduardo_rodriguez/32/1902_2.png) [@Eduardo\_Rodriguez](https://community.homey.app/u/Eduardo_Rodriguez)\
**Post date:** [May 21, 2019, 11:47pm UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/548 "2019-05-21T23:47:52Z")

</div>

for spanish language?

lang=es  
lang=sp

don’t work!

---

<div class="post-metadata">

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

</div>

@Eduardo_Rodriguez RTFM 😉 [https://github.com/daneedk/homeydash.com/blob/master/README.md](https://github.com/daneedk/homeydash.com/blob/master/README.md) Spanish isn’t on the list.

---

<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 22, 2019, 5:48am UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/550 "2019-05-22T05:48:53Z")

</div>

Hi @Eduardo_Rodriguez, you can create the Spanish language file if you want, and. send it to @DaneedeKruyff and he will add it too the project.

[Homey.ink on a tablet/desktop - #271 by DaneedeKruyff](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/271)

> Added multi language support, add `&lang=en` or `&lang=nl` to the url.
> 
> Example:  
> [http://localhost:5000/?theme=web&lang=en&token=](http://localhost:5000/?theme=web&lang=en&token=)
> 
> If you want to add another language, copy any of the files here [https://github.com/daneedk/homey.ink/tree/master/app/locales](https://github.com/daneedk/homey.ink/tree/master/app/locales) to start with. translate the texts and save it as `[countrycode].json`
> 
> When `&lang=` is omitted or invalid English will be used.

---

<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 22, 2019, 7:05am UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/551 "2019-05-22T07:05:58Z")

</div>

Hola Eduardo,

Welcome to the community, I think you’re the first person requesting a Spanish translation for [homeydash.com](http://homeydash.com), but to be able to use it in Spanish someone has to provide a translated language file just as Danny mentioned. I hope you can and will help your fellow countrymen by translating the English language file to Spanish.

Just open this page: [https://raw.githubusercontent.com/daneedk/homeydash.com/master/app/locales/en.json](https://raw.githubusercontent.com/daneedk/homeydash.com/master/app/locales/en.json) and copy the contents to notepad to translate the texts.  
After that copy the result in a post here or send it to me in a PM and I will gladly add it to [homeydash.com](http://homeydash.com)

Gracias!

---

<div class="post-metadata">

**Author:** ![Robin\_Ros](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robin_ros/32/7800_2.png) [@Robin\_Ros](https://community.homey.app/u/Robin_Ros)\
**Post date:** [May 22, 2019, 7:52am UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/552 "2019-05-22T07:52:01Z")

</div>

Who can help me?  
I get the token from homey.ink and paste it after token= then i got this error:  
[homeydash.com](http://homeydash.com)

Token invalid. Please log-in again.

[homey.ink](https://homey.ink/)

what is going wrong?

---

<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 22, 2019, 8:13am UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/553 "2019-05-22T08:13:47Z")

</div>

Make sure u use : [http://homeydash.com/?theme=web&lang=en&token=](http://homeydash.com/?theme=web&lang=en&token=)

---

<div class="post-metadata">

**Author:** ![Akumu](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/akumu/32/8812_2.png) [@Akumu](https://community.homey.app/u/Akumu)\
**Post date:** [May 22, 2019, 8:16am UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/554 "2019-05-22T08:16:55Z")

</div>

Is het mogelijk om ook de tijd(klokje) weer te geven? Ik heb zelf 0,0 programmeer kennis en wordt er niet wijzer van als ik naar de code kijk 😅

---

<div class="post-metadata">

**Author:** ![Eduardo\_Rodriguez](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eduardo_rodriguez/32/1902_2.png) [@Eduardo\_Rodriguez](https://community.homey.app/u/Eduardo_Rodriguez)\
**Post date:** [May 22, 2019, 8:51am UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/555 "2019-05-22T08:51:32Z")

</div>

Hi @DaneedeKruyff,

Here is the translate:

{  
“favoriteflows”: “Flows favoritos”,  
“favoritedevices”: “Dispositivos favoritos”,  
“text” : {  
“good”: "Buen@s ",  
“evening”: “noches”,  
“afternoon”: “tardes”,  
“morning”: “días”,  
“night”: “noches”,  
“today”: "Hoy es ",  
“the”: “el”,  
“of”: “de”  
},  
“notification”: {  
“title”: “Notificaciones recientes”,  
“nonotification”: “No hay notificaciones”  
},  
“weather”: {  
“title”: "Información del tiempo para ",  
“temperature”: "La temperatura actual es ",  
“degrees”: " grados, ",  
“humidity”: "la humedad es ",  
“pressure”: "% y la presión es “,  
“mbar”: " mbar”  
},  
“sunevent”: {  
“presunrise”: "El sol saldrá a las ",  
“postsunrise”: "El sol salió a las ",  
“presunset”: " y se pondrá a las ",  
“postsunset”: " y se puso "  
},  
“battery”: {  
“title”: “Información de la batería”,  
“in”: " en ",  
“has”: " tiene “,  
“left”: “% restante”  
},  
“sensor”: {  
“title”: “Información de sensores”,  
“in”: " en “,  
“alarm”: " está activado.”,  
“noalarm”: " No hay sensores activados.”,  
“fault”: “Hay un problema al cargar sus dispositivos, verifique sus dispositivos y aplicaciones en la aplicación Homey”  
}

There are a few problems that can be applied to the Portuguese language as well:

In Spain we do not differentiate between evening and night, he only have night 🙂

For english “good” is correct for all day times, but in spain and Portugal not:

Good day - Buenos días - Bom dia  
Good afternoon - Buenas tardes - Boa tarde  
Good night - Buenas noches - Boas noites

I translate “good” as “buen@s”, i don’t know if is posible to correct the system of text in screen.

Thanks for your support and sorry for my english.

---

<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 22, 2019, 9:13am UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/556 "2019-05-22T09:13:40Z")

</div>

> [@Eduardo\_Rodriguez](#):
>
> Thanks for your support and sorry for my english.

Nothing wrong with that as far as i can see. Can be a lot worse than this, believe me… 😛

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

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