mqtt: server: tcp://mqtt.nbit.ch:1883 user: mqtt password: mqtt7355@ topic_path: shellies/events/rpc device_id_regex: "(.*/)?(?P.*)" qos: 0 cache: timeout: 24h json_parsing: separator: . metrics: # The name of the metric in prometheus - prom_name: aenergy_total # The name of the metric in a MQTT JSON message mqtt_name: params.switch:0.aenergy.total # The prometheus help text for this metric help: total energy # The prometheus type for this metric. Valid values are: "gauge" and "counter" type: gauge # A map of string to string for constant labels. This labels will be attached to every prometheus metric const_labels: sensor_type: shelly - prom_name: apower # The name of the metric in a MQTT JSON message mqtt_name: params.switch:0.apower # The prometheus help text for this metric help: current power # The prometheus type for this metric. Valid values are: "gauge" and "counter" type: gauge # A map of string to string for constant labels. This labels will be attached to every prometheus metric const_labels: sensor_type: shelly