Skip to content

desolatorxxl/shelly-plug-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shelly plug s MQTT exporter

Usage

Start mosquitto MQTT broker:

podman run -it -p 1883:1883 -p 9001:9001 -v $PWD/mosquitto.conf:/mosquitto/config/mosquitto.conf eclipse-mosquitto

Run the exporter:

podman build -t shell-plug-exporter .
podman run -e MQTT_HOST=192.167.178.123 -p 9874:9874 shelly-plug-exporter

Configure prometheus:

scrape_configs:
- job_name: shelly
  static_configs:
  - targets: ['192.168.178.123:9874']

Watch mqtt:

mosquitto_sub -v -t 'shellies/+/#'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published