{"repo":"LeSuisse/shelly-ht-action-prometheus","free":true,"listed":false,"github":"https://github.com/LeSuisse/shelly-ht-action-prometheus","clone":"git clone https://github.com/LeSuisse/shelly-ht-action-prometheus.git","description":"Expose Shelly H&T action calls to Prometheus","language":"Go","stars":16,"topics":["shelly","sensor","prometheus-exporter"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"shelly-ht-action-prometheus shelly-ht-action-prometheus is a tool to expose action calls from a Shelly H&T to Prometheus. Why? Shelly H&T sensor supports MQTT but that requires you to run a MQTT broker on your network. Using a remote broker is not possible because the sensor cannot communicate with the MQTT broken over TLS. Collecting the sensor data via an authenticated action call over HTTPS seemed the easiest, and most secure way. Run it With the pre-built binaries Pre-built binaries are available in the releases. You can verify the authenticity of the binaries using Cosign. The service can be launched like this: If you want to run it as a SystemD service you can check the content of shelly-ht-action-prometheus.service. With the Docker images A Docker image is available: ghcr.io/lesuisse/shelly-ht-action-prometheus. You can verify the authenticity of the image using Cosign. You need to set the environment variable SENSOR PASSWORD when launching the container, for example with the Docker CLI: Usage It is recommended to not expose directly the service but to put it behind a reverse proxy, so you can communicate with it over HTTPS. On the configuration panel of the Shelly H&T sensor, you need to add a new action call. The action call URL needs to have the following format: is the passphrase you used when your started the service. is the name used to label the sensor in Prometheus. The service exposes 3 metrics which are all labelled with a name : shellyht temperature celsius ","default_branch":null,"files":null,"tree":[],"storefront":"/r/LeSuisse","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/LeSuisse/shelly-ht-action-prometheus/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."}