Git Product home page Git Product logo

Comments (5)

Haxiboy avatar Haxiboy commented on September 23, 2024

Hello. I have the same issue. Everything is on the most recent version.

from ariston-remotethermo-home-assistant-v3.

kajarit avatar kajarit commented on September 23, 2024

Same issue here (Velis Evo 50)
The problem is within the API wrapper (python-ariston-api)

Testing in python:

import ariston
raw_devices = ariston.discover(...)
print(raw_devices[0]['gw'])
device = ariston.hello(...)
Unsupported whe type 1
NoneType: None

The problem is with this constant:
https://github.com/fustom/python-ariston-api/blob/c4c60859d5b958c1417dee9b720e6fe9eaf5c582/ariston/const.py#L210

Manually running the API wrapper from python and checking the discovery result it gives:

{... 'sys': 4, 'wheType': 1, 'wheModelType': 1, ...}

So after changing the above constant (from 6 to 1), it successfully returns the device object by calling ariston.hello()

from ariston-remotethermo-home-assistant-v3.

Cempaa avatar Cempaa commented on September 23, 2024

Hey kajarit,

Thanks for looking into it. So did it work for you after changing the constant to 1 in HA ? I do not see the same content as you pasted on the link. No change to get to see the constant list, I searched everywhere.

Cempaa

from ariston-remotethermo-home-assistant-v3.

kajarit avatar kajarit commented on September 23, 2024

Hi @Cempaa,

I've created a fork, and it's working perfectly on my local HA instance.
The link in my previous comment refers to the original fustom/python-ariston-api (main) branch, with the problematic enum value.

from ariston-remotethermo-home-assistant-v3.

Cempaa avatar Cempaa commented on September 23, 2024

Hello Kajarit,

Thanks for your prompt reply ! I reinstall the api and tried out an older version of the integration v0.10.1. I did not change anything and now all works all of a sudden. I am beginner with HA and have not attempted programming in Python yet. So I am not sure what worked in the end but I am happy that it works.

from ariston-remotethermo-home-assistant-v3.

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.