Skip to content
Christian Köhler edited this page Nov 1, 2021 · 4 revisions

Prometheus scrape config

scrape_configs:
  - job_name: 'espurna'
    metrics_path: '/api/metrics'
    params:
      apikey: ['apikeyapikey']
    static_configs: 
      - targets: ['espurna-blabla.lan:80']

metrics URL

http://espurna-blabla.lan/api/metrics?apikey=xxxxxxxxxx

The result looks like this:

relay0 1
current 0.212
voltage 215
power 21
reactive 39
apparent 45
factor 46
energy_delta 1285
energy 0.886

Home
Change log

Getting started

Supported hardware and options

Configuration

Integrations

Network

Developers

More around ESPurna

Clone this wiki locally