Homey Community Forum

Prometheus.io exporter

sended an PM, Thanks!

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.

Variables are introduced in 0.2.6 currently in alpha.

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

I think I did, but I just sent another one just in case :slight_smile:

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

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?

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

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

Try this one to get started

Nice DB!

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

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) :

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

To this:

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

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

Thanks again @Kyrcio

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


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

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