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

<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 17, 2019, 10:15am UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/389 "2019-05-17T10:15:25Z")

</div>

Then there is something wrong with ur url  
Be aware of capital letters, make sure u are logged in at Homey.ink and url looks like  
IP/mapname/app/index.html/?token=TOKEN&theme=web

---

<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 17, 2019, 10:20am UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/390 "2019-05-17T10:20:26Z")

</div>

I can understand what you’re saying. I primarily focus on using it on an iPad and iPhone and have adjusted the tile size so it fits those devices well. The current tile size enables you to use 18 tiles on an ipad without any scrolling and leaves them big enough to be able to see them from a decent distance.

What I can do is copy the `web.css` to `ipad.css` so the url for using it on an iPad would change to `theme=ipad`. This would leave room to change tile sizes when using `theme=web` without changing the behaviour on an iPad.

---

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

</div>

That sounds perfect!

---

<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 17, 2019, 11:38am UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/392 "2019-05-17T11:38:32Z")

</div>

I also got that error message, then i removed the / between html and ? So the new url would be:

IP/mapname/app/index.html?token=TOKEN&theme=web

Now it’s working like a charm 🙂

I’m at QNAP NAS btw, don’t know if that makes a diffrent…

---

<div class="post-metadata">

**Author:** ![SilverApe](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/silverape/32/12745_2.png) [@SilverApe](https://community.homey.app/u/SilverApe)\
**Post date:** [May 17, 2019, 12:12pm UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/393 "2019-05-17T12:12:29Z")

</div>

Yeah!  
Thanks @Rocodamelshekima and @Akumu. It was the / that was wrong. Now it works.

---

<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 17, 2019, 1:39pm UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/394 "2019-05-17T13:39:18Z")

</div>

> [@Akumu](#):
>
> IP/mapname/app/index.html?token=TOKEN&theme=web

I don’t use index.html at all. index.html is often the webservers default page. So my url is:

http://domain\_name/homey/app/?theme=web&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 17, 2019, 1:54pm UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/395 "2019-05-17T13:54:26Z")

</div>

Yes, indeed 🙂

---

<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 17, 2019, 2:47pm UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/396 "2019-05-17T14:47:42Z")

</div>

So when using index.html the / is not needed, when just using /app the / is needed.

---

<div class="post-metadata">

**Author:** ![Peter\_de\_Vos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_de_vos/32/151925_2.png) [@Peter\_de\_Vos](https://community.homey.app/u/Peter_de_Vos)\
**Post date:** [May 17, 2019, 2:51pm UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/397 "2019-05-17T14:51:14Z")

</div>

Strange. When you get a token for another user in your home, it’s exactly the same. So you can only show the devices and flows from the owner i guess…

---

<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 17, 2019, 2:52pm UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/398 "2019-05-17T14:52:14Z")

</div>

That also may be a cache problem?

---

<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 17, 2019, 5:34pm UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/400 "2019-05-17T17:34:57Z")

</div>

But I need Open Weather. Is there another solution else then deleting the app?

---

<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 17, 2019, 5:39pm UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/401 "2019-05-17T17:39:12Z")

</div>

> [@SilverApe](#):
>
> Hi,  
> I get a 404 when I try it with my Synology. My other test websites work. Does anyone know what I am doing wrong or where to look?

Try to clear the cache of the browser. I had the same error with Synology

---

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

</div>

Same goes here. This was alr solved a few posts up. Now u can tell me u was only trying to help.

---

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

</div>

Does anybody know if (and how) i can retrieve the “zb\_device\_id” or “zb\_product\_id” with js?  
I want to check for this to determine what to display on the tile.  
Already tried and searched a lot , but now i think this is a quicker way to get an answer… 😛

---

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

</div>

Did you try my version recently? That one is able to show all (number) capabilities on a tile.  
What are you specifically looking for, what do you want to display for which device?

---

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

</div>

I want to show all values (that are important to me) at once on the tiles.  
The problem is that some tiles share the same capabilities and are influenced in some way with the make-up or some other unknown code. I can’t manage this by grouping the capabilities in any way.  
So if i can retrieve the device id i can query this in the first IF statement of a device and write code for each device without interfering others.

---

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

</div>

The `device.id` can be retrieved see: [line 495](https://github.com/daneedk/homey.ink/blob/244e4b6d9355a77719cd347c94b06466dce3bd52/app/js/homey.ink.app.js#L495) for example.

If you make a condition in the renderDevices function that checks for a certain `device.id` you can then add the capabilities you’d like to add per device. That would however make it very specific for your environment but if you’re not distributing it that would’t matter (until you remove or add devices 😉 )

---

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

</div>

The Danee version will be online soon to be used by everyone. More info will follow. 😉

---

<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 17, 2019, 8:03pm UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/408 "2019-05-17T20:03:02Z")

</div>

The selected value on a tile will now be remembered\* so the next time you open the dashboard you don’t have to select the values you like to see. Also added a blank value so you can also decide to not show a value on a tile. Removed the filtering of measure\_battery so that can now also be shown now.

\*the duration is currently set to 1 hour, did this for testing purposes so I wouldn’t have to wait too long for the timer to expire. Will change this to a higher value in next versions.

---

<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 17, 2019, 11:24pm UTC](https://community.homey.app/t/homey-ink-on-a-tablet-desktop/12443/410 "2019-05-17T23:24:59Z")

</div>

Yeah, that one i already found. But that is the unique device ID. I mean the product or device id that is stored in settings section and is visible on the device page. That specifies a range of devices (f.i. all Xiaomi round therm./humid sensors) so you can build a tile around that.

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

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

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