From 3ff741c35ea9b909c65d4ddfba0c5c595c07fedf Mon Sep 17 00:00:00 2001 From: Marcel Schreiner <40523792+marcelschreiner@users.noreply.github.com> Date: Mon, 9 Oct 2023 18:49:13 +0200 Subject: [PATCH] Add sonarcloud integration --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 8f8a93c..436e003 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,14 @@ ![Pylint](https://github.com/marcelschreiner/electricitymaps-to-loxone/actions/workflows/pylint.yml/badge.svg) [![HitCount](https://hits.dwyl.com/marcelschreiner/electricitymaps-to-loxone.svg?style=flat)](http://hits.dwyl.com/marcelschreiner/electricitymaps-to-loxone) +[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=marcelschreiner_electricitymaps-to-loxone&metric=security_rating)](https://sonarcloud.io/summary/new_code?id=marcelschreiner_electricitymaps-to-loxone) +[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=marcelschreiner_electricitymaps-to-loxone&metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=marcelschreiner_electricitymaps-to-loxone) +[![Code Smells](https://sonarcloud.io/api/project_badges/measure?project=marcelschreiner_electricitymaps-to-loxone&metric=code_smells)](https://sonarcloud.io/summary/new_code?id=marcelschreiner_electricitymaps-to-loxone) +[![Technical Debt](https://sonarcloud.io/api/project_badges/measure?project=marcelschreiner_electricitymaps-to-loxone&metric=sqale_index)](https://sonarcloud.io/summary/new_code?id=marcelschreiner_electricitymaps-to-loxone) +[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=marcelschreiner_electricitymaps-to-loxone&metric=reliability_rating)](https://sonarcloud.io/summary/new_code?id=marcelschreiner_electricitymaps-to-loxone) +[![Duplicated Lines (%)](https://sonarcloud.io/api/project_badges/measure?project=marcelschreiner_electricitymaps-to-loxone&metric=duplicated_lines_density)](https://sonarcloud.io/summary/new_code?id=marcelschreiner_electricitymaps-to-loxone) +[![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=marcelschreiner_electricitymaps-to-loxone&metric=vulnerabilities)](https://sonarcloud.io/summary/new_code?id=marcelschreiner_electricitymaps-to-loxone) +[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=marcelschreiner_electricitymaps-to-loxone&metric=bugs)](https://sonarcloud.io/summary/new_code?id=marcelschreiner_electricitymaps-to-loxone) This Python script retrieves real-time carbon intensity data from Electricity Maps and sends it to a Loxone Miniserver using UDP. The script is designed to help you monitor and integrate carbon intensity information into your Loxone home automation system. Below, you'll find instructions on how to set up and use this script. This script is configured to poll Swiss power grid carbon intensity dat. But is can be easely modified to poll data for an other country. @@ -58,3 +66,7 @@ The script does only poll the Electricyty Maps server once and quits again. The ## License This script is provided under the [MIT License](LICENSE.md). Feel free to modify and use it according to your needs. + +
+ +[![SonarCloud](https://sonarcloud.io/images/project_badges/sonarcloud-black.svg)](https://sonarcloud.io/summary/new_code?id=marcelschreiner_electricitymaps-to-loxone)