Skip to content

Provide power consumption metrics (Homematic, Tasmota) in Prometheus format for Grafana

License

Notifications You must be signed in to change notification settings

fceller/home2grafana

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

home2grafana

home2grafana provides power consumption metrics in prometheus format. It reads from various devices, like iobroker power meters, and collects the information on a regular basis. You can then use a Prometheus/Grafana instance to monitor your power consumption.

Device Definition

Devices are described by YAML files inside the setup directory.

Tasmota

---
source:
provider: iobroker
energy_metric: energy_watthour
power_metric: power_watt
interval: 90s
devices:
  - address: 192.168.160.200
    name: Waschtrockner
    room: Bad
  - address: 192.168.160.201
    room: Waschküche

Homematic

Each device definition files for homematic devices need a homematic CCUx running and accessible. The definition can define any number of devices attached to this CCUx. At least a hm_name must be defined. The name and room will be extract from the meta-data stored in CCUx. You can also overwrite this.

Currently, the followin homematic devices are supported

  • HM-CC-RT-DN
  • HM-ES-PMSw1-Pl
  • HM-ES-TX-WM
  • HM-Sec-MDIR-2
  • HM-WDS10-TH-O
  • HM-WDS100-C6-O
  • HM-WDS40-TH-I
  • HMIP-PSM
  • HmIP-SMI
  • HmIP-SMI55
  • HmIP-WTH-2
  • HmIP-eTRV-B

In case you want to add new devices have a look at homematic.go and add the device.

---
source:
provider: homematic
metric: energy_watthour
power_metric: power_watt
interval: 120s
address: 192.168.160.21
devices:
  - hm_name: HmIP-RF.0001DD89971DDD
    name: Server
    room: RZ
  - hm_name: BidCos-RF.LEQ0535163

About

Provide power consumption metrics (Homematic, Tasmota) in Prometheus format for Grafana

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published