Code Monkey home page Code Monkey logo

homeassistant-addon-viessmann-gridbox's People

Contributors

dependabot[bot] avatar unl0ck avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

homeassistant-addon-viessmann-gridbox's Issues

Anfängerfrage: API-Lizenz notwendig?

Hi!

Leider muss ich mal eine wahrscheinlich dumme Frage stellen, da ich gerade erst frisch begonnen habe mit HASS und dem Thema Smart Home:

Brauche ich eine Viessmann-API Zugang um dieses Add-on zu nutzen?

Bekomme folgendes Protokoll ausgespuckt:

s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service gridboxconnector: starting
s6-rc: info: service gridboxconnector successfully started
s6-rc: info: service legacy-services: starting
[15:48:09] INFO: Starting GridboxConnector...
s6-rc: info: service legacy-services successfully started
[15:48:09] ERROR: Got unexpected response from the API: Service not enabled
total 12K
4 drwxr-xr-x 2 root root 4.0K Jul 12 15:48 .
4 drwxr-xr-x 1 root root 4.0K Jul 12 15:48 ..
4 -rw------- 1 root root 115 Jul 12 15:48 options.json
{
"username": "XXXXX",
"password": "YYYYY",
"wait_time": 60,
"log_level": "TRACE"
}total 16K
4 drwxr-xr-x 1 root root 4.0K Jun 6 19:54 .
4 drwxr-xr-x 1 root root 4.0K Jul 12 15:48 ..
4 drwxr-xr-x 3 root root 4.0K Jun 6 19:53 GridboxConnector
4 -rw-r--r-- 1 root root 494 Jun 6 19:53 cloudSettings.json
/build
Traceback (most recent call last):
File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/build/GridboxConnector/main.py", line 12, in
logger.setLevel(logging.getLevelName(os.getenv('LOG_LEVEL', 'INFO')))
File "/usr/local/lib/python3.10/logging/init.py", line 1452, in setLevel
self.level = _checkLevel(level)
File "/usr/local/lib/python3.10/logging/init.py", line 198, in _checkLevel
raise ValueError("Unknown level: %r" % level)
ValueError: Unknown level: 'Level TRACE'
[15:48:10] INFO: Service gridboxconnector exited with code 1 (by signal 0)
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service gridboxconnector: stopping
s6-rc: info: service gridboxconnector successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service gridboxconnector: starting
s6-rc: info: service gridboxconnector successfully started
s6-rc: info: service legacy-services: starting
[15:48:41] INFO: Starting GridboxConnector...
s6-rc: info: service legacy-services successfully started
[15:48:42] ERROR: Got unexpected response from the API: Service not enabled
total 12K
4 drwxr-xr-x 2 root root 4.0K Jul 12 15:48 .
4 drwxr-xr-x 1 root root 4.0K Jul 12 15:48 ..
4 -rw------- 1 root root 115 Jul 12 15:48 options.json
{
"username": "XXXX",
"password": "YYYY",
"wait_time": 60,
"log_level": "TRACE"
}total 16K
4 drwxr-xr-x 1 root root 4.0K Jun 6 19:54 .
4 drwxr-xr-x 1 root root 4.0K Jul 12 15:48 ..
4 drwxr-xr-x 3 root root 4.0K Jun 6 19:53 GridboxConnector
4 -rw-r--r-- 1 root root 494 Jun 6 19:53 cloudSettings.json
/build
Traceback (most recent call last):
File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/build/GridboxConnector/main.py", line 12, in
logger.setLevel(logging.getLevelName(os.getenv('LOG_LEVEL', 'INFO')))
File "/usr/local/lib/python3.10/logging/init.py", line 1452, in setLevel
self.level = _checkLevel(level)
File "/usr/local/lib/python3.10/logging/init.py", line 198, in _checkLevel
raise ValueError("Unknown level: %r" % level)
ValueError: Unknown level: 'Level TRACE'
[15:48:42] INFO: Service gridboxconnector exited with code 1 (by signal 0)
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service gridboxconnector: stopping
s6-rc: info: service gridboxconnector successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

MQTT habe ich noch nicht eingerichtet (falls das von Belang ist). Auch das muss ich mir erstmal aneignen, wäre dann mein nächster Schritt gewesen.

Vielen Dank für das Projekt hier und für die Mühe!

Mehr Sensoren möglich?

Super Programm - Danke!
Ist es auch möglich, noch "E-Auto" als einzelne Auswertung zu integrieren?
VX3

Verbindung zur Gridbox Cloud wird unregelmäßig getrennt

Hallo @unl0ck,
die Verbindung zur Gridbox Cloud wird unregelmäßig getrennt.
Das Problem ist Dir ja schon bekannt, trotzdem habe ich mal einen Issue dazu aufgemacht.

Denn mittlerweile habe ich auch einen Workaround gefunden, um das Addon neu zu starten, falls die Session zur Gridbox Cloud wieder getrennt wurde. Der Workaround kann benutzt werden, bis das Problem gefixt wurde bzw. Watchdog funktioniert.

Da sich der Wert sensor.viessmann_gridbox_grid im Normalfall sekündlich ändert, ist das ein Indiz dafür, dass das Addon sich aufgehängt hat, wenn er sich länger nicht ändert.
Nach 30 Sekunden ohne Änderung wird das Addon beendet und nach 45 Sekunden wieder neugestartet.
Direkt Neustarten hat zu Problemen geführt, daher zwei Einträge in der automations.yaml.

siehe Einträge in der automations.yaml

  • alias: gridbox_trigger
    trigger:

    • platform: state
      entity_id: sensor.viessmann_gridbox_grid

      The sensor remained in its current state for 30 seconds

      for: "00:00:30"
      action:
    • service: hassio.addon_stop
      data:
      addon: "2798059d_gridbox_connector"
  • alias: gridbox_trigger_2
    trigger:

    • platform: state
      entity_id: sensor.viessmann_gridbox_grid

      The sensor remained in its current state for 45 seconds

      for: "00:00:45"
      action:
    • service: hassio.addon_start
      data:
      addon: "2798059d_gridbox_connector"

Addon stops after short time

Cool addon idea. The Viessmann data policy is a joke!

As mentioned the addon stops after a short while. Watchdog was turned on, did not change behavior.
By the way, where would I find the data that was collected from the gridbox?

BR, Timo

Bitte weitere Sensoren bereitstellen

Bitte (auf vielfachen Wunsch) folgende Werte aus den Live-Daten als Sensoren bereitstellen:

"batteries":[
{ "power": 500,
"stateOfCharge":0
}
],
"battery":{
"power": 500,
"stateOfCharge":0

"consumption":814,
"directConsumption":124,
"directConsumptionHeatPump":124,
"directConsumptionHousehold":0,

Danke und viele Grüße

DirectConsumptionRate & SelfConsumtpionRate Anzeige mit zuviel Nachkommastellen

Describe the bug what do have

Guten Morgen,
die beiden im Titel genannten Entitäten werden mit mehr als 10 Nachkommastellen angezeigt.
Gewollt oder könnte man die auf 1-2 Stellen reduzieren?
Unbenannt

Log details

-----------------------------------------------------------
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
Log level is set to INFO
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service gridboxconnector: starting
s6-rc: info: service gridboxconnector successfully started
s6-rc: info: service legacy-services: starting
[08:35:45] INFO: Starting GridboxConnector...
s6-rc: info: service legacy-services successfully started
total 12K    
   4.0K drwxr-xr-x    2 root     root        4.0K Jul 10 08:35 .
   4.0K drwxr-xr-x    1 root     root        4.0K Jul 10 08:35 ..
   4.0K -rw-------    1 root     root         114 Jul 10 08:35 options.json
{
  "username": "XXX",
  "password": "XXX",
  "wait_time": 10,
  "log_level": "INFO"
}total 16K    
   4.0K drwxr-xr-x    1 root     root        4.0K Jul  9 14:16 .
   4.0K drwxr-xr-x    1 root     root        4.0K Jul 10 08:35 ..
   4.0K drwxr-xr-x    3 root     root        4.0K Jul  9 14:15 GridboxConnector
   4.0K -rw-r--r--    1 root     root         494 Jul  9 14:15 cloudSettings.json
/build
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/build/GridboxConnector/__main__.py", line 31, in <module>
    options_json = json.load(options_file)
                   ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/json/__init__.py", line 293, in load
    return loads(fp.read(),
                 ^^^^^^^
AttributeError: 'str' object has no attribute 'read'
[08:35:49] INFO: Service gridboxconnector exited with code 1 (by signal 0)
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service gridboxconnector: stopping
s6-rc: info: service gridboxconnector successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service base-addon-log-level: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service base-addon-log-level successfully stopped
s6-rc: info: service base-addon-banner: stopping
s6-rc: info: service base-addon-banner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-linux-init-shutdown: fatal: unable to talk to shutdownd: Operation not permitted
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service base-addon-banner: starting
-----------------------------------------------------------

 Add-on: Viessmann Gridbox Connector (edge)
 Viessmann Gridbox Connector (edge)
-----------------------------------------------------------
 Add-on version: 2.7.3
 You are running the latest version of this add-on.
 System: Home Assistant OS 12.4  (aarch64 / yellow)
 Home Assistant Core: 2024.7.1
 Home Assistant Supervisor: 2024.06.2
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
Log level is set to INFO
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service gridboxconnector: starting
s6-rc: info: service gridboxconnector successfully started
s6-rc: info: service legacy-services: starting
[08:36:31] INFO: Starting GridboxConnector...
s6-rc: info: service legacy-services successfully started
total 12K    
   4.0K drwxr-xr-x    2 root     root        4.0K Jul 10 08:36 .
   4.0K drwxr-xr-x    1 root     root        4.0K Jul 10 08:36 ..
   4.0K -rw-------    1 root     root         114 Jul 10 08:36 options.json
{
  "username": "XXX",
  "password": "XXX",
  "wait_time": 10,
  "log_level": "INFO"
}total 16K    
   4.0K drwxr-xr-x    1 root     root        4.0K Jul 10 06:56 .
   4.0K drwxr-xr-x    1 root     root        4.0K Jul 10 08:36 ..
   4.0K drwxr-xr-x    3 root     root        4.0K Jul 10 06:56 GridboxConnector
   4.0K -rw-r--r--    1 root     root         494 Jul 10 06:56 cloudSettings.json
/build
2024-07-10 08:36:35,824 __main__.py:61 INFO - {'batteries': [{'applianceID': 'a1731af4-0399-495b-92c2-523fd61ab681', 'capacity': 10000, 'nominalCapacity': 10000, 'power': -1626, 'remainingCharge': 4200, 'stateOfCharge': 0.42}], 'battery': {'capacity': 10000, 'nominalCapacity': 10000, 'power': -1626, 'remainingCharge': 4200, 'stateOfCharge': 0.42}, 'consumption': 628, 'directConsumption': 628, 'directConsumptionEV': 0, 'directConsumptionHeatPump': 0, 'directConsumptionHeater': 0, 'directConsumptionHousehold': 628, 'directConsumptionRate': 0.2747156605424322, 'grid': -32, 'gridMeterReadingNegative': 5508720000, 'gridMeterReadingPositive': 5338440000, 'heaters': [{'applianceID': '12bdd8ec-9b1e-465e-8f26-feae00e5af0f', 'power': 0, 'temperature': 51.5}], 'heating': 0, 'measuredAt': '2024-07-10T06:36:35Z', 'photovoltaic': 2286, 'production': 2286, 'selfConsumption': 2254, 'selfConsumptionRate': 0.9860017497812773, 'selfSufficiencyRate': 1, 'selfSupply': 628, 'totalConsumption': 628}

Version

No response

EV-Sensoren

Is your feature request related to a problem? Please describe.
EV-Sensoren bereitstellen

Describe the solution you'd like
Bessere übersicht über alle Sensoren

Additional context
Siehe Anhang
Viessmann.docx

Service gridboxconnector exited with code 1 (by signal 0)

Describe the bug what do have

addon stops to work basicly direct after start. happens since update to 2.5.7
wait time seems not to affect that.

happens on HAOS
Core 2024.5.5
Supervisor 2024.05.1
Operating System 12.3
Frontend 20240501.1

Log details

s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service gridboxconnector: starting
s6-rc: info: service gridboxconnector successfully started
s6-rc: info: service legacy-services: starting
[12:08:25] INFO: Starting GridboxConnector...
s6-rc: info: service legacy-services successfully started
total 12K    
     4 drwxr-xr-x    2 root     root        4.0K Jun  2 12:08 .
     4 drwxr-xr-x    1 root     root        4.0K Jun  2 12:08 ..
     4 -rw-------    1 root     root          94 Jun  2 12:08 options.json
{
  "username": "[email protected]",
  "password": "pw",
  "wait_time": 60
}total 16K    
     4 drwxr-xr-x    1 root     root        4.0K Jun  1 05:32 .
     4 drwxr-xr-x    1 root     root        4.0K Jun  2 12:08 ..
     4 drwxr-xr-x    3 root     root        4.0K Jun  1 05:31 GridboxConnector
     4 -rw-r--r--    1 root     root         494 Jun  1 05:31 cloudSettings.json
/build
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/build/GridboxConnector/__main__.py", line 12, in <module>
    logger.setLevel(logging.getLevelName(os.getenv('LOG_LEVEL', 'INFO')))
  File "/usr/local/lib/python3.10/logging/__init__.py", line 1452, in setLevel
    self.level = _checkLevel(level)
  File "/usr/local/lib/python3.10/logging/__init__.py", line 198, in _checkLevel
    raise ValueError("Unknown level: %r" % level)
ValueError: Unknown level: 'Level null'
[12:08:25] INFO: Service gridboxconnector exited with code 1 (by signal 0)
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service gridboxconnector: stopping
s6-rc: info: service gridboxconnector successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service gridboxconnector: starting
s6-rc: info: service gridboxconnector successfully started
s6-rc: info: service legacy-services: starting
[12:13:46] INFO: Starting GridboxConnector...
s6-rc: info: service legacy-services successfully started
total 12K    
     4 drwxr-xr-x    2 root     root        4.0K Jun  2 12:13 .
     4 drwxr-xr-x    1 root     root        4.0K Jun  2 12:13 ..
     4 -rw-------    1 root     root          95 Jun  2 12:13 options.json
{
  "username": "[email protected]",
  "password": "pw",
  "wait_time": 180
}total 16K    
     4 drwxr-xr-x    1 root     root        4.0K Jun  1 05:32 .
     4 drwxr-xr-x    1 root     root        4.0K Jun  2 12:13 ..
     4 drwxr-xr-x    3 root     root        4.0K Jun  1 05:31 GridboxConnector
     4 -rw-r--r--    1 root     root         494 Jun  1 05:31 cloudSettings.json
/build
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/build/GridboxConnector/__main__.py", line 12, in <module>
    logger.setLevel(logging.getLevelName(os.getenv('LOG_LEVEL', 'INFO')))
  File "/usr/local/lib/python3.10/logging/__init__.py", line 1452, in setLevel
    self.level = _checkLevel(level)
  File "/usr/local/lib/python3.10/logging/__init__.py", line 198, in _checkLevel
    raise ValueError("Unknown level: %r" % level)
ValueError: Unknown level: 'Level null'
[12:13:47] INFO: Service gridboxconnector exited with code 1 (by signal 0)
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service gridboxconnector: stopping
s6-rc: info: service gridboxconnector successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

Version

2.5.7

Mehr Werte einbinden / Kommastellen weglassen wegen der Übersichtlichkeit

Hallo,
erst nochmal vielen Dank für den super Support.

a) Wäre es möglich noch weitere Werte einzubinden?
- Bei Heizung noch den Wert der Wassertemperatur (rechts oben im Zusatzbereich, siehe Screenshot)
- erzeugte u. verbrauchte Tagesenergie einbinden (im Screenshot unten mittig)
- Autarkie (im Screenshot unten links)

b) Könnte man die Werte evtl. ohne Komma Stellen (sowohl Watt als auch Prozent) angeben lassen. Sind in meinen Augen nicht von Relevanz, machen das Ganze etwas unübersichtlicher und in meinem Fall ;-) scheinen sie nicht so gut mit den Mushroom Template Cards zu funktionieren. Vielleicht sind auch die etwas buggy. Aber da werden die Werte manchmal nicht richtig interpretiert und ich vermute, es liegt an den Komma Stellen.

Vielen Dank nochmals.
Bildschirmfoto 2024-07-12 um 12 31 19

add-on not running

Describe the bug
After the latest update 1.9x the add-on won't run in home assistant anymore. Shortly after starting it, it will stop again.

To Reproduce
Updated the add-on from 1.5x and restarted. Add-on will stop seconds after restart.

Expected
After restart the add-on is running stable.

Addon stops to work "MaxRetryError"

Describe the bug what do have

since some weeks the addon stops to work after a while. manual restarts helps. sometimes for 6 hours an more. watchdog is enabled but seems not to help.
configuration "wait" was 60 and 300.

Log details

2024-05-18 14:15:46,651 __init__.py:640 INFO - state_topic: hmd/sensor/Viessmann-Gridbox/SelfSupply/state
2024-05-18 14:15:46,651 __init__.py:671 DEBUG - Creating mqtt client (None) for core-mosquitto:1883
2024-05-18 14:15:46,651 __init__.py:711 DEBUG - Connecting to core-mosquitto:1883 without SSL
2024-05-18 14:15:46,651 __init__.py:639 INFO - config_topic: homeassistant/sensor/Viessmann-Gridbox/SelfConsumptionRate/config
2024-05-18 14:15:46,651 __init__.py:640 INFO - state_topic: hmd/sensor/Viessmann-Gridbox/SelfConsumptionRate/state
2024-05-18 14:15:46,651 __init__.py:671 DEBUG - Creating mqtt client (None) for core-mosquitto:1883
2024-05-18 14:15:46,651 __init__.py:711 DEBUG - Connecting to core-mosquitto:1883 without SSL
2024-05-18 14:15:46,652 __init__.py:639 INFO - config_topic: homeassistant/sensor/Viessmann-Gridbox/SelfSufficiencyRate/config
2024-05-18 14:15:46,652 __init__.py:640 INFO - state_topic: hmd/sensor/Viessmann-Gridbox/SelfSufficiencyRate/state
2024-05-18 14:15:46,652 __init__.py:671 DEBUG - Creating mqtt client (None) for core-mosquitto:1883
2024-05-18 14:15:46,652 __init__.py:711 DEBUG - Connecting to core-mosquitto:1883 without SSL
2024-05-18 14:15:46,653 connectionpool.py:1055 DEBUG - Starting new HTTPS connection (1): gridx.eu.auth0.com:443
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 198, in _new_conn
    sock = connection.create_connection(
  File "/usr/local/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, in create_connection
    raise err
  File "/usr/local/lib/python3.10/site-packages/urllib3/util/connection.py", line 73, in create_connection
    sock.connect(sa)
OSError: [Errno 113] Host is unreachable

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 793, in urlopen
    response = self._make_request(
  File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 491, in _make_request
    raise new_e
  File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 467, in _make_request
    self._validate_conn(conn)
  File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 1099, in _validate_conn
    conn.connect()
  File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 616, in connect
    self.sock = sock = self._new_conn()
  File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 213, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f57c6257b80>: Failed to establish a new connection: [Errno 113] Host is unreachable

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/requests/adapters.py", line 486, in send
    resp = conn.urlopen(
  File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 847, in urlopen
    retries = retries.increment(
  File "/usr/local/lib/python3.10/site-packages/urllib3/util/retry.py", line 515, in increment
    raise MaxRetryError(_pool, url, reason) from reason  # type: ignore[arg-type]
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='gridx.eu.auth0.com', port=443): Max retries exceeded with url: /oauth/token (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f57c6257b80>: Failed to establish a new connection: [Errno 113] Host is unreachable'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/build/GridboxConnector/__main__.py", line 42, in <module>
    gridboxConnector = GridboxConnector(data)
  File "/usr/local/lib/python3.10/site-packages/gridbox_connector/GridboxConnector.py", line 11, in __init__
    self.init_auth()
  File "/usr/local/lib/python3.10/site-packages/gridbox_connector/GridboxConnector.py", line 14, in init_auth
    self.get_token()
  File "/usr/local/lib/python3.10/site-packages/gridbox_connector/GridboxConnector.py", line 19, in get_token
    response = requests.post(self.login_url, self.login_body)
  File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 115, in post
    return request("post", url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 59, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 589, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 703, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='gridx.eu.auth0.com', port=443): Max retries exceeded with url: /oauth/token (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f57c6257b80>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
2024-05-18 14:15:46,690 __init__.py:853 DEBUG - Shutting down MQTT client
2024-05-18 14:15:46,690 __init__.py:853 DEBUG - Shutting down MQTT client
2024-05-18 14:15:46,690 __init__.py:853 DEBUG - Shutting down MQTT client
2024-05-18 14:15:46,690 __init__.py:853 DEBUG - Shutting down MQTT client
2024-05-18 14:15:46,690 __init__.py:853 DEBUG - Shutting down MQTT client
2024-05-18 14:15:46,690 __init__.py:853 DEBUG - Shutting down MQTT client
2024-05-18 14:15:46,690 __init__.py:853 DEBUG - Shutting down MQTT client
2024-05-18 14:15:46,690 __init__.py:853 DEBUG - Shutting down MQTT client
2024-05-18 14:15:46,690 __init__.py:853 DEBUG - Shutting down MQTT client
2024-05-18 14:15:46,690 __init__.py:853 DEBUG - Shutting down MQTT client
2024-05-18 14:15:46,690 __init__.py:853 DEBUG - Shutting down MQTT client
2024-05-18 14:15:46,690 __init__.py:853 DEBUG - Shutting down MQTT client
2024-05-18 14:15:46,690 __init__.py:853 DEBUG - Shutting down MQTT client
2024-05-18 14:15:46,690 __init__.py:853 DEBUG - Shutting down MQTT client
2024-05-18 14:15:46,690 __init__.py:853 DEBUG - Shutting down MQTT client
[14:15:46] INFO: Service gridboxconnector exited with code 1 (by signal 0)
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service gridboxconnector: stopping
s6-rc: info: service gridboxconnector successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
------------------


----------
2024-05-20 10:21:08,248 __init__.py:640 INFO - state_topic: hmd/sensor/Viessmann-Gridbox/SelfSupply/state
2024-05-20 10:21:08,248 __init__.py:671 DEBUG - Creating mqtt client (None) for core-mosquitto:1883
2024-05-20 10:21:08,248 __init__.py:711 DEBUG - Connecting to core-mosquitto:1883 without SSL
2024-05-20 10:21:08,248 __init__.py:639 INFO - config_topic: homeassistant/sensor/Viessmann-Gridbox/SelfConsumptionRate/config
2024-05-20 10:21:08,249 __init__.py:640 INFO - state_topic: hmd/sensor/Viessmann-Gridbox/SelfConsumptionRate/state
2024-05-20 10:21:08,249 __init__.py:671 DEBUG - Creating mqtt client (None) for core-mosquitto:1883
2024-05-20 10:21:08,249 __init__.py:711 DEBUG - Connecting to core-mosquitto:1883 without SSL
2024-05-20 10:21:08,249 __init__.py:639 INFO - config_topic: homeassistant/sensor/Viessmann-Gridbox/SelfSufficiencyRate/config
2024-05-20 10:21:08,249 __init__.py:640 INFO - state_topic: hmd/sensor/Viessmann-Gridbox/SelfSufficiencyRate/state
2024-05-20 10:21:08,249 __init__.py:671 DEBUG - Creating mqtt client (None) for core-mosquitto:1883
2024-05-20 10:21:08,249 __init__.py:711 DEBUG - Connecting to core-mosquitto:1883 without SSL
2024-05-20 10:21:08,251 connectionpool.py:1055 DEBUG - Starting new HTTPS connection (1): gridx.eu.auth0.com:443
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 198, in _new_conn
    sock = connection.create_connection(
  File "/usr/local/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, in create_connection
    raise err
  File "/usr/local/lib/python3.10/site-packages/urllib3/util/connection.py", line 73, in create_connection
    sock.connect(sa)
OSError: [Errno 113] Host is unreachable

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 793, in urlopen
    response = self._make_request(
  File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 491, in _make_request
    raise new_e
  File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 467, in _make_request
    self._validate_conn(conn)
  File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 1099, in _validate_conn
    conn.connect()
  File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 616, in connect
    self.sock = sock = self._new_conn()
  File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 213, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f354c34fb80>: Failed to establish a new connection: [Errno 113] Host is unreachable

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/requests/adapters.py", line 486, in send
    resp = conn.urlopen(
  File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 847, in urlopen
    retries = retries.increment(
  File "/usr/local/lib/python3.10/site-packages/urllib3/util/retry.py", line 515, in increment
    raise MaxRetryError(_pool, url, reason) from reason  # type: ignore[arg-type]
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='gridx.eu.auth0.com', port=443): Max retries exceeded with url: /oauth/token (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f354c34fb80>: Failed to establish a new connection: [Errno 113] Host is unreachable'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/build/GridboxConnector/__main__.py", line 42, in <module>
    gridboxConnector = GridboxConnector(data)
  File "/usr/local/lib/python3.10/site-packages/gridbox_connector/GridboxConnector.py", line 11, in __init__
    self.init_auth()
  File "/usr/local/lib/python3.10/site-packages/gridbox_connector/GridboxConnector.py", line 14, in init_auth
    self.get_token()
  File "/usr/local/lib/python3.10/site-packages/gridbox_connector/GridboxConnector.py", line 19, in get_token
    response = requests.post(self.login_url, self.login_body)
  File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 115, in post
    return request("post", url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 59, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 589, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 703, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='gridx.eu.auth0.com', port=443): Max retries exceeded with url: /oauth/token (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f354c34fb80>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
2024-05-20 10:21:08,286 __init__.py:853 DEBUG - Shutting down MQTT client
2024-05-20 10:21:08,287 __init__.py:853 DEBUG - Shutting down MQTT client
2024-05-20 10:21:08,287 __init__.py:853 DEBUG - Shutting down MQTT client
2024-05-20 10:21:08,287 __init__.py:853 DEBUG - Shutting down MQTT client
2024-05-20 10:21:08,287 __init__.py:853 DEBUG - Shutting down MQTT client
2024-05-20 10:21:08,287 __init__.py:853 DEBUG - Shutting down MQTT client
2024-05-20 10:21:08,287 __init__.py:853 DEBUG - Shutting down MQTT client
2024-05-20 10:21:08,287 __init__.py:853 DEBUG - Shutting down MQTT client
2024-05-20 10:21:08,287 __init__.py:853 DEBUG - Shutting down MQTT client
2024-05-20 10:21:08,287 __init__.py:853 DEBUG - Shutting down MQTT client
2024-05-20 10:21:08,287 __init__.py:853 DEBUG - Shutting down MQTT client
2024-05-20 10:21:08,287 __init__.py:853 DEBUG - Shutting down MQTT client
2024-05-20 10:21:08,287 __init__.py:853 DEBUG - Shutting down MQTT client
2024-05-20 10:21:08,287 __init__.py:853 DEBUG - Shutting down MQTT client
2024-05-20 10:21:08,287 __init__.py:853 DEBUG - Shutting down MQTT client
[10:21:08] INFO: Service gridboxconnector exited with code 1 (by signal 0)
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service gridboxconnector: stopping
s6-rc: info: service gridboxconnector successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped


------v2.3.0
2024-05-23 19:08:18,921 __init__.py:640 INFO - state_topic: hmd/sensor/Viessmann-Gridbox/Photovoltaic/state
2024-05-23 19:08:18,922 __init__.py:639 INFO - config_topic: homeassistant/sensor/Viessmann-Gridbox/Battery-sum-Level/config
2024-05-23 19:08:18,922 __init__.py:640 INFO - state_topic: hmd/sensor/Viessmann-Gridbox/Battery-sum-Level/state
2024-05-23 19:08:18,923 __init__.py:639 INFO - config_topic: homeassistant/sensor/Viessmann-Gridbox/Battery-sum-Capacity/config
2024-05-23 19:08:18,924 __init__.py:640 INFO - state_topic: hmd/sensor/Viessmann-Gridbox/Battery-sum-Capacity/state
2024-05-23 19:08:18,925 __init__.py:639 INFO - config_topic: homeassistant/sensor/Viessmann-Gridbox/Battery-sum-Power/config
2024-05-23 19:08:18,925 __init__.py:640 INFO - state_topic: hmd/sensor/Viessmann-Gridbox/Battery-sum-Power/state
2024-05-23 19:08:18,926 __init__.py:639 INFO - config_topic: homeassistant/sensor/Viessmann-Gridbox/Battery-sum-Remaining-Charge/config
2024-05-23 19:08:18,926 __init__.py:640 INFO - state_topic: hmd/sensor/Viessmann-Gridbox/Battery-sum-Remaining-Charge/state
2024-05-23 19:08:18,927 __init__.py:639 INFO - config_topic: homeassistant/sensor/Viessmann-Gridbox/Consumption/config
2024-05-23 19:08:18,927 __init__.py:640 INFO - state_topic: hmd/sensor/Viessmann-Gridbox/Consumption/state
2024-05-23 19:08:18,928 __init__.py:639 INFO - config_topic: homeassistant/sensor/Viessmann-Gridbox/Total-Consumption/config
2024-05-23 19:08:18,928 __init__.py:640 INFO - state_topic: hmd/sensor/Viessmann-Gridbox/Total-Consumption/state
2024-05-23 19:08:18,928 __init__.py:639 INFO - config_topic: homeassistant/sensor/Viessmann-Gridbox/DirectConsumptionHousehold/config
2024-05-23 19:08:18,929 __init__.py:640 INFO - state_topic: hmd/sensor/Viessmann-Gridbox/DirectConsumptionHousehold/state
2024-05-23 19:08:18,929 __init__.py:639 INFO - config_topic: homeassistant/sensor/Viessmann-Gridbox/DirectConsumptionHeatPump/config
2024-05-23 19:08:18,929 __init__.py:640 INFO - state_topic: hmd/sensor/Viessmann-Gridbox/DirectConsumptionHeatPump/state
2024-05-23 19:08:18,930 __init__.py:639 INFO - config_topic: homeassistant/sensor/Viessmann-Gridbox/DirectConsumptionEV/config
2024-05-23 19:08:18,930 __init__.py:640 INFO - state_topic: hmd/sensor/Viessmann-Gridbox/DirectConsumptionEV/state
2024-05-23 19:08:18,931 __init__.py:639 INFO - config_topic: homeassistant/sensor/Viessmann-Gridbox/DirectConsumptionRate/config
2024-05-23 19:08:18,931 __init__.py:640 INFO - state_topic: hmd/sensor/Viessmann-Gridbox/DirectConsumptionRate/state
2024-05-23 19:08:18,932 __init__.py:639 INFO - config_topic: homeassistant/sensor/Viessmann-Gridbox/SelfSupply/config
2024-05-23 19:08:18,932 __init__.py:640 INFO - state_topic: hmd/sensor/Viessmann-Gridbox/SelfSupply/state
2024-05-23 19:08:18,932 __init__.py:639 INFO - config_topic: homeassistant/sensor/Viessmann-Gridbox/SelfConsumptionRate/config
2024-05-23 19:08:18,932 __init__.py:640 INFO - state_topic: hmd/sensor/Viessmann-Gridbox/SelfConsumptionRate/state
2024-05-23 19:08:18,933 __init__.py:639 INFO - config_topic: homeassistant/sensor/Viessmann-Gridbox/SelfSufficiencyRate/config
2024-05-23 19:08:18,933 __init__.py:640 INFO - state_topic: hmd/sensor/Viessmann-Gridbox/SelfSufficiencyRate/state
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 198, in _new_conn
    sock = connection.create_connection(
  File "/usr/local/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, in create_connection
    raise err
  File "/usr/local/lib/python3.10/site-packages/urllib3/util/connection.py", line 73, in create_connection
    sock.connect(sa)
OSError: [Errno 113] Host is unreachable

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 793, in urlopen
    response = self._make_request(
  File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 491, in _make_request
    raise new_e
  File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 467, in _make_request
    self._validate_conn(conn)
  File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 1099, in _validate_conn
    conn.connect()
  File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 616, in connect
    self.sock = sock = self._new_conn()
  File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 213, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f616dbfbfd0>: Failed to establish a new connection: [Errno 113] Host is unreachable

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/requests/adapters.py", line 486, in send
    resp = conn.urlopen(
  File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 847, in urlopen
    retries = retries.increment(
  File "/usr/local/lib/python3.10/site-packages/urllib3/util/retry.py", line 515, in increment
    raise MaxRetryError(_pool, url, reason) from reason  # type: ignore[arg-type]
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='gridx.eu.auth0.com', port=443): Max retries exceeded with url: /oauth/token (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f616dbfbfd0>: Failed to establish a new connection: [Errno 113] Host is unreachable'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/build/GridboxConnector/__main__.py", line 42, in <module>
    gridboxConnector = GridboxConnector(data)
  File "/usr/local/lib/python3.10/site-packages/gridbox_connector/GridboxConnector.py", line 11, in __init__
    self.init_auth()
  File "/usr/local/lib/python3.10/site-packages/gridbox_connector/GridboxConnector.py", line 14, in init_auth
    self.get_token()
  File "/usr/local/lib/python3.10/site-packages/gridbox_connector/GridboxConnector.py", line 19, in get_token
    response = requests.post(self.login_url, self.login_body)
  File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 115, in post
    return request("post", url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 59, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 589, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 703, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='gridx.eu.auth0.com', port=443): Max retries exceeded with url: /oauth/token (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f616dbfbfd0>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
[19:08:19] INFO: Service gridboxconnector exited with code 1 (by signal 0)
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service gridboxconnector: stopping
s6-rc: info: service gridboxconnector successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
------
2024-05-24 11:45:51,642 __init__.py:640 INFO - state_topic: hmd/sensor/Viessmann-Gridbox/Photovoltaic/state
2024-05-24 11:45:51,643 __init__.py:639 INFO - config_topic: homeassistant/sensor/Viessmann-Gridbox/Battery-sum-Level/config
2024-05-24 11:45:51,643 __init__.py:640 INFO - state_topic: hmd/sensor/Viessmann-Gridbox/Battery-sum-Level/state
2024-05-24 11:45:51,643 __init__.py:639 INFO - config_topic: homeassistant/sensor/Viessmann-Gridbox/Battery-sum-Capacity/config
2024-05-24 11:45:51,643 __init__.py:640 INFO - state_topic: hmd/sensor/Viessmann-Gridbox/Battery-sum-Capacity/state
2024-05-24 11:45:51,644 __init__.py:639 INFO - config_topic: homeassistant/sensor/Viessmann-Gridbox/Battery-sum-Power/config
2024-05-24 11:45:51,644 __init__.py:640 INFO - state_topic: hmd/sensor/Viessmann-Gridbox/Battery-sum-Power/state
2024-05-24 11:45:51,644 __init__.py:639 INFO - config_topic: homeassistant/sensor/Viessmann-Gridbox/Battery-sum-Remaining-Charge/config
2024-05-24 11:45:51,644 __init__.py:640 INFO - state_topic: hmd/sensor/Viessmann-Gridbox/Battery-sum-Remaining-Charge/state
2024-05-24 11:45:51,645 __init__.py:639 INFO - config_topic: homeassistant/sensor/Viessmann-Gridbox/Consumption/config
2024-05-24 11:45:51,645 __init__.py:640 INFO - state_topic: hmd/sensor/Viessmann-Gridbox/Consumption/state
2024-05-24 11:45:51,645 __init__.py:639 INFO - config_topic: homeassistant/sensor/Viessmann-Gridbox/Total-Consumption/config
2024-05-24 11:45:51,645 __init__.py:640 INFO - state_topic: hmd/sensor/Viessmann-Gridbox/Total-Consumption/state
2024-05-24 11:45:51,645 __init__.py:639 INFO - config_topic: homeassistant/sensor/Viessmann-Gridbox/DirectConsumptionHousehold/config
2024-05-24 11:45:51,645 __init__.py:640 INFO - state_topic: hmd/sensor/Viessmann-Gridbox/DirectConsumptionHousehold/state
2024-05-24 11:45:51,646 __init__.py:639 INFO - config_topic: homeassistant/sensor/Viessmann-Gridbox/DirectConsumptionHeatPump/config
2024-05-24 11:45:51,646 __init__.py:640 INFO - state_topic: hmd/sensor/Viessmann-Gridbox/DirectConsumptionHeatPump/state
2024-05-24 11:45:51,646 __init__.py:639 INFO - config_topic: homeassistant/sensor/Viessmann-Gridbox/DirectConsumptionEV/config
2024-05-24 11:45:51,646 __init__.py:640 INFO - state_topic: hmd/sensor/Viessmann-Gridbox/DirectConsumptionEV/state
2024-05-24 11:45:51,646 __init__.py:639 INFO - config_topic: homeassistant/sensor/Viessmann-Gridbox/DirectConsumptionRate/config
2024-05-24 11:45:51,646 __init__.py:640 INFO - state_topic: hmd/sensor/Viessmann-Gridbox/DirectConsumptionRate/state
2024-05-24 11:45:51,647 __init__.py:639 INFO - config_topic: homeassistant/sensor/Viessmann-Gridbox/SelfSupply/config
2024-05-24 11:45:51,647 __init__.py:640 INFO - state_topic: hmd/sensor/Viessmann-Gridbox/SelfSupply/state
2024-05-24 11:45:51,647 __init__.py:639 INFO - config_topic: homeassistant/sensor/Viessmann-Gridbox/SelfConsumptionRate/config
2024-05-24 11:45:51,647 __init__.py:640 INFO - state_topic: hmd/sensor/Viessmann-Gridbox/SelfConsumptionRate/state
2024-05-24 11:45:51,647 __init__.py:639 INFO - config_topic: homeassistant/sensor/Viessmann-Gridbox/SelfSufficiencyRate/config
2024-05-24 11:45:51,647 __init__.py:640 INFO - state_topic: hmd/sensor/Viessmann-Gridbox/SelfSufficiencyRate/state
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 198, in _new_conn
    sock = connection.create_connection(
  File "/usr/local/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, in create_connection
    raise err
  File "/usr/local/lib/python3.10/site-packages/urllib3/util/connection.py", line 73, in create_connection
    sock.connect(sa)
OSError: [Errno 113] Host is unreachable

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 793, in urlopen
    response = self._make_request(
  File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 491, in _make_request
    raise new_e
  File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 467, in _make_request
    self._validate_conn(conn)
  File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 1099, in _validate_conn
    conn.connect()
  File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 616, in connect
    self.sock = sock = self._new_conn()
  File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 213, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f186e947fd0>: Failed to establish a new connection: [Errno 113] Host is unreachable

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/requests/adapters.py", line 486, in send
    resp = conn.urlopen(
  File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 847, in urlopen
    retries = retries.increment(
  File "/usr/local/lib/python3.10/site-packages/urllib3/util/retry.py", line 515, in increment
    raise MaxRetryError(_pool, url, reason) from reason  # type: ignore[arg-type]
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='gridx.eu.auth0.com', port=443): Max retries exceeded with url: /oauth/token (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f186e947fd0>: Failed to establish a new connection: [Errno 113] Host is unreachable'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/build/GridboxConnector/__main__.py", line 42, in <module>
    gridboxConnector = GridboxConnector(data)
  File "/usr/local/lib/python3.10/site-packages/gridbox_connector/GridboxConnector.py", line 11, in __init__
    self.init_auth()
  File "/usr/local/lib/python3.10/site-packages/gridbox_connector/GridboxConnector.py", line 14, in init_auth
    self.get_token()
  File "/usr/local/lib/python3.10/site-packages/gridbox_connector/GridboxConnector.py", line 19, in get_token
    response = requests.post(self.login_url, self.login_body)
  File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 115, in post
    return request("post", url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 59, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 589, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 703, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='gridx.eu.auth0.com', port=443): Max retries exceeded with url: /oauth/token (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f186e947fd0>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
[11:45:51] INFO: Service gridboxconnector exited with code 1 (by signal 0)
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service gridboxconnector: stopping
s6-rc: info: service gridboxconnector successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

Version

2.3.0

run.sh: line 11: MqttPort: unbound variable

Hallo @unl0ck im Logfile gibt es nun folgenden Fehler:
/run.sh: line 11: MqttPort: unbound variable

Lösung:

export FiatChamp_MqttPort=$(bashio::config 'OverrideMqttPort')

muss vermutlich so heißen:

export MqttPort=$(bashio::config 'OverrideMqttPort')

Wert von "Heizung" wird nicht in HA ausgegeben

Describe the bug what do have

Ich habe in meiner Gridbox auf der rechten Seite die Werte "Heizung" (nicht "Wärmepumpe") und "Haushaltverbrauch". Der Wert von "Haushaltsverbrauch" wird auch regelmäßig in HA abgebildet. Der Wert von "Heizung" wird leider nicht als Entität abgebildet. Ist dies ein Fehler oder kann man durch Änderung einer Einstellung diese Werte auch einbinden?
Unbenannt

Log details

4 drwxr-xr-x    2 root     root        4.0K Jul  8 16:37 .
     4 drwxr-xr-x    1 root     root        4.0K Jul  8 16:37 ..
     4 -rw-------    1 root     root         114 Jul  8 16:37 options.json
{
  "username": "XXX",
  "password": "XXX",
  "wait_time": 30,
  "log_level": "INFO"
}total 16K    
     4 drwxr-xr-x    1 root     root        4.0K Jun  6 19:54 .
     4 drwxr-xr-x    1 root     root        4.0K Jul  8 16:37 ..
     4 drwxr-xr-x    3 root     root        4.0K Jun  6 19:53 GridboxConnector
     4 -rw-r--r--    1 root     root         494 Jun  6 19:53 cloudSettings.json
/build
2024-07-08 16:37:19,726 __main__.py:57 INFO - {'batteries': [{'applianceID': 'a1731af4-0399-495b-92c2-523fd61ab681', 'capacity': 10000, 'nominalCapacity': 10000, 'power': 0, 'remainingCharge': 10000, 'stateOfCharge': 1}], 'battery': {'capacity': 10000, 'nominalCapacity': 10000, 'power': 0, 'remainingCharge': 10000, 'stateOfCharge': 1}, 'consumption': 1709, 'directConsumption': 1709, 'directConsumptionEV': 0, 'directConsumptionHeatPump': 0, 'directConsumptionHeater': 0, 'directConsumptionHousehold': 1709, 'directConsumptionRate': 0.29049804521502637, 'grid': -4174, 'gridMeterReadingNegative': 5358600000, 'gridMeterReadingPositive': 5335920000, 'heaters': [{'applianceID': '12bdd8ec-9b1e-465e-8f26-feae00e5af0f', 'power': 0, 'temperature': 72.5}], 'heating': 0, 'measuredAt': '2024-07-08T14:37:19Z', 'photovoltaic': 5883, 'production': 5883, 'selfConsumption': 1709, 'selfConsumptionRate': 0.29049804521502637, 'selfSufficiencyRate': 1, 'selfSupply': 1709, 'totalConsumption': 1709}
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service gridboxconnector: stopping
[17:07:46] INFO: Service gridboxconnector exited with code 256 (by signal 15)
s6-rc: info: service gridboxconnector successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service gridboxconnector: starting
s6-rc: info: service gridboxconnector successfully started
s6-rc: info: service legacy-services: starting
[17:07:52] INFO: Starting GridboxConnector...
s6-rc: info: service legacy-services successfully started
total 12K    
     4 drwxr-xr-x    2 root     root        4.0K Jul  8 17:07 .
     4 drwxr-xr-x    1 root     root        4.0K Jul  8 17:07 ..
     4 -rw-------    1 root     root         113 Jul  8 17:07 options.json
{
  "username": "XXX",
  "password": "XXX",
  "wait_time": 5,
  "log_level": "INFO"
}total 16K    
     4 drwxr-xr-x    1 root     root        4.0K Jun  6 19:54 .
     4 drwxr-xr-x    1 root     root        4.0K Jul  8 17:07 ..
     4 drwxr-xr-x    3 root     root        4.0K Jun  6 19:53 GridboxConnector
     4 -rw-r--r--    1 root     root         494 Jun  6 19:53 cloudSettings.json
/build
2024-07-08 17:07:56,481 __main__.py:57 INFO - {'batteries': [{'applianceID': 'a1731af4-0399-495b-92c2-523fd61ab681', 'capacity': 10000, 'nominalCapacity': 10000, 'power': 179, 'remainingCharge': 10000, 'stateOfCharge': 1}], 'battery': {'capacity': 10000, 'nominalCapacity': 10000, 'power': 179, 'remainingCharge': 10000, 'stateOfCharge': 1}, 'consumption': 2073.5, 'directConsumption': 5601.5, 'directConsumptionEV': 0, 'directConsumptionHeatPump': 0, 'directConsumptionHeater': 3709, 'directConsumptionHousehold': 1892.5, 'directConsumptionRate': 1, 'grid': 2, 'gridMeterReadingNegative': 5364000000, 'gridMeterReadingPositive': 5335920000, 'heaters': [{'applianceID': '12bdd8ec-9b1e-465e-8f26-feae00e5af0f', 'power': 3709, 'temperature': 71.8}], 'heating': 3709, 'measuredAt': '2024-07-08T15:07:55Z', 'photovoltaic': 5601.5, 'production': 5601.5, 'selfConsumption': 5601.5, 'selfConsumptionRate': 1, 'selfSufficiencyRate': 0.9996541288370082, 'selfSupply': 5780.5, 'totalConsumption': 5782.5}
2024-07-09 03:07:59,658 - viessmann_gridbox_connector.GridboxConnector - WARNING - retrieve_live_data - Status Code 401
2024-07-09 03:07:59,659 - viessmann_gridbox_connector.GridboxConnector - WARNING - retrieve_live_data - Response {}
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/build/GridboxConnector/__main__.py", line 54, in <module>
    result = measurement[0]
IndexError: list index out of range
[03:07:59] INFO: Service gridboxconnector exited with code 1 (by signal 0)
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service gridboxconnector: stopping
s6-rc: info: service gridboxconnector successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service gridboxconnector: starting
s6-rc: info: service gridboxconnector successfully started
s6-rc: info: service legacy-services: starting
[03:08:06] INFO: Starting GridboxConnector...
s6-rc: info: service legacy-services successfully started
total 12K    
     4 drwxr-xr-x    2 root     root        4.0K Jul  9 03:08 .
     4 drwxr-xr-x    1 root     root        4.0K Jul  9 03:08 ..
     4 -rw-------    1 root     root         113 Jul  9 03:08 options.json
{
  "username": "XXX",
  "password": "XXX",
  "wait_time": 5,
  "log_level": "INFO"
}total 16K    
     4 drwxr-xr-x    1 root     root        4.0K Jun  6 19:54 .
     4 drwxr-xr-x    1 root     root        4.0K Jul  9 03:08 ..
     4 drwxr-xr-x    3 root     root        4.0K Jun  6 19:53 GridboxConnector
     4 -rw-r--r--    1 root     root         494 Jun  6 19:53 cloudSettings.json
/build
2024-07-09 03:08:10,292 __main__.py:57 INFO - {'batteries': [{'applianceID': 'a1731af4-0399-495b-92c2-523fd61ab681', 'capacity': 10000, 'nominalCapacity': 10000, 'power': 538, 'remainingCharge': 5400, 'stateOfCharge': 0.54}], 'battery': {'capacity': 10000, 'nominalCapacity': 10000, 'power': 538, 'remainingCharge': 5400, 'stateOfCharge': 0.54}, 'consumption': 543, 'directConsumption': 0, 'directConsumptionEV': 0, 'directConsumptionHeatPump': 0, 'directConsumptionHeater': 0, 'directConsumptionHousehold': 0, 'grid': 5, 'gridMeterReadingNegative': 5374800000, 'gridMeterReadingPositive': 5337000000, 'heaters': [{'applianceID': '12bdd8ec-9b1e-465e-8f26-feae00e5af0f', 'power': 0, 'temperature': 49.5}], 'heating': 0, 'measuredAt': '2024-07-09T01:08:09Z', 'photovoltaic': 0, 'production': 0, 'selfConsumption': 0, 'selfSufficiencyRate': 0.990791896869245, 'selfSupply': 538, 'totalConsumption': 543}

Version

2.6.3

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.