Git Product home page Git Product logo

ariston-remotethermo-home-assistant-v3's Introduction

CodeQL hacs_badge HACS Action Validate with hassfest

Ariston NET remotethermo integration for Home Assistant

This integration inspired by chomupashchuk fantastic work https://github.com/chomupashchuk/ariston-remotethermo-home-assistant-v2 But it does not use Ariston website. It uses Ariston API what I reversed engineered.

This integration Chomupashchuk's v2 integration
Uses real API Uses Ariston website
Faster set/get data Sometimes needs minutes to set/get data
Easy to setup with UI Not so easy to setup (only with configuration.yaml)
Integration & devices & entites Only entites
Proper asynchronous integration, clean code Hard to understand and maintain (ariston.py has more than 4000 lines)
Less sensors, switches, etc More sensors, switches, etc
New code, may contains lot of bugs Old, tested code

TODO

  • Localization. Avaliable in english, catalan, italian, russian and ukranian.
  • More sensors, switches, binary sersors, selectors, services.
  • Exception handling.
  • More logs.
  • Unit tests.
  • Fun.

Integration was tested on and works with:

  • Ariston Alteas One 24
  • Ariston Velis Evo
  • Ariston Velis Lux
  • Ariston Lydos Hybrid

Feel free to test something else and create new issue / pull request if something goes wrong.

Installation

Open your Home Assistant instance and open a repository inside the Home Assistant Community Store. or copy ariston folder to your configuration/custom_components path. Use the add integration UI to set up your device.

Kazam_screenshot_00003 Kazam_screenshot_00004 Kazam_screenshot_00010

Kazam_screenshot_00011

Kazam_screenshot_00012

Kazam_screenshot_00013 Kazam_screenshot_00009

Peace Love Freedom

ariston-remotethermo-home-assistant-v3's People

Contributors

dcro avatar domenicoblanco avatar dtalens avatar fabiopellegrin avatar fustom avatar fustostamas avatar gamba69 avatar hellcatmon avatar joao-opo avatar leeviewp avatar luisdiazugena avatar nemesis24 avatar otto-tamas avatar robertomontinaro80 avatar tizianocinelli avatar viper5000 avatar vlad36n avatar

Stargazers

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

Watchers

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

ariston-remotethermo-home-assistant-v3's Issues

Integration not visible in docker version of home assistant

I am running Home Assistant as a docker container on my Synology DS.
After copying the files in the folder "custom_components/ariston" and restarting the container the integration is not visible within Home Assistant. However, the log file contains the following lines:
2022-06-13 20:54:10 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration ariston which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant

I had the same issue with the v2 from chomupashchuk. Could you check why it doesn't recognize the integration? Thanks.

"climate" entity

Is it possible to have a "climate" entity for velis? If yes, how?

Temperature minimum settings is too high

Hi,

I have a Veliston EVO wifi water heater, and I would like to set the manual temperature to 40 degree of celsius. But this input box allows minimum 50 degree of celsius.

image

Could you please allow lower temperature here?

Thanks!

Sensors Gas consumption data not available

Hi, thank you for your excellent work. Everything is working properly except the sensors: of the gas consumption in smc, I am attaching the images with the model of the boiler.
Model:
Ariston PIGMA ADVANCE 25

IMG_20230116_173750
IMG_20230116_173803

Error 500 Ariston Genus one

Hi i have a little problem.

Unexpected error fetching ariston-Lengyelèk-coordinator data: 500
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 205, in _async_refresh
self.data = await self._async_update_data()
File "/config/custom_components/ariston/coordinator.py", line 41, in _async_update_data
await self.async_update_state()
File "/usr/local/lib/python3.10/site-packages/ariston/galevo_device.py", line 89, in async_update_state
self.data = await self.api.async_get_properties(
File "/usr/local/lib/python3.10/site-packages/ariston/ariston_api.py", line 486, in async_get_properties
properties = await self._async_post(
File "/usr/local/lib/python3.10/site-packages/ariston/ariston_api.py", line 713, in _async_post
return await self.__async_request("POST", path, None, body)
File "/usr/local/lib/python3.10/site-packages/ariston/ariston_api.py", line 702, in __async_request
raise Exception(response.status)
Exception: 500

Error while setting up ariston platform for

After every HA restart have 3 error in log.

Have Ariston CLAS X 24 FF NG

First error:
Logger: homeassistant.components.number
Source: custom_components/ariston/number.py:27
Integration: Number (documentation, issues)
First occurred: 05:37:53 (1 occurrences)
Last logged: 05:37:53

Error while setting up ariston platform for number
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 281, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/ariston/number.py", line 27, in async_setup_entry
if coordinator.device.are_device_features_available(
AttributeError: 'dict' object has no attribute 'device'

Second error:
Logger: homeassistant.components.select
Source: custom_components/ariston/select.py:31
Integration: Select (documentation, issues)
First occurred: 05:37:53 (1 occurrences)
Last logged: 05:37:53

Error while setting up ariston platform for select
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 281, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/ariston/select.py", line 31, in async_setup_entry
if coordinator.device.are_device_features_available(
AttributeError: 'dict' object has no attribute 'device'

Logger: homeassistant.components.sensor
Source: custom_components/ariston/sensor.py:34
Integration: Sensor (documentation, issues)
First occurred: 05:37:53 (1 occurrences)
Last logged: 05:37:53

Third error:
Error while setting up ariston platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 281, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/ariston/sensor.py", line 34, in async_setup_entry
if coordinator.device.are_device_features_available(
AttributeError: 'dict' object has no attribute 'device'

I'm using Home Assistant 2022.10.1 Supervisor 2022.09.1 Operating System 9.0 Frontend 20221006.0 - latest

Logger settings:

default: error
logs:
custom_components.ariston: debug

Periodically have 500 error:
Logger: custom_components.ariston.coordinator
Source: custom_components/ariston/ariston.py:628
Integration: Ariston (documentation, issues)
First occurred: 10:03:22 (1 occurrences)
Last logged: 10:03:22

Unexpected error fetching ariston-Ariston-coordinator data: 500
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 205, in _async_refresh
self.data = await self._async_update_data()
File "/config/custom_components/ariston/coordinator.py", line 42, in _async_update_data
await self.async_update_state()
File "/config/custom_components/ariston/galevo_device.py", line 28, in async_update_state
self.data = await self.api.async_get_properties(
File "/config/custom_components/ariston/ariston.py", line 470, in async_get_properties
return await self.post(
File "/config/custom_components/ariston/ariston.py", line 639, in post
return await self.__request("POST", path, None, body)
File "/config/custom_components/ariston/ariston.py", line 628, in __request
raise Exception(response.status)
Exception: 500

hacs

installed repo via hacs. but ui cant find ariston integration :(

Documentation for API reverse engineering

Hi,

I currently have a Ariston Nimbus heat-pump system installed on my house and I want to help you add support for it.

I'm an engineer myself but it help me a lot if you can create a small writeup how you did the reverse engineering process.

Thanks in advance.

Ariston Velis eco button not working correctly

Other functions see to work fine. Enabling eco via my Home Assistance doesn't seem to work. Maybe it has something to to do, with enabling eco and confirmation on original app. Maybe this version tries to enable eco, but does not confirm it?

not work

now, 01/03/2023 (dd/mm/yyyy) not work, there is an error.

Gas consumption for water for last two hours is incorrect

I am using this integration with an Ariston Genus One. Everything seems to be working fine except for the "gas consumption for water for last two hours" sensor. The data I get seems to off by orders of magnitude compared to what I read in the Ariston App. Pls fix when you get a chance. Thank you for your good work so far!

Adding gas consumption to HA Energy card

Thanks for the good work!
I just tried to add the gas consumption values to the Energy integration but got an error message. https://www.home-assistant.io/docs/energy/

When I want to add the values in Settings/Dashboards/Energy/Gas consumption, the meters do not show up in the list. It says, that the sensors are not set up correctly: https://www.home-assistant.io/more-info/statistics/
It points to this dev docs: https://developers.home-assistant.io/docs/core/entity/sensor/#long-term-statistics

It would be lovely to see Ariston gas on the energy dashboard.

Cannot set operation mode via HA script

Hi,
I'm switching from Chomupashchuk's v2 integration to yours (finnaly have some time to do it) and there seams to be an issue with setting up operation mode (setting temperature is working fine) please look at my script and error I receive btw. I have Ariston Velis Evo. I tried also all type of manual.

  1. Script for setting temp and operation mode to manual

service: water_heater.set_temperature
data:
temperature: "{{states('input_number.temp_wody_kapiel')}}"
operation_mode: MANUAL
target:
entity_id: water_heater.bojler

  1. Error:

Logger: homeassistant.components.script.grzej_wode_na_kapiel
Source: custom_components/ariston/water_heater.py:139
Integration: Skrypt (documentation, issues)
First occurred: 09:34:40 (1 occurrences)
Last logged: 09:34:40

Grzej wodę na kąpiel: Error executing script. Unexpected error for call_service at pos 2: 'manual'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 451, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 684, in _async_call_service_step
await service_task
File "/usr/src/homeassistant/homeassistant/core.py", line 1744, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1781, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 208, in handle_service
await service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 678, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 943, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 715, in _handle_entity_call
await result
File "/config/custom_components/ariston/water_heater.py", line 139, in async_set_operation_mode
await self.device.async_set_water_heater_operation_mode(operation_mode)
File "/usr/local/lib/python3.10/site-packages/ariston/evo_device.py", line 82, in async_set_water_heater_operation_mode
await self.api.async_set_evo_mode(self.gw, EvoPlantMode[operation_mode])
File "/usr/local/lib/python3.10/enum.py", line 440, in getitem
return cls.member_map[name]
KeyError: 'manual'

Ariston Genus One

Integrating with Genus One almost works (it's simple, and that's good too - after Ariston changing the login method today, everything works ), has a few problems:

  1. There is no outside temperature
  2. There is no current DHW temperature (DHW storeage probe temperature)
  3. When working TimeBase with a hamonogram, you cannot see any changes in the set temperature (its only the comfortable temperature - DHW comfort temperature and no change, no DHW economy temperature)
  4. There is no information about is ch_flame or dhw_flame
  5. There is no flow temperature
  6. Maybe it would be possible to read the current power (wish....)

If the things described could be extended, it would be very good, is it possible?

Project no longer maintained?

As title, this project appears to be no longer maintained. I have several issues using this with Ariston Genus One:

  • wrong gas stats and unit (kwh vs smc) #87
  • error 500 (who fault? component or ariston api?) #45

Not able to add integration

Hi,
I cannot add integration when trying to add it I receive error that not all field has been filled out:
image

I have Velis EVO Wi-fi and would like to test will it work with your integration :)

Fix consumptions sensors

Continue the previous issue #16

  • Lydos Hybrid
    /api/v2/remote/reports/{censored}/consSequencesApi8?usages=DhwHeatingPumpElec%2CDhwResistorElec
{"k":8,"p":1,"v":[0.4,0.344,0.0,0.0,0.0,0.0,0.386,0.23,0.0,0.0,0.152,0.4,0.263,0.0,0.0,0.0,0.0,0.0,0.372,0.4,0.033,0.0,0.0,0.213]},
{"k":8,"p":2,"v":[0.913,1.186,0.561,2.016,0.769,1.913,1.283]},
{"k":8,"p":3,"v":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,1.055,1.016,0.636,1.369,1.905,0.172,1.633,0.775,1.591,0.416,0.35,1.266,0.577,0.913,1.186,0.561,2.016,0.769,1.913,1.283]},
{"k":8,"p":4,"v":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0]},
{"k":9,"p":1,"v":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0]},
{"k":9,"p":2,"v":[0.5,0.0,0.0,0.0,0.0,0.0,0.0]},
{"k":9,"p":3,"v":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.1,1.377,0.28,0.0,0.0,0.0,0.0,0.0,0.0,0.5,0.0,0.0,0.0,0.0,0.0,0.0]},
{"k":9,"p":4,"v":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0]},
{"k":25,"p":4,"v":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0]},
{"k":25,"p":3,"v":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.263,1.127,1.516,1.055,1.016,0.636,1.369,2.005,1.549,1.913,0.775,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0]}
  • Velis Evo
    /api/v2/remote/reports/{censored}/consSequencesApi8?usages=Dhw
{"k":2,"p":1,"v":[3.0,0.175,0.175,0.0,0.2,0.625,1.85,0.525,0.175,0.65,0.925,1.475,0.875,3.0,0.275,0.0,0.975,0.375,2.025,0.9,1.425,0.6,0.375,2.025]},
{"k":2,"p":2,"v":[12.725,13.575,12.825,14.75,10.125,12.875,7.65]},
{"k":2,"p":3,"v":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,9.875,13.025,13.175,14.4,9.8,11.95,9.525,14.2,7.675,12.0,11.575,10.175,14.225,8.5,8.575,11.35,11.3,12.375,13.2,9.075,16.525,12.725,13.575,12.825,14.75,10.125,12.875,7.65]},
{"k":2,"p":4,"v":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0]}
  • Alteas One 24
    /api/v2/remote/reports/{censored}/consSequencesApi8?usages=Ch%2CDhw&hasSlp=False
{"k":1,"p":1,"v":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0]},
{"k":1,"p":2,"v":[0.0,0.0,0.0,0.0,0.0,0.0,0.0]},
{"k":1,"p":3,"v":[0.0,0.0,0.0,0.0,14.977,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0]},
{"k":1,"p":4,"v":[0.0,810.122,3210.052,3249.777,2125.061,1486.497,750.313,0.044,0.016,0.019,0.002,0.075]},
{"k":2,"p":1,"v":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0]},
{"k":2,"p":2,"v":[0.0,0.0,0.0,0.0,0.0,0.0,0.0]},
{"k":2,"p":3,"v":[0.0,0.0,0.0,0.0,3.761,0.0,0.005,0.0,0.0,0.0,0.002,0.0,0.0,0.0,0.0]},
{"k":2,"p":4,"v":[0.0,93.266,350.761,365.308,458.711,296.905,305.33,232.472,153.658,126.002,145.15,53.827]}
  • Genus One
    /api/v2/remote/reports/{censored}/consSequencesApi8?usages=Ch%2CDhw&hasSlp=False
{"k":7,"p":1,"v":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0]},
{"k":7,"p":2,"v":[0.0,0.03,0.0,0.655,0.0,0.0,0.0]},
{"k":7,"p":3,"v":[0.0,34.291,57.102,46.166,39.361,21.491,24.677,9.066,16.055,31.652,41.355,50.241,44.875,25.052,0.0,0.0,0.0,0.0,0.0,0.0,92.652,72.591,58.652,38.233,28.077,26.194,19.225,25.738,27.936,28.997,36.791,33.169,23.927,21.444,27.422,26.194,1.616,7.152,0.002,0.0,0.313,13.772,0.0,0.0,0.0,0.0,0.0,0.002,1.836,2.03,0.0,0.03,0.0,0.655,0.0,0.0,0.0]},
{"k":7,"p":4,"v":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,1271.805,1844.991,859.691]},
{"k":20,"p":1,"v":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0]},
{"k":20,"p":2,"v":[0.0,0.0,0.0,0.002,0.0,0.0,0.0]},
{"k":20,"p":3,"v":[0.0,0.783,0.972,0.733,0.533,0.45,0.547,0.2,0.377,0.716,0.847,0.788,0.786,0.583,0.0,0.0,0.0,0.0,0.0,0.0,0.847,0.938,0.783,0.577,0.636,0.594,0.43,0.572,0.622,0.588,0.558,0.569,0.519,0.5,0.605,0.547,0.008,0.172,0.0,0.0,0.0,0.319,0.0,0.0,0.0,0.0,0.0,0.0,0.008,0.011,0.0,0.0,0.0,0.002,0.0,0.0,0.0]},
{"k":20,"p":4,"v":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,23.155,27.513,14.911]},
{"k":10,"p":1,"v":[2.144,0.0,0.0,0.0,0.0,3.177,1.741,2.055,1.608,0.0,1.427,1.708,4.277,0.0,0.0,0.0,1.777,1.105,0.6,1.619,3.219,1.419,1.511,3.847]},
{"k":10,"p":2,"v":[17.033,10.536,13.086,14.916,13.602,13.272,15.997]},
{"k":10,"p":3,"v":[12.855,12.136,16.627,13.269,13.447,16.944,12.827,15.33,19.294,13.102,16.472,13.902,8.386,2.044,3.952,7.694,1.797,3.638,3.652,3.672,14.438,11.675,14.136,13.155,8.766,11.855,21.183,10.677,14.766,17.663,12.83,12.475,12.544,13.838,13.094,12.677,20.005,15.397,12.691,11.805,15.741,12.866,14.866,14.677,13.663,11.677,12.861,15.647,12.966,11.483,17.033,10.536,13.086,14.916,13.602,13.272,15.997]},
{"k":10,"p":4,"v":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,399.913,442.958,349.369]},
{"k":21,"p":1,"v":[0.013,0.0,0.0,0.0,0.0,0.019,0.011,0.011,0.011,0.0,0.011,0.011,0.022,0.0,0.0,0.0,0.013,0.005,0.005,0.008,0.022,0.008,0.008,0.025]},
{"k":21,"p":2,"v":[0.102,0.063,0.08,0.091,0.083,0.083,0.097]},
{"k":21,"p":3,"v":[0.08,0.072,0.102,0.083,0.086,0.102,0.077,0.094,0.113,0.083,0.1,0.083,0.047,0.011,0.027,0.047,0.011,0.025,0.025,0.022,0.086,0.069,0.08,0.077,0.052,0.072,0.122,0.069,0.091,0.108,0.083,0.077,0.077,0.086,0.083,0.08,0.119,0.094,0.08,0.075,0.094,0.083,0.091,0.091,0.08,0.075,0.08,0.097,0.08,0.072,0.102,0.063,0.08,0.091,0.083,0.083,0.097]},
{"k":21,"p":4,"v":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,2.458,2.722,2.127]},
{"k":1,"p":1,"v":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0]},
{"k":1,"p":2,"v":[0.0,0.03,0.0,0.657,0.0,0.0,0.0]},
{"k":1,"p":3,"v":[0.0,35.074,58.074,46.899,39.894,21.941,25.224,9.266,16.432,32.368,42.202,51.029,45.661,25.635,0.0,0.0,0.0,0.0,0.0,0.0,93.499,73.529,59.435,38.810,28.713,26.788,19.655,26.310,28.558,29.585,37.349,33.738,24.446,21.944,28.027,26.741,1.624,7.324,0.002,0.0,0.313,14.091,0.0,0.0,0.0,0.0,0.0,0.002,1.844,2.041,0.0,0.03,0.0,0.657,0.0,0.0,0.0]},
{"k":1,"p":4,"v":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,1294.960,1872.504,874.602]},
{"k":2,"p":1,"v":[2.157,0.0,0.0,0.0,0.0,3.196,1.752,2.066,1.619,0.0,1.438,1.719,4.299,0.0,0.0,0.0,1.790,1.110,0.605,1.627,3.241,1.427,1.519,3.872]},
{"k":2,"p":2,"v":[17.135,10.599,13.166,15.007,13.685,13.355,16.094]},
{"k":2,"p":3,"v":[12.935,12.208,16.729,13.352,13.533,17.046,12.904,15.424,19.407,13.185,16.572,13.985,8.433,2.055,3.979,7.741,1.808,3.663,3.677,3.694,14.524,11.744,14.216,13.232,8.818,11.927,21.305,10.746,14.857,17.771,12.913,12.552,12.621,13.924,13.177,12.757,20.124,15.491,12.771,11.880,15.835,12.949,14.957,14.768,13.743,11.752,12.941,15.744,13.046,11.555,17.135,10.599,13.166,15.007,13.685,13.355,16.094]},
{"k":2,"p":4,"v":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,402.371,445.680,351.496]}
Ariston Genus One Ariston Alteas One 24 Velis EVO Lydos Hybrid
p:1 24 12 24 24
p:2 7 7 7 7
p:3 57 15 38 59
p:4 16 12 13 21
@unique
class ConsumptionType(IntFlag):
    """Consumption type"""

    CENTRAL_HEATING_TOTAL_ENERGY = 1
    DOMESTIC_HOT_WATER_TOTAL_ENERGY = 2
    CENTRAL_HEATING_GAS = 7
    DOMESTIC_HOT_WATER_HEATING_PUMP_ELECTRICITY = 8
    DOMESTIC_HOT_WATER_RESISTOR_ELECTRICITY = 9
    DOMESTIC_HOT_WATER_GAS = 10
    CENTRAL_HEATING_ELECTRICITY = 20
    DOMESTIC_HOT_WATER_ELECTRICITY = 21

@unique
class ConsumptionTimeInterval(IntFlag):
    """Consumption time interval"""

    LAST_DAY = 1
    LAST_WEEK = 2
    LAST_MONTH = 3
    LAST_YEAR = 4

Your device (5) is currently not supported. Contact with the developer

Hi. I tried to set-up the integration with my Elco Thision heating system which uses Ariston. After entering username and password i get the message "Success. Configuration for Rico Thision done" (translated from German original message). The integration shows subsequently the following error message. Any ideas? Kind regards

Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht

Logger: custom_components.ariston
Source: custom_components/ariston/init.py:87
Integration: Ariston (documentation, issues)
First occurred: 22:12:42 (4 occurrences)
Last logged: 22:25:22

Your device (5) is currently not supported. Contact with the developer

Bild 08 09 22 um 22 33

Issue accessing some data

Hi,
From some time I have issue with this integration and Velis Wi-Fi error in HA below:

Logger: custom_components.ariston.coordinator
Source: custom_components/ariston/ariston.py:600
Integration: Ariston (documentation, issues)
First occurred: 10:38:15 (6 occurrences)
Last logged: 10:42:59

Unexpected error fetching ariston-Bojler-energy_coordinator data: 599
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 187, in _async_refresh
    self.data = await self._async_update_data()
  File "/config/custom_components/ariston/coordinator.py", line 65, in _async_update_data
    await self.device.async_update_energy()
  File "/config/custom_components/ariston/device.py", line 76, in async_update_energy
    self.energy_account = await self.api.async_get_energy_account(
  File "/config/custom_components/ariston/ariston.py", line 402, in async_get_energy_account
    return await self.get(
  File "/config/custom_components/ariston/ariston.py", line 615, in get
    return await self.__request("GET", path, params, None)
  File "/config/custom_components/ariston/ariston.py", line 600, in __request
    raise Exception(response.status)
Exception: 599

On https://github.com/chomupashchuk all is working fine and boiler is connected to internet.
Version:
v0.7.0b1

Issue setting up Ariston Net Gw

Hey,

Just got my Ariston Net GW module and tried to access the boiler stats and controlls using your integration .
I have no items showing up (no entities no nothing) and got these errors :

Error adding entities for domain climate with platform ariston
Error while setting up ariston platform for climate
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 457, in _async_add_entity
device_info = entity.device_info
File "/config/custom_components/ariston/entity.py", line 42, in device_info
sw_version=self.coordinator.device.attributes[DeviceAttribute.GW_FW_VER],
KeyError: 'gwFwVer'

My Boiler is a Genus One System Net , with no instant watter exchanger (it is used to heat watter in an external tank), dunno if it helps/makes a difference. It has the same net gw module as your Alteas (that is if you do not have the Ariston Cube Net smart Thermostat)

Ariston Genus One

Hi, you integration is promising! My heater has option to set 2 temps - daily and night which can be different and programmed separately. Any chance to add this? Ariston Genus One. Let me know so we can hook up on whatsup (login/pass).

Not work for Ariston lydos_hybrid

I, unfortunately this integration not work with Ariston lydos Hybrid model.

Error setting up entry lydos_hybrid for ariston Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 353, in async_setup result = await component.async_setup_entry(hass, self) File "/config/custom_components/ariston/__init__.py", line 109, in async_setup_entry await device.async_get_features() File "/config/custom_components/ariston/velis_device.py", line 32, in async_get_features await self.async_update_settings() File "/config/custom_components/ariston/velis_device.py", line 36, in async_update_settings self.plant_settings = await self.api.async_get_med_plant_settings( File "/config/custom_components/ariston/ariston.py", line 479, in async_get_med_plant_settings return await self.get( File "/config/custom_components/ariston/ariston.py", line 616, in get return await self.__request("GET", path, params, None) File "/config/custom_components/ariston/ariston.py", line 601, in __request raise Exception(response.status)

is_metric will be deprecated

Logger: homeassistant.helpers.frame
Source: helpers/frame.py:77

Detected integration that accesses the is_metric property of the unit system. This is deprecated and will stop working in Home Assistant 2023.1. Please adjust to use instance check instead.. Please report issue to the custom integration author for ariston using this method at custom_components/ariston/init.py, line 102: hass.config.units.is_metric,

Error on Integration of Ariston Velis Wi-Fi

Hey there, first of all many thanks for this integration. It looks like that you put a lot of efforts in it to make it work. I recently installed it and it returned this error when adding integration:

Logger: ariston
Source: /usr/local/lib/python3.10/site-packages/ariston/init.py:114
First occurred: 11:23:06 (2 occurrences)
Last logged: 11:24:03
Unsupported whe type 1

NoneType: None

I am running following HA version:

Home Assistant 2023.1.1
Supervisor 2022.12.1
Operating System 9.4
Frontend 20230104.0 - latest

I wonder if you could support or advice here. Many thanks in advance.

Cempaa

Ariston is the same as ATAG

thanks for this excellent plugin.
Works like charm.
I noticed that my ATAG I32ECZ is communicating with the same website of ariston. So if I login to ariston website with my credentials it works.
I tested this plugin and I can tell you that everything works fine!

PS. With ATAG we have 2 models the "One" and the "Zone One". I have the "Zone One"

Great Job!!

[feature_request] Additional options for Ariston Velis

Hi, if it's possible add options for Velis version:

  • set number of "showers" (if I understand correctly it's number of people who use boiler)
  • enable "program_mode" - when boiler activated by day/time
  • enable "boost" option

thank you =)

Platform ariston does not generate unique IDs.

Logger: homeassistant.components.sensor
Source: helpers/entity_platform.py:520
Integration: Sensor (documentation, issues)
First occurred: 15:56:40 (3 occurrences)
Last logged: 15:56:40

Platform ariston does not generate unique IDs. ID [censored]-Ariston average showers already exists - ignoring sensor.ariston_average_showers
Platform ariston does not generate unique IDs. ID [censored]-Ariston electric consumption for water last two hours already exists - ignoring sensor.ariston_electric_consumption_for_water_last_two_hours
Platform ariston does not generate unique IDs. ID [censored]-Ariston remaining time already exists - ignoring sensor.ariston_remaining_time

Ariston Nuos Split

Hello,
I wanted to understand if there was a way to configure with this model, loading it reads the name on the site (as I called the system) but on the integration page I get this error:

image

when I look on the log page I find this:

2022-11-16 14:47:01.557 ERROR (MainThread) [custom_components.ariston] Your device (4) is currently not supported. Contact with the developer. Your fallback device is Velis Evo maybe working
2022-11-16 14:47:03.890 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Casa for ariston

Thanks

Also working with ATAG One Zone

Hi,

I don't know how to get this info to you without submitting a issue.

I just wanted to let you know that this integration is also working with "Atag Zone One" thermostats.
The "Atag One" has a dedicated ha integration but not the "Atag One Zone"
I just learned that Atag is the same as Chaffoteaux and also Ariston.
So it should also work with Chaffoteaux products

It registers as GALEVO

Thanks for the great work!

Error set temperature on Velis

Hello,
When I try to set temp on boiler I receive the following error:

2023-01-26 13:35:58.379 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140294992927408] 500
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 200, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1755, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1792, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 213, in handle_service
await service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 678, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 958, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 715, in _handle_entity_call
await result
File "/usr/src/homeassistant/homeassistant/components/water_heater/init.py", line 370, in async_service_temperature_set
await entity.async_set_temperature(**kwargs)
File "/config/custom_components/ariston/water_heater.py", line 134, in async_set_temperature
await self.device.async_set_water_heater_temperature(temperature)
File "/usr/local/lib/python3.10/site-packages/ariston/nuos_split_device.py", line 139, in async_set_water_heater_temperature
await self._async_set_water_heater_temperature(temperature, reduced)
File "/usr/local/lib/python3.10/site-packages/ariston/nuos_split_device.py", line 128, in _async_set_water_heater_temperature
await self.api.async_set_nuos_temperature(self.gw, temperature, reduced)
File "/usr/local/lib/python3.10/site-packages/ariston/ariston_api.py", line 598, in async_set_nuos_temperature
await self._async_post(
File "/usr/local/lib/python3.10/site-packages/ariston/ariston_api.py", line 713, in _async_post
return await self.__async_request("POST", path, None, body)
File "/usr/local/lib/python3.10/site-packages/ariston/ariston_api.py", line 702, in __async_request
raise Exception(response.status)
Exception: 500

Your device (4) is currently not supported. Contact with the developer. Your fallback device is Velis Evo maybe working

Thanks for creating this integration. I own a Ariston Nuos Split Flex 270 FS heatpump boiler which works with the Ariston NET app and can also be accessed via ariston-net.remotethermo.com

I tried adding it to my HASS instance using your integration but it fails during initialization with the following error (which was to be expected since it's not listed as a compatible device (yet)):
Your device (4) is currently not supported. Contact with the developer. Your fallback device is Velis Evo maybe working

How can I select and try to use the fallback device?

Please let me know which details you need to [possibly incorporate this specific model into your integration. Happy to help!

Thanks!

Installed in HA 2022-7-3

Thank you very much for such wonderful integration. I connected with Ariston ELCO heater and it is working wonderfully.
The only point is that I get in the log the below warning message and I hope it will not create issues next October month (I believe it will be the 10th release during this year - 2022-10).
Thank in advance.

[homeassistant.components.number] custom_components.ariston.number::AristonNumber is overriding deprecated methods on an instance of NumberEntity, this is not valid and will be unsupported from Home Assistant 2022.10. Please report it to the custom component author.

Detected integration that called async_setup_platforms instead of awaiting async_forward_entry_setups; this will fail in version 2023.3

Hi, I'm running the latest version for this integration 0.12.1, but in the last days I started to get some issues during the home assistant startup (freezing for several seconds during the ARISTON addon is starting).

Investigating the log, I got the below message. Is there a problem that is gong to be addressed?
Thank you in advance.

WARNING (MainThread) [homeassistant.helpers.frame] Detected integration that called async_setup_platforms instead of awaiting async_forward_entry_setups; this will fail in version 2023.3. Please report issue to the custom integration author for ariston using this method at custom_components/ariston/init.py, line 115: hass.config_entries.async_setup_platforms(entry, PLATFORMS)

Ariston Alteas One 24 i short-cycling

I'm new to github, so maybe this is the wrong place? If it is the wrong place, please advice me where to write comments etc.

Thank you for the very good application - I have it working fine on my new RaspberryPi 4 home-assistant system.

I had a feeling, that my boiler is short-cycling and your application, with the flame on registration have told me, that my boiler starts and stops every 3 to 5 min. I have a water dropping chimney so I have to call the service engineer and I will ask him about this issue.

The PCB was changes two weeks ago and I had a big discussion with the service engineer about using the auto function.
I was told, that it uses more gaz when it is on auto and it is better to just put it on a fixed 55 degree.
With your application I will try to prove, that his is wrong.

[Feature request] Use gauge indtead of numeric box

Hi,

If it is possible the gauge you are using for the heater would be better interface to change the water temprature of a water heater.
So instead of this:
Screenshot_20221219-165020

I would prefer this, after I click on the temprerature on the main screen:
Screenshot_20221219-165003

From 40 celsius to 80 celsius.

Thanks.

Crash if started when network is down

If Home Assistant starts when the internet is not available, the integration throws an exception and dies. It is not even possible to reload it when the internet connection is available again, the only way is to restart the whole home assistant.

Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 1154, in _create_direct_connection
hosts = await asyncio.shield(host_resolved)
File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 880, in _resolve_host
addrs = await self._resolver.resolve(host, port, family=self._family)
File "/usr/local/lib/python3.9/site-packages/aiohttp/resolver.py", line 33, in resolve
infos = await self._loop.getaddrinfo(
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 856, in getaddrinfo
return await self.run_in_executor(
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.9/socket.py", line 954, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Try again

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

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 335, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/ariston/init.py", line 69, in async_setup_entry
reponse = await api.async_connect()
File "/config/custom_components/ariston/ariston.py", line 250, in async_connect
response = await self.post(
File "/config/custom_components/ariston/ariston.py", line 440, in post
return await self.__request("POST", path, None, body)
File "/config/custom_components/ariston/ariston.py", line 414, in __request
response = await session.request(
File "/usr/local/lib/python3.9/site-packages/aiohttp/client.py", line 535, in _request
conn = await self._connector.connect(
File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 542, in connect
proto = await self._create_connection(req, traces, timeout)
File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 907, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 1166, in _create_direct_connection
raise ClientConnectorError(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host www.ariston-net.remotethermo.com:443 ssl:default [Try again]

Lydos Hybrid

I have a Lydos Hybrid but it recognizes it as Velis

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.