Giter VIP home page Giter VIP logo

Comments (4)

ear9mrn avatar ear9mrn commented on September 20, 2024

Not sure if this is related. I cloned this repo and tried to run the generate_test_data.py and get the following:

Traceback (most recent call last): File "/home/pete/myPyllant/src/myPyllant/tests/generate_test_data.py", line 183, in <module> asyncio.run(main(args.user, args.password, args.brand, args.country)) File "/usr/lib/python3.11/asyncio/runners.py", line 190, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "/home/pete/myPyllant/src/myPyllant/tests/generate_test_data.py", line 135, in main "operationMode": device["data"][0]["operation_mode"], ~~~~~~^^^^^^^^ TypeError: 'NoneType' object is not subscriptable

Looks like we're not getting back any info for that request although the URL seems to be good.

https://api.vaillant-group.com/service-connected-control/end-user-app-api/v1/emf/v2/41b0569f-3c5e-4bc2-aaf8-6dc7b397a3b3/currentSystem {'system_type': 'UNKNOWN', 'has_emf_capable_devices': False, 'primary_heat_generator': None, 'secondary_heat_generators': [], 'electric_backup_heater': None, 'solar_station': None, 'ventilation': None} { "system_type": "UNKNOWN", "has_emf_capable_devices": false, "primary_heat_generator": null, "secondary_heat_generators": [], "electric_backup_heater": null, "solar_station": null, "ventilation": null }
Is there another/new URL for system info?

from mypyllant-component.

minosrex avatar minosrex commented on September 20, 2024

Same here. I saw the data has been unavailable for a while, but it is only with the autumn cold setting in that I started to check what the issue is with the integration. I see I get the following error as well:

Logger: homeassistant.components.binary_sensor
Source: custom_components/mypyllant_old/binary_sensor.py:32
Integration: Binary Sensor (documentation, issues)
First occurred: 15 October 2023 at 11:29:56 (1 occurrences)
Last logged: 15 October 2023 at 11:29:56

Error while setting up mypyllant platform for binary_sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 362, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/mypyllant_old/binary_sensor.py", line 32, in async_setup_entry
for index, system in enumerate(coordinator.data):
^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not iterable

I reinstalled the integration, it no longer shows any entities.

from mypyllant-component.

minosrex avatar minosrex commented on September 20, 2024

Update: I uninstalled everything, rebooted, installed v0.5.2, rebooted, and installed the component. This gave me 4 devices and 5 entities, but the Zone 1 device (normally containing the temp sensors and the climate entity) was empty (no entities). However, after a third and final server reboot the entities are now back!

from mypyllant-component.

signalkraft avatar signalkraft commented on September 20, 2024

@ear9mrn let me know if you still have this issue, but since it's on an old version I'm closing this.

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.