Giter VIP home page Giter VIP logo

Comments (9)

signalkraft avatar signalkraft commented on September 21, 2024

Could you enable debug logs and send me the request that contains current_special_function? Unfortunately the error messages don't show what value it was trying to set.

from mypyllant-component.

fellek avatar fellek commented on September 21, 2024

Thanks for answering!This integration is already in debug mode,but I am unable to find logs with more Information about call of this function. Is there another way to read the value of current_special_function?

I will do some more tests and will post more Logs if they appear!

from mypyllant-component.

signalkraft avatar signalkraft commented on September 21, 2024

I released a new version v0.5.0 with better debug messages, would you mind updating & retrying with that? You should be able to spot the value in the logs.

from mypyllant-component.

fellek avatar fellek commented on September 21, 2024

Thanks for new Update. I have some new logs for you. In this case its true: System is off.

Logger: custom_components.mypyllant
Source: custom_components/mypyllant/__init__.py:173
Integration: myVAILLANT (documentation, issues)
First occurred: 11:37:29 (4 occurrences)
Last logged: 11:39:28

Unexpected error fetching myVAILLANT data: 'SYSTEM_OFF' is not a valid ZoneCurrentSpecialFunction
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 290, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/mypyllant/__init__.py", line 173, in _async_update_data
    data = [
           ^
  File "/config/custom_components/mypyllant/__init__.py", line 173, in <listcomp>
    data = [
           ^
  File "/usr/local/lib/python3.11/site-packages/myPyllant/api.py", line 284, in get_systems
    system = System.from_api(
             ^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/myPyllant/models.py", line 199, in from_api
    system.zones = [
                   ^
  File "/usr/local/lib/python3.11/site-packages/myPyllant/models.py", line 200, in <listcomp>
    Zone.from_api(system_id=system.id, **z)
  File "/usr/local/lib/python3.11/site-packages/myPyllant/models.py", line 138, in from_api
    return super().from_api(**kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/myPyllant/models.py", line 84, in from_api
    return from_dict(
           ^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/dacite/core.py", line 64, in from_dict
    value = _build_value(type_=field_type, data=field_data, config=config)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/dacite/core.py", line 105, in _build_value
    data = type_(data)
           ^^^^^^^^^^^
  File "/usr/local/lib/python3.11/enum.py", line 712, in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/enum.py", line 1128, in __new__
    raise ve_exc
ValueError: 'SYSTEM_OFF' is not a valid ZoneCurrentSpecialFunction

As long there is enough sun/PV electric energy the Vaillant is turned off to prevent from using gas to heat water.
Imho "SYSTEM_OFF" is a legitimate status for Vaillant because, all sensors are working as you can see in attached pictures.

image
image

from mypyllant-component.

fellek avatar fellek commented on September 21, 2024

after turning on:
#28

from mypyllant-component.

signalkraft avatar signalkraft commented on September 21, 2024

The other issue as well as your problem with the system off state should be fixed in https://github.com/signalkraft/mypyllant-component/releases/tag/v0.5.1

from mypyllant-component.

signalkraft avatar signalkraft commented on September 21, 2024

@fellek any luck with the newer releases?

from mypyllant-component.

fellek avatar fellek commented on September 21, 2024

@signalkraft Thanks for asking. The system is on to check the integration but I am not in place to turn off. I will reply soon.

from mypyllant-component.

signalkraft avatar signalkraft commented on September 21, 2024

I'm closing this, as it should be fixed with the added value.

from mypyllant-component.

Related Issues (20)

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.