# \[APP\] Prometheus.io exporter

**URL:** <https://community.homey.app/t/app-prometheus-io-exporter/7375>\
**Category:** Apps\
**Tags:** app, homey-pro\
**Created:** [January 19, 2019, 12:07pm UTC](https://community.homey.app/t/app-prometheus-io-exporter/7375 "2019-01-19T12:07:51Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![matrover](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/matrover/32/12112_2.png) [@matrover](https://community.homey.app/u/matrover)\
**Post date:** [July 17, 2019, 10:35am UTC](https://community.homey.app/t/app-prometheus-io-exporter/7375/41 "2019-07-17T10:35:56Z")

</div>

sended an PM, Thanks!

---

<div class="post-metadata">

**Author:** ![JeroenLooye](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jeroenlooye/32/8250_2.png) [@JeroenLooye](https://community.homey.app/u/JeroenLooye)\
**Post date:** [July 18, 2019, 1:12pm UTC](https://community.homey.app/t/app-prometheus-io-exporter/7375/42 "2019-07-18T13:12:14Z")

</div>

Hi  
anyone has an idea how I can get variable in to prometheus. I enter a variable and if a certain action happens it heightens the valer and I want to see this.

---

<div class="post-metadata">

**Author:** ![Kyrcio](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kyrcio/32/10170_2.png) [@Kyrcio](https://community.homey.app/u/Kyrcio)\
**Post date:** [July 18, 2019, 3:28pm UTC](https://community.homey.app/t/app-prometheus-io-exporter/7375/43 "2019-07-18T15:28:43Z")

</div>

> [@JeroenLooye](#):
>
> anyone has an idea how I can get variable in to prometheus

Variables are introduced in 0.2.6 currently in alpha.

---

<div class="post-metadata">

**Author:** ![matrover](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/matrover/32/12112_2.png) [@matrover](https://community.homey.app/u/matrover)\
**Post date:** [July 22, 2019, 1:22pm UTC](https://community.homey.app/t/app-prometheus-io-exporter/7375/44 "2019-07-22T13:22:51Z")

</div>

@Kyrcio did you send an invite? i didnt get anything

---

<div class="post-metadata">

**Author:** ![Kyrcio](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kyrcio/32/10170_2.png) [@Kyrcio](https://community.homey.app/u/Kyrcio)\
**Post date:** [July 22, 2019, 3:26pm UTC](https://community.homey.app/t/app-prometheus-io-exporter/7375/45 "2019-07-22T15:26:51Z")

</div>

I think I did, but I just sent another one just in case 🙂

---

<div class="post-metadata">

**Author:** ![matrover](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/matrover/32/12112_2.png) [@matrover](https://community.homey.app/u/matrover)\
**Post date:** [July 22, 2019, 7:30pm UTC](https://community.homey.app/t/app-prometheus-io-exporter/7375/46 "2019-07-22T19:30:29Z")

</div>

Hmmm, i checked the email adress that i send you, thats correct. There’s nothing in my spam folder. What could it be…?

---

<div class="post-metadata">

**Author:** ![Kyrcio](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kyrcio/32/10170_2.png) [@Kyrcio](https://community.homey.app/u/Kyrcio)\
**Post date:** [July 22, 2019, 7:42pm UTC](https://community.homey.app/t/app-prometheus-io-exporter/7375/47 "2019-07-22T19:42:24Z")

</div>

I am actually not sure an email is sent at all. Assuming that email is the one you use for your Athom account, maybe you already have access?

---

<div class="post-metadata">

**Author:** ![matrover](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/matrover/32/12112_2.png) [@matrover](https://community.homey.app/u/matrover)\
**Post date:** [July 22, 2019, 7:45pm UTC](https://community.homey.app/t/app-prometheus-io-exporter/7375/48 "2019-07-22T19:45:30Z")

</div>

Jep i can switch now to the alpha without any notification indeed. Installing now

---

<div class="post-metadata">

**Author:** ![matrover](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/matrover/32/12112_2.png) [@matrover](https://community.homey.app/u/matrover)\
**Post date:** [July 22, 2019, 7:53pm UTC](https://community.homey.app/t/app-prometheus-io-exporter/7375/49 "2019-07-22T19:53:05Z")

</div>

Ok i’ve got the extra cpu stats. What should i be looking for?

# HELP homey\_cpu CPU time per mode

# TYPE homey\_cpu gauge

homey\_cpu{mode=“user”} 18000000  
homey\_cpu{mode=“nice”} 3144000  
homey\_cpu{mode=“sys”} 15116900  
homey\_cpu{mode=“idle”} 51280300  
homey\_cpu{mode=“irq”} 0

---

<div class="post-metadata">

**Author:** ![Kyrcio](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kyrcio/32/10170_2.png) [@Kyrcio](https://community.homey.app/u/Kyrcio)\
**Post date:** [July 22, 2019, 8:58pm UTC](https://community.homey.app/t/app-prometheus-io-exporter/7375/50 "2019-07-22T20:58:43Z")

</div>

Try this one to get started

> **[Homey exporter dashboardData for Grafana](https://grafana.com/grafana/dashboards/10586)**
>
> Meta-dashboard for the Homey prometheus exporter

---

<div class="post-metadata">

**Author:** ![matrover](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/matrover/32/12112_2.png) [@matrover](https://community.homey.app/u/matrover)\
**Post date:** [July 23, 2019, 6:47am UTC](https://community.homey.app/t/app-prometheus-io-exporter/7375/51 "2019-07-23T06:47:31Z")

</div>

Nice DB!

This is the last 6 hours (04:00 is a scheduled restart)

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

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

---

<div class="post-metadata">

**Author:** ![matrover](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/matrover/32/12112_2.png) [@matrover](https://community.homey.app/u/matrover)\
**Post date:** [July 23, 2019, 8:30am UTC](https://community.homey.app/t/app-prometheus-io-exporter/7375/53 "2019-07-23T08:30:12Z")

</div>

We have made some progress that i wanted to report back.

i’ve installed the app directly from github (CLI method) and before installing edited this line (in the app.js file) :

```auto
setTimeout(this.updateSystemInfo.bind(this), 30000);

```

To this:

```auto
setTimeout(this.updateSystemInfo.bind(this), 300000);

```

This really impacted the load on my homey, it went to 0.3 on average!

Thanks again @Kyrcio

---

<div class="post-metadata">

**Author:** ![DomLAJO](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/domlajo/32/12535_2.png) [@DomLAJO](https://community.homey.app/u/DomLAJO)\
**Post date:** [August 15, 2019, 5:31pm UTC](https://community.homey.app/t/app-prometheus-io-exporter/7375/54 "2019-08-15T17:31:13Z")

</div>

Hi  
Very good job

I have a Raspberry Pi with Prometheus + Grafana and all works fine

Just a question, is it possible to have the weather data ?  
I can’t find it in /metrics …

Best regards

---

<div class="post-metadata">

**Author:** ![matrover](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/matrover/32/12112_2.png) [@matrover](https://community.homey.app/u/matrover)\
**Post date:** [August 16, 2019, 8:41am UTC](https://community.homey.app/t/app-prometheus-io-exporter/7375/55 "2019-08-16T08:41:33Z")

</div>

Hi @DomLAJO

Im using the darksky wheater app for this, then the metrics show up.

---

<div class="post-metadata">

**Author:** ![Kyrcio](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kyrcio/32/10170_2.png) [@Kyrcio](https://community.homey.app/u/Kyrcio)\
**Post date:** [August 16, 2019, 8:05pm UTC](https://community.homey.app/t/app-prometheus-io-exporter/7375/56 "2019-08-16T20:05:02Z")

</div>

@DomLAJO Homey weather info is in 0.2.6, now in alpha.

---

<div class="post-metadata">

**Author:** ![Kay-Arne](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kay-arne/32/10059_2.png) [@Kay-Arne](https://community.homey.app/u/Kay-Arne)\
**Post date:** [September 15, 2019, 12:00pm UTC](https://community.homey.app/t/app-prometheus-io-exporter/7375/57 "2019-09-15T12:00:38Z")

</div>

Hi @matrover/ @Kyrcio , I imported theDashboard but I don’t seem to have the homey\_exporter\_XXX metrics available. I don’t see them when I get the /metrics results from Homey, and they are also not available within Grafana.

So the dashboard now looks like this:

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

Any ideas?

---

<div class="post-metadata">

**Author:** ![matrover](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/matrover/32/12112_2.png) [@matrover](https://community.homey.app/u/matrover)\
**Post date:** [September 15, 2019, 12:32pm UTC](https://community.homey.app/t/app-prometheus-io-exporter/7375/58 "2019-09-15T12:32:11Z")

</div>

Hi Kay-Arne,

Jep, you’ll need the github version of the app: [https://github.com/rickardp/homey-prometheus-exporter/tree/48285237bd4e10c00f397675733c0f2255b5e742](https://github.com/rickardp/homey-prometheus-exporter/tree/48285237bd4e10c00f397675733c0f2255b5e742)

Install via cli: [[HOW TO] CLI install method](https://community.homey.app/t/how-to-cli-install-method/198)

---

<div class="post-metadata">

**Author:** ![Kay-Arne](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kay-arne/32/10059_2.png) [@Kay-Arne](https://community.homey.app/u/Kay-Arne)\
**Post date:** [September 15, 2019, 2:45pm UTC](https://community.homey.app/t/app-prometheus-io-exporter/7375/59 "2019-09-15T14:45:27Z")

</div>

Hey @matrover, that did the trick! Thanks! Now let’s start scrutinising 😉

---

<div class="post-metadata">

**Author:** ![Ronnie\_Roosendaal](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnie_roosendaal/32/2690_2.png) [@Ronnie\_Roosendaal](https://community.homey.app/u/Ronnie_Roosendaal)\
**Post date:** [September 16, 2019, 5:47pm UTC](https://community.homey.app/t/app-prometheus-io-exporter/7375/60 "2019-09-16T17:47:55Z")

</div>

Correct me If i am wrong i have hassio working with grafana and prometheus,that works fine,the dashboard homey expander works but is that the only dashboard I can use with homey

---

<div class="post-metadata">

**Author:** ![Jan.Erling.Sagen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jan.erling.sagen/32/9257_2.png) [@Jan.Erling.Sagen](https://community.homey.app/u/Jan.Erling.Sagen)\
**Post date:** [November 3, 2019, 7:50pm UTC](https://community.homey.app/t/app-prometheus-io-exporter/7375/61 "2019-11-03T19:50:19Z")

</div>

Hi

In homey 3.0 there is now new devices with energy “measures”, but I can not find these in the prometheus exporter.

Is this something to be fixed in prometheus? Or …

[Previous page](https://community.homey.app/t/app-prometheus-io-exporter/7375.md?page=2)

[Next page](https://community.homey.app/t/app-prometheus-io-exporter/7375.md?page=4)
