Git Product home page Git Product logo

ariston-remotethermo-api's People

Contributors

chomupashchuk avatar smarthomepch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ariston-remotethermo-api's Issues

API no response

Hi,
first of all thanks for this project. I don't use HA but openHab, but wanted to check if I can integrate it somehow.
Started with checking if AristonThermal at least answers to API, so I run below script.

from aristonremotethermo.ariston import AristonHandler

ApiInstance = AristonHandler(
            username='[email protected]',
            password='mypassword'
        )

ApiInstance.start()
print(ApiInstance.version)
print(ApiInstance.available)
ApiInstance.stop()

Unfortunately answer is always False.

smarthomepcj@raspberry:~/ariston $ python3 ariston.py
1.0.28
False

Do you have any idea what could be the reason?
User and password are absolutely correct as I can login via webpage without any problems.

TIA

"TypeError: 'staticmethod' object is not callable" with python 3.9.2

Hello,

Thank you for your great API.

However, I encountered an error when I run it with python 3.9.2

Traceback (most recent call last):
File "/mnt/md1/svn/ariston/trunk/test_ariston_net.py", line 8, in
from aristonremotethermo.ariston import AristonHandler
File "/home/xxx/.local/lib/python3.9/site-packages/aristonremotethermo/init.py", line 1, in
from . import ariston
File "/home/xxx/.local/lib/python3.9/site-packages/aristonremotethermo/ariston.py", line 12, in
class AristonHandler:
File "/home/xxx/.local/lib/python3.9/site-packages/aristonremotethermo/ariston.py", line 402, in AristonHandler
append_param(sensor, _MAP_ARISTON_MULTIZONE_PARAMS, _SENSOR_SET_LIST)
TypeError: 'staticmethod' object is not callable

On two other machines, I can use the API without any problem, with python 3.10.9

Thank you very much.

Unable to login

Thanks for the wonderful work, I have used the library until yesterday, but starting from today morning it seem that it doesn't work anymore. I suspect they have made some changes to the API, because at least in the WebUI there are more menus.

Not sure if it's working, need some help

Hi, First of all, thanks for spending time on this.

I want to create my own control panel to display data from ariston-net.remotethermo.com. And I'm trying to gather this data using your API. But I'm having problems with basics. For example, getting the outside temp or water temperature. Maybe I'm not initializing the API session properly, or maybe amb not doing the request in a proper way.

Something basic:

from aristonremotethermo.ariston import AristonHandler

ApiInstance = AristonHandler(
    username='**********************',
    password='**********************',
    logging_level="DEBUG",
)

def get_temp(ApiInstance):

    ApiInstance.start()
    status = data = ApiInstance.available
    data = ApiInstance.sensor_values

    print(status)
    print(data["ch_water_temperature"])
    print(data["outside_temperature"])

    ApiInstance.stop()
    
get_temp(ApiInstance)

The response:

2021-11-06 18:30:33,839 - aristonremotethermo.ariston - INFO - API initiated
2021-11-06 18:30:33,839 - aristonremotethermo.ariston - INFO - Connection started
False
{'value': None, 'units': '°C'}
{'value': None, 'units': '°C'}
2021-11-06 18:30:33,839 - aristonremotethermo.ariston - INFO - Connection stopped

What I'm missing? Both sensors are available, I can see this data in www.ariston-net.remotethermo.com...

Can you please provide a simple example on "how-to" make a simple data request with your API?

Thanks!
Adrian

required_temperature oscillating without actually setting it

Hi,

I have a strange issue using the library with a Velis boiler.

When I use ApiInstanceAqua.sensor_values I get the correct value:
'required_temperature': {'value': 52.0, 'units': '°C'}

But after some time I get another reading:
'required_temperature': {'value': 50.0, 'units': '°C'}

This is no random number, but it's a previous setting obtained running:
ApiInstanceAqua.set_http_data(required_temperature='50')
But setting the value to 52 afterwards.

If the ApiInstanceAqua is stopped and restarted, it reads 52.0
After some time, it reads 50.0 again ...

How is this possible?

Thank you and all the best
CB

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.