{"repo":"kpetremann/mqtt-exporter","free":true,"listed":false,"github":"https://github.com/kpetremann/mqtt-exporter","clone":"git clone https://github.com/kpetremann/mqtt-exporter.git","description":"Simple generic MQTT Prometheus exporter for IoT working out of the box","language":"Python","stars":165,"topics":["mqtt","prometheus-exporter","prometheus","zigbee2mqtt","zwavejs2mqtt","esphome","hubitat"],"license":"MIT","category":"analytics","readme_excerpt":"MQTT-exporter Description Simple and generic Prometheus exporter for MQTT. Tested with Mosquitto MQTT and Xiaomi sensors. It exposes metrics from MQTT message out of the box. You just need to specify the target if not on localhost. [!IMPORTANT] By default, it will expose up to 2000 metrics from MQTT. It can be configured via MAX METRICS setting. MQTT-exporter expects a topic and a flat JSON payload, the value must be numeric values. It also provides message counters for each MQTT topic: Tested devices Note: This exporter aims to be as generic as possible. If the sensor you use is using the following format, it will work: Also, the Shelly format is supported: The exporter is tested with: Aqara/Xiaomi sensors (WSDCGQ11LM and VOCKQJK11LM) SONOFF sensors (SNZB-02) Shelly sensors (H&T wifi) Shelly power sensors (3EM - only with KEEP FULL TOPIC enabled) It is also being used by users on: https://github.com/jomjol/AI-on-the-edge-device https://github.com/kbialek/deye-inverter-mqtt Metrics conversion example will be converted as: Zigbee2MQTT device availability support Important notice: legacy availability payload is not supported and must be disabled - this legacy feature was removed in zigbee2mqtt v2. See advanced.legacy availability payload if you're on an older version of zigbee2mqtt. When exposing device availability, Zigbee2MQTT add /availability suffix in the topic. So we end up with inconsistent metrics: To avoid having different topics for the same device, the exporter has a","default_branch":null,"files":null,"tree":[],"storefront":"/r/kpetremann","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kpetremann/mqtt-exporter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}