# \[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:** 1

<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:** [January 19, 2019, 12:07pm UTC](https://community.homey.app/t/app-prometheus-io-exporter/7375/1 "2019-01-19T12:07:51Z")

</div>

Current version is 0.1.4, which is not compatible with Homey 2.0.  
The 0.2 version is on its way to the beta channel.

Some good info can still be found in the [old forum](https://forum.athom.com/discussion/4630/app-prometheus-io-export#latest).

---

<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:** [January 19, 2019, 7:12pm UTC](https://community.homey.app/t/app-prometheus-io-exporter/7375/2 "2019-01-19T19:12:32Z")

</div>

Nice thnx!

---

<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:** [January 19, 2019, 10:00pm UTC](https://community.homey.app/t/app-prometheus-io-exporter/7375/3 "2019-01-19T22:00:29Z")

</div>

I can’t w8 🙂

---

<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:** [January 21, 2019, 5:56pm UTC](https://community.homey.app/t/app-prometheus-io-exporter/7375/4 "2019-01-21T17:56:48Z")

</div>

The update is now published to the beta channel.

---

<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:** [January 21, 2019, 6:56pm UTC](https://community.homey.app/t/app-prometheus-io-exporter/7375/5 "2019-01-21T18:56:37Z")

</div>

I Will gonna try it by Appstore. What did I doe wrong?

Its installed!

@Kyrcio I’ve got the message. Connection refused…

# Deze site is niet bereikbaar

**10.10.11.14** heeft de verbinding geweigerd.

- Zoek op Google naar [9414 metrics](https://www.google.com/search?q=9414%20metrics)

ERR\_CONNECTION\_REFUSED

---

<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:** [January 21, 2019, 8:01pm UTC](https://community.homey.app/t/app-prometheus-io-exporter/7375/6 "2019-01-21T20:01:29Z")

</div>

@Sjalabert Try sending a diagnostics report, maybe that contains something (go to the app page in the mobile app and click the little gears icon)

---

<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:** [January 21, 2019, 8:26pm UTC](https://community.homey.app/t/app-prometheus-io-exporter/7375/7 "2019-01-21T20:26:45Z")

</div>

c2cd461b-39e5-4e50-9d64-9081414d6588

Thanks!

---

<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:** [January 21, 2019, 8:44pm UTC](https://community.homey.app/t/app-prometheus-io-exporter/7375/8 "2019-01-21T20:44:37Z")

</div>

Thanks, got it. Needed another null-check it seems. At least one of your devices has missing data that I can’t use, I changed so that I ignore these devices instead of failing. PM me your email and I can add you to the alpha testers (that applies to anyone interested of course). Otherwise just pull the master branch from github.

---

<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:** [January 21, 2019, 8:46pm UTC](https://community.homey.app/t/app-prometheus-io-exporter/7375/9 "2019-01-21T20:46:32Z")

</div>

這對我來說是中國人。 但非常感謝您的支持。 / that’s chinese for me. But thanks a lot for your support. 😂😂

---

<div class="post-metadata">

**Author:** ![hwin](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hwin/32/7817_2.png) [@hwin](https://community.homey.app/u/hwin)\
**Post date:** [January 23, 2019, 8:31am UTC](https://community.homey.app/t/app-prometheus-io-exporter/7375/10 "2019-01-23T08:31:37Z")

</div>

Since homey 2.0 the app (v0.2.1) seems to keep stopping. It shows a “paused sign” next to the app name in the Homey overview page. After restarting the app it works again for several hours but next day it has stopped again.

I have clicked the ‘maak diagnostisch rapport’ button, so hopefully you have received something there.

Any idea what I can do to fix this?

Edit: I see that the Prometheus exporter has almost exactly run for 12 hours and then stopped again. Seems like this happened almost on purpose?

---

<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:** [January 23, 2019, 9:35pm UTC](https://community.homey.app/t/app-prometheus-io-exporter/7375/11 "2019-01-23T21:35:10Z")

</div>

Could you please send a diagnostic report again when this happens and paste the report id? I couldn’t find your report unfortunately.

---

<div class="post-metadata">

**Author:** ![hwin](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hwin/32/7817_2.png) [@hwin](https://community.homey.app/u/hwin)\
**Post date:** [January 28, 2019, 3:49pm UTC](https://community.homey.app/t/app-prometheus-io-exporter/7375/12 "2019-01-28T15:49:04Z")

</div>

Homey zelf opnieuw opgestart en sindsdien draait de Prometheus exporter non-stop 🙂  
Geen problemen meer dus!

Kan nog wel wat hulp gebruiken bij Grafana. Ik wil graag een tabel maken met een overzicht van welke lampen op dit moment aan staan (homey\_device\_onoff), het lastige is alleen dat prometheus geen waardes teruggeeft als een lamp niet aan staat, maar alleen een ‘1’ als een lamp aan is. Enig idee hoe dit te doen?

---

<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:** [January 28, 2019, 4:01pm UTC](https://community.homey.app/t/app-prometheus-io-exporter/7375/13 "2019-01-28T16:01:23Z")

</div>

Plz keep the conversation in English!

---

<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:** [January 28, 2019, 6:51pm UTC](https://community.homey.app/t/app-prometheus-io-exporter/7375/14 "2019-01-28T18:51:28Z")

</div>

Hi hwin,

This is quite easy with value mappings

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

The picture is showing my door, but (like your lights) it only communicates 1 and 0. The vaule mapping allows to make it say open or closed

---

<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:** [May 17, 2019, 8:58am UTC](https://community.homey.app/t/app-prometheus-io-exporter/7375/15 "2019-05-17T08:58:40Z")

</div>

Hi guys, just curious, how much ram is your prometheus app using? this is mine:

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

whit an daily reboot of homey.

---

<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:** [May 17, 2019, 10:01am UTC](https://community.homey.app/t/app-prometheus-io-exporter/7375/16 "2019-05-17T10:01:28Z")

</div>

For me it varies between 40-60 megs.

Off-topic: why do you reboot your Homey every day?

---

<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:** [May 17, 2019, 11:15am UTC](https://community.homey.app/t/app-prometheus-io-exporter/7375/17 "2019-05-17T11:15:14Z")

</div>

To keep things running smoothly. Mainly for mem leaking apps

---

<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:** [June 21, 2019, 10:18pm UTC](https://community.homey.app/t/app-prometheus-io-exporter/7375/18 "2019-06-21T22:18:14Z")

</div>

Hi

Could it be possible to make som settings for the app, where you name the homey to something different than just “homey”

If you got more than one Homey it is a bit hassle to differenciate them …

Jan E.

---

<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:** [June 21, 2019, 10:47pm UTC](https://community.homey.app/t/app-prometheus-io-exporter/7375/19 "2019-06-21T22:47:29Z")

</div>

> [@Jan.Erling.Sagen](#):
>
> Could it be possible to make som settings for the app, where you name the homey to something different than just “homey”

Renaming metrics goes a bit against the design of Prometheus (metric names should be well known and hard coded). You should be able to use the “instance” label to distinguish between Homeys. Does this work in your scenario?

---

<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:** [June 21, 2019, 10:57pm UTC](https://community.homey.app/t/app-prometheus-io-exporter/7375/20 "2019-06-21T22:57:37Z")

</div>

Yeah … I am using different job names. But when searching for queries it would be a lot easier if I could search like “homey\_pro” vs “homey”.

I am thinking of a one time setting. Like first setup of the app.

I understand that renaming metrics after the first setup time would make an mess. But if the app do no start until you name the homey … or something like that.

Jan E.

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