This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
Comments
I am sorry if this causes problems for those of you who already installed the app, but I really believe it’s a change for the better, and it was really how Prometheus intended for it to be (it will be apparent once you start creating more advanced dashboards...). Hopefully from this on, metrics will only be added, not renamed/regrouped.
@JBS just edit app.json and change 1.5.6 to 1.5.3.
I am also still on 1.5.3 (stable) - waiting for update 1.5.8 to land on my Homey.
I am very new to Prometheus, maybe the comment in the output is just what it is - comment and not a hint to Prometheus.
Now I can add all sensor of one kind easy in Grafana using for example:
"homey_device_measure_temperature"
But the labels show up like this:
homey_device_measure_temperature{device="76cc5afe-f454-4927-808f-",instance="192.168.6.50:9414",job="Homey",name="SmokeSensor - Kitchen",zone="Kitchen",zones="Home/Ground floor/Kitchen"}
homey_device_measure_temperature{device="7f066f03-e5fa-4f8e-8f24-",instance="192.168.6.50:9414",job="Homey",name="Flood Sensor",zone="Basement",zones="Home/Basement"}
homey_device_measure_temperature{device="b57005b4-286e-421a-a730-",instance="192.168.6.50:9414",job="Homey",name="Motion - Utilityroom",zone="utility Room",zones="Home/Ground floor/utility Room"}
homey_device_measure_temperature{device="c23c5eb0-5319-4dd9-ae43-",instance="192.168.6.50:9414",job="Homey",name="Motion - Toilet",zone="Toilet",zones="Home/Ground floor/Toilet"}
Is there an easy way to use the Zone name as labels when I add my temperature sensors in Grafana this way?
• Z-wave radio stats per device
• Storage per app (thanks Klippo)
\\After restarting the Prometheus app, the devices are available.
Dont know if this is supported but i was googling around for Prometheus, and there seems to be an free hosted version of Grafana with an Prometheus plugin. so i installed the Prometheus.io app on Homey, forwarded the ports 9414 (with or without accesslists) tested the Http://xxxxx.xxxx.net:9414/metrics (worked)
and tried to setup the datasource in Hosted Grafana:
But the error message isnt that clear <span></span>
tried with or without "/metrics"
any idea? or just not supported?
Homey version: 1.5.9
App version: v0.1.3
Greetings,
Marijn
ok, i troubleshooted some more, the grafana suite on a local windows machine doesnt work:
i treid the Prometheus.io app on an local and via internet and the both worked:
anyone got an idea why the Grafana isnt working (online, offline or hosted)?
The most siignificant changes are:
* Adds some new metrics (z-wave radio stats, storage)
* Fixes a crash bug caused by metrics with invalid characters
I have no meters placed yet, so I can't check in http://homeyip:9414/metrics
also shared this dashboard ID: 6311
@Kyrcio
Feature request:
(Smart) presence metrics
Better logic metrics
Thanks!
I'm tying to get some graphics. But get only Request errors. Where did I have to change the device name? Thanks for the response. See my settings below:
(get metrics data:)
Thx for the support!!
Hi your making the same mistake as i did, the Homey Prometheus app cant (directly) be queried by Grafana.
you'll need it like this: Homey Prometheus app > Prometheus instance > (like me, your missing the prometheus instance)
its like this: metrics Source (homey prometheus app > metrics collector (prometheus) > Dashboarding (grafana)
an Prometheus instance is very easy to setup using containers in azure, or for instance Docker on a windows machine. or on any other linux device.
the guys at grafana are looking to setup hosted metrics for small instances (called the starter plan), but it isnt live yet. i suggest (like i did), that you make your own Prometheus instance for now and also apply for the hosted metrics (so maybe Grafana will speed it up) https://grafana.com/cloud/metrics