Skip to content

Commit

Permalink
👌 IMPROVE: removed telemetry
Browse files Browse the repository at this point in the history
  • Loading branch information
unl0ck committed Dec 3, 2024
1 parent 36c7e1f commit 244cdc8
Show file tree
Hide file tree
Showing 22 changed files with 20 additions and 317 deletions.
2 changes: 1 addition & 1 deletion .bumpversion-edge.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool.bumpversion]
current_version = "2.11.16"
current_version = "2.11.17"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
serialize = ["{major}.{minor}.{patch}"]
search = "{current_version}"
Expand Down
3 changes: 2 additions & 1 deletion GridboxConnectorAddon-dev/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
<!-- https://developers.home-assistant.io/docs/add-ons/presentation#keeping-a-changelog -->

## 2.11.16
## 2.11.17

### 🔨 Fixed

- Worked on create new device and fixed hopefully
- Removed Telemetry

## 2.11.11

Expand Down
2 changes: 0 additions & 2 deletions GridboxConnectorAddon-dev/GridboxConnector/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import logging
from importlib.resources import files
from utils import SensitiveDataFilter, get_bool_env
from telemetry import Telemetry
import threading
opens_file_path = '/data/options.json'
#logging.basicConfig(format='%(asctime)s %(filename)s:%(lineno)d %(levelname)s - %(message)s', level=logging.getLevelName(os.getenv('LOG_LEVEL', 'INFO')))
Expand Down Expand Up @@ -141,6 +140,5 @@ def run_addon():
threading.Thread(target=start_historical_thread, args=(gridboxConnector, viessmann_gridbox_historical_device, WAIT)).start()

if __name__ == '__main__':
#telemetry = run_telemetry()
run_addon()
#run_test_log()
9 changes: 2 additions & 7 deletions GridboxConnectorAddon-dev/GridboxConnector/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
ha-mqtt-discoverable==0.13.1
ha-mqtt-discoverable==0.16.0
requests==2.32.2
viessmann-gridbox-connector==1.5.1
opentelemetry-api
opentelemetry-sdk
opentelemetry-exporter-otlp-proto-grpc
opentelemetry-instrumentation-requests
opentelemetry-instrumentation-logging
viessmann-gridbox-connector==1.6.0
92 changes: 0 additions & 92 deletions GridboxConnectorAddon-dev/GridboxConnector/telemetry.py

This file was deleted.

2 changes: 1 addition & 1 deletion GridboxConnectorAddon-dev/cloudSettings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.11.16",
"version": "2.11.17",
"urls": {
"login": "https://gridx.eu.auth0.com/oauth/token",
"gateways": "https://api.gridx.de/gateways",
Expand Down
2 changes: 1 addition & 1 deletion GridboxConnectorAddon-dev/config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# https://developers.home-assistant.io/docs/add-ons/configuration#add-on-config
name: Viessmann Gridbox Connector (dev)
version: "2.11.16"
version: "2.11.17"
slug: "gridbox_connector_dev"
description: Development version of Viessmann Gridbox Connector
url: "https://github.com/unl0ck/homeassistant-addon-viessmann-gridbox/tree/main/GridboxConnectorAddon-dev"
Expand Down
2 changes: 1 addition & 1 deletion GridboxConnectorAddon-dev/rootfs/share/cloudSettings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.11.16",
"version": "2.11.17",
"urls": {
"login": "https://gridx.eu.auth0.com/oauth/token",
"gateways": "https://api.gridx.de/gateways",
Expand Down
3 changes: 2 additions & 1 deletion GridboxConnectorAddon-edge/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
<!-- https://developers.home-assistant.io/docs/add-ons/presentation#keeping-a-changelog -->

## 2.11.16
## 2.11.17

### 🔨 Fixed

- Worked on create new device and fixed hopefully
- Removed Telemetry

## 2.11.11

Expand Down
2 changes: 0 additions & 2 deletions GridboxConnectorAddon-edge/GridboxConnector/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import logging
from importlib.resources import files
from utils import SensitiveDataFilter, get_bool_env
from telemetry import Telemetry
import threading
opens_file_path = '/data/options.json'
#logging.basicConfig(format='%(asctime)s %(filename)s:%(lineno)d %(levelname)s - %(message)s', level=logging.getLevelName(os.getenv('LOG_LEVEL', 'INFO')))
Expand Down Expand Up @@ -141,6 +140,5 @@ def run_addon():
threading.Thread(target=start_historical_thread, args=(gridboxConnector, viessmann_gridbox_historical_device, WAIT)).start()

if __name__ == '__main__':
#telemetry = run_telemetry()
run_addon()
#run_test_log()
5 changes: 0 additions & 5 deletions GridboxConnectorAddon-edge/GridboxConnector/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
ha-mqtt-discoverable==0.16.0
requests==2.32.2
viessmann-gridbox-connector==1.6.0
opentelemetry-api
opentelemetry-sdk
opentelemetry-exporter-otlp-proto-grpc
opentelemetry-instrumentation-requests
opentelemetry-instrumentation-logging
92 changes: 0 additions & 92 deletions GridboxConnectorAddon-edge/GridboxConnector/telemetry.py

This file was deleted.

2 changes: 1 addition & 1 deletion GridboxConnectorAddon-edge/cloudSettings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.11.16",
"version": "2.11.17",
"urls": {
"login": "https://gridx.eu.auth0.com/oauth/token",
"gateways": "https://api.gridx.de/gateways",
Expand Down
5 changes: 1 addition & 4 deletions GridboxConnectorAddon-edge/config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# https://developers.home-assistant.io/docs/add-ons/configuration#add-on-config
---
name: Viessmann Gridbox Connector (edge)
version: "2.11.16"
version: "2.11.17"
slug: "gridbox_connector_edge"
description: "Viessmann Gridbox Connector (edge)"
url: "https://github.com/unl0ck/homeassistant-addon-viessmann-gridbox/tree/main/GridboxConnectorAddon-edge"
Expand All @@ -23,7 +23,6 @@ options:
password: "password"
wait_time: 60
log_level: INFO
enable_telemetry: false

schema:
username: str
Expand All @@ -34,7 +33,5 @@ schema:
OverrideMqttServer: str?
OverrideMqttPort: int?
log_level: list(TRACE|DEBUG|INFO|WARN|ERROR)
enable_telemetry: bool
OverrideTelemetryUrl: url?
image: ghcr.io/unl0ck/homeassistant-addon-viessmann-gridbox-edge-{arch}
stage: experimental
2 changes: 1 addition & 1 deletion GridboxConnectorAddon-edge/rootfs/share/cloudSettings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.11.16",
"version": "2.11.17",
"urls": {
"login": "https://gridx.eu.auth0.com/oauth/token",
"gateways": "https://api.gridx.de/gateways",
Expand Down
3 changes: 2 additions & 1 deletion GridboxConnectorAddon/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
<!-- https://developers.home-assistant.io/docs/add-ons/presentation#keeping-a-changelog -->

## 2.11.16
## 2.11.17

### 🔨 Fixed

- Worked on create new device and fixed hopefully
- Removed Telemetry

## 2.11.11

Expand Down
2 changes: 0 additions & 2 deletions GridboxConnectorAddon/GridboxConnector/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import logging
from importlib.resources import files
from utils import SensitiveDataFilter, get_bool_env
from telemetry import Telemetry
import threading
opens_file_path = '/data/options.json'
#logging.basicConfig(format='%(asctime)s %(filename)s:%(lineno)d %(levelname)s - %(message)s', level=logging.getLevelName(os.getenv('LOG_LEVEL', 'INFO')))
Expand Down Expand Up @@ -141,6 +140,5 @@ def run_addon():
threading.Thread(target=start_historical_thread, args=(gridboxConnector, viessmann_gridbox_historical_device, WAIT)).start()

if __name__ == '__main__':
#telemetry = run_telemetry()
run_addon()
#run_test_log()
9 changes: 2 additions & 7 deletions GridboxConnectorAddon/GridboxConnector/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
ha-mqtt-discoverable==0.13.1
ha-mqtt-discoverable==0.16.0
requests==2.32.2
viessmann-gridbox-connector==1.5.1
opentelemetry-api
opentelemetry-sdk
opentelemetry-exporter-otlp-proto-grpc
opentelemetry-instrumentation-requests
opentelemetry-instrumentation-logging
viessmann-gridbox-connector==1.6.0
Loading

0 comments on commit 244cdc8

Please sign in to comment.