# \[HOW TO\] View your Homey v2 flows in a browser

**URL:** <https://community.homey.app/t/how-to-view-your-homey-v2-flows-in-a-browser/7427>\
**Category:** Questions & Help\
**Created:** [January 19, 2019, 8:58pm UTC](https://community.homey.app/t/how-to-view-your-homey-v2-flows-in-a-browser/7427 "2019-01-19T20:58:18Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![Bob\_Mijwaard](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bob_mijwaard/32/11736_2.png) [@Bob\_Mijwaard](https://community.homey.app/u/Bob_Mijwaard)\
**Post date:** [February 7, 2019, 9:59am UTC](https://community.homey.app/t/how-to-view-your-homey-v2-flows-in-a-browser/7427/24 "2019-02-07T09:59:17Z")

</div>

btw: i can also find my homey IP by looking in my router… will that do?

That will do

---

<div class="post-metadata">

**Author:** ![lauer](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/lauer/32/9692_2.png) [@lauer](https://community.homey.app/u/lauer)\
**Post date:** [February 7, 2019, 11:37am UTC](https://community.homey.app/t/how-to-view-your-homey-v2-flows-in-a-browser/7427/25 "2019-02-07T11:37:18Z")

</div>

I had som problems with loading all flows, as @Anton also had.  
It seems to be a problem with a parameter for a flow.

It worked, if I inserted this line after 444 in flowview.html. However, it should be solved better.

```
if (argDef === undefined && typeof value === 'number') argDef = {type: 'number'} //todo: v2 workaround
```

---

<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:** [February 7, 2019, 12:18pm UTC](https://community.homey.app/t/how-to-view-your-homey-v2-flows-in-a-browser/7427/26 "2019-02-07T12:18:48Z")

</div>

No, you don’t need to be at home to be able to use this, but when not in the same network as your Homey you need the _Athom Cloud uri_ and homeyID to connect.

I’ve changed the first post, now it tells you what to do when using a _Local Connection_ and when using a _Remote Connection_

(The settings for a _Remote Connection_ will also work when using a _Local Connection_)

---

<div class="post-metadata">

**Author:** ![Menne\_Talsma](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/menne_talsma/32/8752_2.png) [@Menne\_Talsma](https://community.homey.app/u/Menne_Talsma)\
**Post date:** [February 7, 2019, 12:49pm UTC](https://community.homey.app/t/how-to-view-your-homey-v2-flows-in-a-browser/7427/27 "2019-02-07T12:49:55Z")

</div>

What is my

Athom Cloud uri  
?

Groet  
Menne

---

<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:** [February 7, 2019, 12:52pm UTC](https://community.homey.app/t/how-to-view-your-homey-v2-flows-in-a-browser/7427/28 "2019-02-07T12:52:00Z")

</div>

This: ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/a/aadf720e0d261f2d1ee4bc3d20747203d1dfb55d.png) as it is described in the opening post of this topic.

---

<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:** [February 7, 2019, 1:31pm UTC](https://community.homey.app/t/how-to-view-your-homey-v2-flows-in-a-browser/7427/29 "2019-02-07T13:31:25Z")

</div>

That will not do, the fact that the IP is not shown is because he is not connecting from the same network as his Homey is in, so it’s highly likely there is no possibility to connect to the local IP address.

---

<div class="post-metadata">

**Author:** ![Menne\_Talsma](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/menne_talsma/32/8752_2.png) [@Menne\_Talsma](https://community.homey.app/u/Menne_Talsma)\
**Post date:** [February 7, 2019, 3:44pm UTC](https://community.homey.app/t/how-to-view-your-homey-v2-flows-in-a-browser/7427/30 "2019-02-07T15:44:38Z")

</div>

@DaneedeKruyff

Gave up trying te get it working remotely (and had to work a bit :-))  
Came home, punched in homey’s internal adress and HURRAY IT WORKS

KUdo’s Kudo’s Kudo’s for you!! 😍😍  
judging by all the griefof users with Athom’s choice to abandon Web- & PC support in V2…

I think you made a lot of people happy.

@Erik  
😀

---

<div class="post-metadata">

**Author:** ![Peter\_Thornton](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_thornton/32/5109_2.png) [@Peter\_Thornton](https://community.homey.app/u/Peter_Thornton)\
**Post date:** [February 7, 2019, 4:18pm UTC](https://community.homey.app/t/how-to-view-your-homey-v2-flows-in-a-browser/7427/31 "2019-02-07T16:18:54Z")

</div>

This has got to be the single most important “App” right now.  
Thank you @Erik for the code and @DaneedeKruyff for the guide.  
Make creating/editing flows possible (i know its no that easy) and you can have my firstborn… or a large beer if you prefer that 🙂

---

<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:** [February 7, 2019, 4:18pm UTC](https://community.homey.app/t/how-to-view-your-homey-v2-flows-in-a-browser/7427/32 "2019-02-07T16:18:55Z")

</div>

Don’t thank me, I just wrote the How To. Thank @Erik, he did the real work!

---

<div class="post-metadata">

**Author:** ![lauer](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/lauer/32/9692_2.png) [@lauer](https://community.homey.app/u/lauer)\
**Post date:** [February 7, 2019, 4:38pm UTC](https://community.homey.app/t/how-to-view-your-homey-v2-flows-in-a-browser/7427/33 "2019-02-07T16:38:18Z")

</div>

> [@DaneedeKruyff](#):
>
> That will not do, the fact that the IP is not shown is because he is not connecting from the same network as his Homey is in, so it’s highly likely there is no possibility to connect to the local IP address.

I never get the local ip, even if I am on same network. I can only see it from the API playground (or just on my router)

---

<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:** [February 7, 2019, 4:54pm UTC](https://community.homey.app/t/how-to-view-your-homey-v2-flows-in-a-browser/7427/34 "2019-02-07T16:54:23Z")

</div>

Ok, so in your case retrieving the IP address wouldn’t even enable you to connect **Homey 2 flow viewer** to your Homey.

I suggest reporting this to Athom [here](https://support.athom.com/hc/en/requests/new) because that’s not intended behaviour. In your situation you wouldn’t be able to connect to your Homey when the Cloud services can’t be reached, not something you want.

See this [topic](https://community.homey.app/t/is-there-still-no-local-access-v2/8778)

---

<div class="post-metadata">

**Author:** ![Erik](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/erik/32/9865_2.png) [@Erik](https://community.homey.app/u/Erik)\
**Post date:** [February 7, 2019, 5:20pm UTC](https://community.homey.app/t/how-to-view-your-homey-v2-flows-in-a-browser/7427/36 "2019-02-07T17:20:45Z")

</div>

I’ve wrote an editor for private use in the past, need to do some basic work on the code first and look into editing after that.

---

<div class="post-metadata">

**Author:** ![KonradWalsh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/konradwalsh/32/147_2.png) [@KonradWalsh](https://community.homey.app/u/KonradWalsh)\
**Post date:** [February 8, 2019, 8:36am UTC](https://community.homey.app/t/how-to-view-your-homey-v2-flows-in-a-browser/7427/37 "2019-02-08T08:36:33Z")

</div>

I think we would all appreciate if you could release it…

Consider putting it on GITHUB with a disclaimer showing its unfinished after you strip out any personally identifiable…

I get the sense that many on here would jump to assist getting it release or merged in this viewer

---

<div class="post-metadata">

**Author:** ![Vondel64](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/vondel64/32/63505_2.png) [@Vondel64](https://community.homey.app/u/Vondel64)\
**Post date:** [February 8, 2019, 11:00am UTC](https://community.homey.app/t/how-to-view-your-homey-v2-flows-in-a-browser/7427/38 "2019-02-08T11:00:53Z")

</div>

My error:

Uncaught TypeError: Cannot read property ‘order’ of undefined  
at folderOrder (flowview.html:563)  
at flows.forEach.flow (flowview.html:583)  
at Array.forEach ()  
at showFlows (flowview.html:581)  
at loadTokens (flowview.html:631)  
at Object.success (flowview.html:558)  
at i (jquery-2.2.3.min.js:2)  
at Object.fireWith [as resolveWith] (jquery-2.2.3.min.js:2)  
at z (jquery-2.2.3.min.js:4)  
at XMLHttpRequest. (jquery-2.2.3.min.js:4)

---

<div class="post-metadata">

**Author:** ![Skorpion](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/skorpion/32/275_2.png) [@Skorpion](https://community.homey.app/u/Skorpion)\
**Post date:** [February 8, 2019, 12:33pm UTC](https://community.homey.app/t/how-to-view-your-homey-v2-flows-in-a-browser/7427/39 "2019-02-08T12:33:33Z")

</div>

Just a note, I was searching for a 144 character bearer code. My bearer token is actually 114 characters long.

---

<div class="post-metadata">

**Author:** ![Gerard](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gerard/32/8846_2.png) [@Gerard](https://community.homey.app/u/Gerard)\
**Post date:** [February 8, 2019, 4:31pm UTC](https://community.homey.app/t/how-to-view-your-homey-v2-flows-in-a-browser/7427/40 "2019-02-08T16:31:15Z")

</div>

Thanks for the write up! A nice tool. I am using the external https atom method and that works like a charm. A bit rough around the edges but a very nice addition to my tool set. Most of all I liked the possibility to, although a bit crude, print my flows. If three people stepped out of the office and went into a field and going all apesh\*t and stamping on my homey, at least I have some sort of a paper trail documenting the active flows configured at the moment. A backup, for piece of mind, by lack of a backup tool.

---

<div class="post-metadata">

**Author:** ![maja2020](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/maja2020/32/3549_2.png) [@maja2020](https://community.homey.app/u/maja2020)\
**Post date:** [February 8, 2019, 9:01pm UTC](https://community.homey.app/t/how-to-view-your-homey-v2-flows-in-a-browser/7427/41 "2019-02-08T21:01:32Z")

</div>

> [@DaneedeKruyff](#):
>
> Copy the text after **Bearer** to your text editor, make sure you copy the whole string, it’s 144 characters long!

Works great. Thx @DaneedeKruyff and @Erik  
My bearer token is only 114 characters long.  
May be confusing.

---

<div class="post-metadata">

**Author:** ![molensky](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/molensky/32/13037_2.png) [@molensky](https://community.homey.app/u/molensky)\
**Post date:** [February 9, 2019, 2:04pm UTC](https://community.homey.app/t/how-to-view-your-homey-v2-flows-in-a-browser/7427/42 "2019-02-09T14:04:58Z")

</div>

I downloaded the latest version last night and I was missing some flows I did see in the version I downloaded at/around 21-1.

In the dev-console I had two errors:

- no app found for card actions _homey:device:4b15be7f-36c3-4882-b931-7e6fbfd9eae5_
- Uncaught TypeError: Cannot read property ‘filter’ of undefined

I updated line 436 in flowview.html with the one below to solve the ‘filter undefined’ issue.  
`if (localTriggerCard && localTriggerCard.tokens && localTriggerCard.tokens.filter) token = localTriggerCard.tokens.filter(x => x.id === token.title)[0] || token`

It solved my display issue and now shows all flows, but gave a bunch more errors:

- no app found for card actions _homey:device:4b15be7f-36c3-4882-b931-7e6fbfd9eae5_ @`flowview.html:380`
- no app found for card actions _homey:device:4b15be7f-36c3-4882-b931-7e6fbfd9eae5_ @`flowview.html:380`
- no app found for card actions _homey:device:4b15be7f-36c3-4882-b931-7e6fbfd9eae5_ @`flowview.html:380`
- no definitions found for card _trigger homey:manager:mobile_ @`flowview.html:375`
- no app found for card actions _homey:device:9f2bdd4e-77bb-43df-8096-ec3e4882e22f_ @`flowview.html:380`
- Not initialized, can not call method : remove @`flowview.html:11`

How can I find which devices and flows these are? Are these the broken flows?  
I used the API playground but I can’t find these devices when searching `Homey.devices.getDevices();` (which is probably the whole issue 😉 )

---

<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:** [February 9, 2019, 2:11pm UTC](https://community.homey.app/t/how-to-view-your-homey-v2-flows-in-a-browser/7427/43 "2019-02-09T14:11:50Z")

</div>

> [@Skorpion](#):
>
> Just a note, I was searching for a 144 character bearer code. My bearer token is actually 114 characters long.

> [@maja2020](#):
>
> Works great. Thx @DaneedeKruyff and @Erik  
> My bearer token is only 114 characters long.  
> May be confusing.

I must say, I took the 144 from the text in the config.js untill now never counted the actual number but I guess you are right. I’ll edit the opening post.

Thanks!

---

<div class="post-metadata">

**Author:** ![Canedje](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/canedje/32/8324_2.png) [@Canedje](https://community.homey.app/u/Canedje)\
**Post date:** [February 9, 2019, 3:47pm UTC](https://community.homey.app/t/how-to-view-your-homey-v2-flows-in-a-browser/7427/44 "2019-02-09T15:47:10Z")

</div>

If it is possible to make this viewer an editor a lot of people missing the webbrowser should be Very happy again 🕶😀

[Previous page](https://community.homey.app/t/how-to-view-your-homey-v2-flows-in-a-browser/7427.md?page=1)

[Next page](https://community.homey.app/t/how-to-view-your-homey-v2-flows-in-a-browser/7427.md?page=3)
