Skip to content

Export the status of your Haverland Smartwave heaters to a Prometheus Metrics endpoint

License

Notifications You must be signed in to change notification settings

trastle/haverland-smartwave-prometheus-exporter

Repository files navigation

Haverland Smartwave Prometheus Exporter

Build Status Docker Build

Export the status of your Haverland Smartwave Heaters as Prometheus metrics.

Usage

Usage requirements

  • Docker
  • Docker-Compose (optional)

Running the exporter

  1. Run the exporter...

    with the Docker CLI:

    docker run -p 127.0.0.1:22200:22200 \
       --env HAVERLAND_USERNAME=your_username \
       --env HAVERLAND_PASSWORD=your_password \
       trastle/haverland-smartwave-prometheus-exporter
        
    

    with Compose:

    Add your credentials to docker-compose.yml

    docker-compose up -d
    
  2. Look at your metrics

    curl localhost:22200/metrics
    

Development

Devopment Requirements

  • JDK8
  • Maven 3
  • Docker
  • Docker-Compose

Building and running the application locally

  1. To build the application

    mvn clean package
    
  2. To start application

    java -jar target/HeaterTool-1.0-SNAPSHOT.jar server config.yml
    

Building the Docker Image

  1. Build

    docker-compose build
    

About

Export the status of your Haverland Smartwave heaters to a Prometheus Metrics endpoint

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages