Git Product home page Git Product logo

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

Contributors

chomupashchuk avatar doctorvanmartin 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

Watchers

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

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

Missing error sensor

Hello,

I was trying your integration an seems to work pretty fine, but I saw a problem on the error management. Currently if I'm not wrong no "errors" sensor has been defined. Only error_count.

From my understanding the "error_count" doesn't identify the number of error, but someting other (maybe the number of pages). Below you can find an example of responde of "/Error/ActiveDataSource/" when an active error is present:

{"result":[{"Id":"0080E1BXXXXX_1607224668000_-8509677932000XXXXXX","Severity":2,"Timestamp":"12/6/2020 4:17:48 AM","Fault":"Overheat (101)","Device":"Boiler (0, FE, 1)","IsResettable":true,"IconCssClass":"error-icon","Acknowledged":false}],"count":0}

From the code I saw that the parsing of the error messages is already present in the library, but no sensor has been defined to use the data.

inode

API Package installation errror

Hi,

I tried to install the API package with the command "pip install aristonremotethermo" but I have a syntax error.
Annotazione 2020-07-25 151927
This is the error.

Thanks.
Simone

configuration is not valid

hello friend after many months of use without any problem for a few days integration does not work I have the following error:

Logger: homeassistant.components.websocket_api.http.connection
Source: components/hassio/init.py:693
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 11:16:42 (2 occurrences)
Last logged: 11:20:55

[547678460688] The system cannot restart because the configuration is not valid: Invalid config for [ariston]: value must be one of ['ch_antifreeze_temperature', 'ch_comfort_temperature', 'ch_detected_temperature', 'ch_economy_temperature', 'ch_electricity_last_month', 'ch_energy2_last_7_days', 'ch_energy2_last_month', 'ch_energy2_last_year', 'ch_energy2_this_month', 'ch_energy2_this_year', 'ch_energy2_today', 'ch_energy2_yesterday', 'ch_energy_last_7_days', 'ch_energy_last_month', 'ch_energy_last_year', 'ch_energy_this_month', 'ch_energy_this_year', 'ch_energy_today', 'ch_energy_yesterday', 'ch_fixed_temperature', 'ch_flow_temperature', 'ch_gas_last_month', 'ch_mode', 'ch_program', 'ch_set_temperature', 'ch_water_temperature', 'dhw_comfort_function', 'dhw_comfort_temperature', 'dhw_economy_temperature', 'dhw_electricity_last_month', 'dhw_energy2_last_7_days', 'dhw_energy2_last_month', 'dhw_energy2_last_year', 'dhw_energy2_this_month', 'dhw_energy2_this_year', 'dhw_energy2_today', 'dhw_energy2_yesterday', 'dhw_energy_last_7_days', 'dhw_energy_last_month', 'dhw_energy_last_year', 'dhw_energy_this_month', 'dhw_energy_this_year', 'dhw_energy_today', 'dhw_energy_yesterday', 'dhw_gas_last_month', 'dhw_mode', 'dhw_program', 'dhw_set_temperature', 'dhw_storage_temperature', 'dhw_thermal_cleanse_cycle', 'errors_count', 'integration_version', 'mode', 'outside_temperature', 'pressure', 'signal_strength', 'units'] @ data['ariston'][0]['sensors'][0]. Got None value must be one of ['ch_antifreeze_temperature', 'ch_comfort_temperature', 'ch_detected_temperature', 'ch_economy_temperature', 'ch_electricity_last_month', 'ch_energy2_last_7_days', 'ch_energy2_last_month', 'ch_energy2_last_year', 'ch_energy2_this_month', 'ch_energy2_this_year', 'ch_energy2_today', 'ch_energy2_yesterday', 'ch_energy_last_7_days', 'ch_energy_last_month', 'ch_energy_last_year', 'ch_energy_this_month', 'ch_energy_this_year', 'ch_energy_today', 'ch_energy_yesterday', 'ch_fixed_temperature', 'ch_flow_temperature', 'ch_gas_last_month', 'ch_mode', 'ch_program', 'ch_set_temperature', 'ch_water_temperature', 'dhw_comfort_function', 'dhw_comfort_temperature', 'dhw_economy_temperature', 'dhw_electricity_last_month', 'dhw_energy2_last_7_days', 'dhw_energy2_last_month', 'dhw_energy2_last_year', 'dhw_energy2_this_month', 'dhw_energy2_this_year', 'dhw_energy2_today', 'dhw_energy2_yesterday', 'dhw_energy_last_7_days', 'dhw_energy_last_month', 'dhw_energy_last_year', 'dhw_energy_this_month', 'dhw_energy_this_year', 'dhw_energy_today', 'dhw_energy_yesterday', 'dhw_gas_last_month', 'dhw_mode', 'dhw_program', 'dhw_set_temperature', 'dhw_storage_temperature', 'dhw_thermal_cleanse_cycle', 'errors_count', 'integration_version', 'mode', 'outside_temperature', 'pressure', 'signal_strength', 'units'] @ data['ariston'][0]['sensors'][10]. Got None. (See /config/configuration.yaml, line 13).
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 193, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1713, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1750, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/usr/src/homeassistant/homeassistant/components/hassio/init.py", line 693, in async_handle_core_service
raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: The system cannot restart because the configuration is not valid: Invalid config for [ariston]: value must be one of ['ch_antifreeze_temperature', 'ch_comfort_temperature', 'ch_detected_temperature', 'ch_economy_temperature', 'ch_electricity_last_month', 'ch_energy2_last_7_days', 'ch_energy2_last_month', 'ch_energy2_last_year', 'ch_energy2_this_month', 'ch_energy2_this_year', 'ch_energy2_today', 'ch_energy2_yesterday', 'ch_energy_last_7_days', 'ch_energy_last_month', 'ch_energy_last_year', 'ch_energy_this_month', 'ch_energy_this_year', 'ch_energy_today', 'ch_energy_yesterday', 'ch_fixed_temperature', 'ch_flow_temperature', 'ch_gas_last_month', 'ch_mode', 'ch_program', 'ch_set_temperature', 'ch_water_temperature', 'dhw_comfort_function', 'dhw_comfort_temperature', 'dhw_economy_temperature', 'dhw_electricity_last_month', 'dhw_energy2_last_7_days', 'dhw_energy2_last_month', 'dhw_energy2_last_year', 'dhw_energy2_this_month', 'dhw_energy2_this_year', 'dhw_energy2_today', 'dhw_energy2_yesterday', 'dhw_energy_last_7_days', 'dhw_energy_last_month', 'dhw_energy_last_year', 'dhw_energy_this_month', 'dhw_energy_this_year', 'dhw_energy_today', 'dhw_energy_yesterday', 'dhw_gas_last_month', 'dhw_mode', 'dhw_program', 'dhw_set_temperature', 'dhw_storage_temperature', 'dhw_thermal_cleanse_cycle', 'errors_count', 'integration_version', 'mode', 'outside_temperature', 'pressure', 'signal_strength', 'units'] @ data['ariston'][0]['sensors'][0]. Got None
value must be one of ['ch_antifreeze_temperature', 'ch_comfort_temperature', 'ch_detected_temperature', 'ch_economy_temperature', 'ch_electricity_last_month', 'ch_energy2_last_7_days', 'ch_energy2_last_month', 'ch_energy2_last_year', 'ch_energy2_this_month', 'ch_energy2_this_year', 'ch_energy2_today', 'ch_energy2_yesterday', 'ch_energy_last_7_days', 'ch_energy_last_month', 'ch_energy_last_year', 'ch_energy_this_month', 'ch_energy_this_year', 'ch_energy_today', 'ch_energy_yesterday', 'ch_fixed_temperature', 'ch_flow_temperature', 'ch_gas_last_month', 'ch_mode', 'ch_program', 'ch_set_temperature', 'ch_water_temperature', 'dhw_comfort_function', 'dhw_comfort_temperature', 'dhw_economy_temperature', 'dhw_electricity_last_month', 'dhw_energy2_last_7_days', 'dhw_energy2_last_month', 'dhw_energy2_last_year', 'dhw_energy2_this_month', 'dhw_energy2_this_year', 'dhw_energy2_today', 'dhw_energy2_yesterday', 'dhw_energy_last_7_days', 'dhw_energy_last_month', 'dhw_energy_last_year', 'dhw_energy_this_month', 'dhw_energy_this_year', 'dhw_energy_today', 'dhw_energy_yesterday', 'dhw_gas_last_month', 'dhw_mode', 'dhw_program', 'dhw_set_temperature', 'dhw_storage_temperature', 'dhw_thermal_cleanse_cycle', 'errors_count', 'integration_version', 'mode', 'outside_temperature', 'pressure', 'signal_strength', 'units'] @ data['ariston'][0]['sensors'][10]. Got None. (See /config/configuration.yaml, line 13).

thanks for help

CH Flame and DHW Flame are ON in the dame time

Hello!

I've observed that Both flames are ON in the same time and it's not possible at Ariston Alteas One Net.

I use the latest version of this component and the latest version of home assistant.

Can you check the code?

Thank you!

image

image

Genus Ones System 35 Pressure reading

Hi Im using your integration since a while in homeassistant and allways working well.
I was wondering if it is possible to have the water pressure reading that is it in the from panel of the boiler and also in the mobile app. (I couldnt find the pressure reading on https://www.ariston-net.remotethermo.com/ page)

Is not really an issue but a feature request, but i dont know how to ask you about that, sorry is not the proper place.

Here screen shot from mobile app with pressure reading I mention
image

Best, Facundo

ariston genus one - CH Flow Temperature

Hello,
I am using HA 6.6
core-2021.11.5
supervisor-2021.12.1
/config/custom_components/ariston/ariston.py _VERSION = "1.0.47"

i am trying to enable ch_water_temperature, trying to obtain the "CH Flow temperature":

ariston:
username: !secret ariston_user
password: !secret ariston_password
sensors:
- ch_water_temperature
- outside_temperature
- ch_detected_temperature
- ch_mode
- ch_set_temperature
- dhw_set_temperature
- dhw_storage_temperature
- errors_count
- mode
binary_sensors:
- changing_data
- online
selector:
- mode
- ch_mode

CH water temperature shows as unavailable in lovelace
image

and the log says:
Logger: custom_components.ariston.ariston
Source: custom_components/ariston/ariston.py:2240
Integration: Ariston (documentation, issues)
First occurred: 22:17:44 (1 occurrences)
Last logged: 22:17:44
<custom_components.ariston.ariston.AristonHandler object at 0xb0e1ac10> Unsupported sensors detected: {'ch_water_temperature'}, disable corresponding binary_sensors/sensors/switches in the configuration

====
even so the iPhone app shows the CH flow temperature on this appliance (see screenshot)
image

is it any way to have this fixed or have the water temp retrieved in HA ?
Thanks

ariston integration not found

Hi there

My ariston integration got broken.

I've reinstalled it properly but now i'm always getting "component error : Integration 'ariston' not found"
I've reinstalled many time and properly deleted and re-copied folder but nothing worked.

More strange is that i have it install and updated on another HA instance and it works flawlessly.

Any idea?
Thanks in advance

Set heater water temperature

Hello :)

I found your work amazing

I saw there is no sensor/option to read the water temperature for heater. There is with domestic hot water, but miss for the heater.

I own a Ariston ClassOneL30, connected with CubeSNet

I set the heater to ignore smart thermostat becouse I already have a thermostat for room, cabled on valves. Connecting as default the CubeSNet it would ignore thermostat and only use the smart one.

I don't know very much of home assistant so I'm not sure about which entity should be added, if there is a schema with "thermnostat" or something, or maybe we could create another "thermostat" entity that does manage the water temperature (we can see from Ariston web page the actual temperature, and the sat one)

I could prepare a PR if guided on which file may have some sample to see how it's working, i'm not very experted in python though...

Group entities by boiler into a device

I found your repository for integrating my boiler into Home Assistant and it's an interesting integration.
Nevertheless it should be great to group all entities related to one boiler into a device instead of having these entities lost among all others in Home Assistant.

Today energy usage stats

Hey,
First, thanks @chomupashchuk for your work :)

I want to use energy stats in energy gas dashboard but they are broken. This is example from last two days:
Zrzut ekranu 2022-08-29 o 23 40 17

Ignore little gap - network issue.

Stats are collected by ariston every two hours. I found that for every odd hour some number is added (looks random?) So at 1am 28 aug was 8.22kWh, 29 aug was 7.81kWh. Then every two hours stats are higher by this number.

Additionaly really often sensor value goes to zero.

Total energy is doubled on Energy Dashboard

I noticed an error with the total heating and DHW energy totals in the energy dashboard. Most of the time the values show up correctly but from time to time the total energy spikes up in the Energy Dashboard, almost doubling the total energy for the day, although the sensors do show the correct values.

In the screenshots below, the total for 24 hours and the total for today match the values from the RemoteThermo site, but the energy total shows a spike at 16:00 when the entire quantity for the day was doubled (around 50KW more added). I've also included the values graph for the 24 hours and total today sensors so you get a better idea.

This might be related to issue #25 but it's not exactly the same as the sensors don't pass through a zero value when this issue appears.

Screen Shot 2022-04-04 at 22 09 47

Screen Shot 2022-04-04 at 22 09 13

Screen Shot 2022-04-04 at 22 02 11

Screen Shot 2022-04-04 at 22 04 11

Screen Shot 2022-04-04 at 22 04 55

ch_set_temperature always reporting same value than ch_comfort_temperature

Hi:
I just noticed that ch_set_temperature it is always reporting ch_comfort_temperature value.
My boiler has a schedule programmed that sets confort temp early in the morning then at 9 goes to economy until sunset when again sets confort until midnight.
Integration is always reporting confort value (ch_comfort_temperature ) in ch_set_temperature.
Thanks for your support and congrats for your integration!
FYI my boiler is an Ariston Genus One System 35 with a Ariston Sensys Net Bridge/Thermostat.
Here below my config.yaml for integration

ariston:
username: xxxxxxxx
password: xxxxxxx
name: Caldera
logging: ERROR
polling: 1.2
switches:
- internet_time
sensors:
- account_ch_gas
- ch_detected_temperature
- ch_mode
- ch_comfort_temperature
- ch_economy_temperature
- ch_set_temperature
- ch_water_temperature
- errors_count
- heating_last_24h
- heating_last_30d
- mode
- outside_temperature
binary_sensors:
- ch_flame
- flame
- online

High cpu usage

Don't know if this is an issue, but since the last couple of changes/releases i notice that the cpu utilization is increased by approximately 10% per boiler. I am running homeassistant on Raspberry pi4 and i monitor 2 Genus One boilers.
So i did some tests to see what's happening.
Up until version 2.0.0 the total cpu utilization was around 6-7%. When version 2.0.2 was installed the total cpu utilization increased to 27%. Disabling the ariston yaml file makes the cpu utilization drop to 6-7%. Disabling one of the 2 boilers that are configured in ariston yaml file make the cpu run at 17%. If i remove some sensors, selectors, etc i can make the cpu run at 10%.
Is this normal or expected considering the latest modifications?

Zero energy use readings from time to time

Hello,
Sometimes I see integration returns zero spikes for energy use. It messes readings and utility meters that thinks it's meter reset:

Zrzut ekranu 2021-11-25 o 22 40 03

Don't know if it's a bug in error handling during usage data read or something else?

Best regards,
Kuba

Configure CH water temperature

Is it possible to set the temperature of the heating hot water?

On the ariston-net.remothermo website it appears in option 6.3.0.0 - Tset Z1

I am not able to find how to do it.

I am running on a CHAFFOTEAUX PIGMA GREEN boiler with the Ariston Sensys control unit, and works well your integration.

Thank you very much for this integration.

climate and water heater unavailable

Hi,

after upgrade to recent version of plugin and HA (core-2021.6.6) climate and water heater entities became unavailable.

In logs I see 500 errors.

Logger: custom_components.ariston.ariston
Source: custom_components/ariston/ariston.py:2714
Integration: Ariston (documentation, issues)
First occurred: 10:01:10 (32 occurrences)
Last logged: 13:01:10

ariston action nok for _get_param: Unexpected code 500 received for the request _get_param
ariston action nok for _get_gas: Unexpected code 500 received for the request _get_gas

Regards
./Michał

Cooling consumption missing

Dear,

would it be possibile to add the cooling consumption as sensors for the supported heat pumps?

Best regards
Matteo

Problems to set heating temperature to climate.ariston

Hi,

When i change the target temperature for heating on climate in Home Assisstant is not set on sensys. the other available functions are set correctly.
Do you have any idea what the problem could be?

Regards.
Simone

Not working anymore

Hello, today 15.04.2022 ariston did an update on web interface and I think something is related to that update. I hope everything will be back as was. Because this integration was just perfect!
I'll update this in few days. I hope it's just a thing from their side and nothing serious otherwise I don't know who will change the code to work again anyway I will keep you update.

Support multizone

With the 2.x relase (caused by changes in all Ariston services), multizone support was broken.

I could make some calls ang get some values in nodered.

For example, to get some data, POST to https://www.ariston-net.remotethermo.com/R2/PlantHome/GetData/<BOILER_ID> with this load

msg.payload = { "features": { .... }, "useCache": false, "zone": 1, "filter": { "notEssentials": false, "progId": null, "plant": true, "zone": true, "dhw": true } }

for zone 1.

I don't know if it is easy to make chages in your module to make it work again.

And thanks for your work!!

Ariston boiler ABS VLS EVO WIFI PW 100

Hello. I have tried your integration and see 2 problems.

  1. I cant install that to Home Assistant with HACS
  2. After I manually add those sources to custom_components folder and in configuration.yaml with my ariston account I don't see my boiler ABS VLS EVO WIFI PW 100. Only this

Screenshot_91

What I am doing wrong?

Duke

zone 1 not present

Hi, i am using this integration successfully, and thank you for the work done.
I can clearly see the water pressure and the status of the heat pump, but in no way can I set the temperature of zone 1.
No sensor and no set appear for this.

thanks
Daniele

error loading component in home assistant

Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/setup.py", line 213, in _async_setup_component
result = await task
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/homeassistant/.homeassistant/custom_components/ariston/init.py", line 213, in setup
api = AristonChecker(
File "/home/homeassistant/.homeassistant/custom_components/ariston/init.py", line 180, in init
list_of_sensors = list({*sensors, *binary_sensors, *switches})
TypeError: 'NoneType' object is not iterable

Power ON/OFF button

Hi,

First, Thank you for the great job with Ariston implementation in HA.
I have a request, can you add power - turn power off and on (on value is defined by power_on attribute) in this V2 ???

Thank you,
Cristi

dhw_energy_yesterday and ch_energy_yesterday is 0

Hi,

I'm trying to resolve the problem with my energy consumption statistics for my Ariston Genus One Boiler. Since the update, all the sensors regarding energy consumption (heating and hot water) indicate 0 (e.g. ch_energy_yesterday, ch_energy_today, dhw_energy_today etc).
It did work with the previous build.

Any idea why that is?

sensor.ariston_active_errors is displaying 0

Hi,

Just so happens that the heating water pressure dropped below 1 bar and I got IP4 error message on my Ariston Genus One display, but the sensor.ariston_active_errors, in HA, is displaying 0.
Any ideas?

Zone Set Temperature

Ciao everybody, thanks for the lovely integration,
it is working great on my Ariston Nimbus Compact S Net.

I was wondering if the reading [and setting] of the CH water temperature at the outlet for each zone can be added to the Integration:
My heatpump has 3 different zone, the aristonnet website is making this call to get the temperatures, here is an example to get zone 1
https://www.ariston-net.remotethermo.com/Menu/User/Refresh/ZZZZZZZ?paramIds=U6_3_0_0&umsys=si&rnd=XXXXX&_=YYYYYYYY

To update the value the website is making a POST with this payload:
[{"id":"U6_3_0_0","newValue":35,"oldValue":33}]

This would be extremely helpful for users that have heatpump based heating where you do not want to turn off the heatpump but finetune the temperature. Happy to share the CURL that are made if it can be helpful

Cheers

Genus One Hybrid Net

Hello, and thanks for your project!

I should buy the product in subject (a Genus One + Heat pump), do you know if is there support for this?

Anyway, I see that the "simple" Genus One has marked with "Works with HomeKit", so I'm wondering if it also works with HA HomeKit Controller?

Thx

Heat pump binary sensor not working

Hi,
first things: thanks for all your work!

Seems that the binary_sensor.ariston_heat_pump is not working, and shows up as "Not available".
Looking the code seems that the heat pump part is missing.

Thanks in advice,
BR
Fabio

ch_detected_temperature displayed 0

Hi.
After updating to version 2.0 I no longer see the temperature detected by the internal thermostat (ch_detected_temperature), it always displays 0, before this update it was always displayed correctly. I have a Genus One boiler. Some idea? Thank you.

_get_param errors

Hi, the integration produces these couple of errors about every 2 minutes.
Errors don't seem to be triggered by any specific sensor (they appear also with only one temp sensor exposed).

ariston action nok for _get_param: Unexpected code 500 received for the request _get_param
11:10:46 – Ariston (WARNING) - il messaggio si è verificato per la prima volta alle 11:05:43 e compare 3 volte
<custom_components.ariston.ariston.AristonHandler object at 0xb15af748> _get_param invalid reply code 500
11:10:46 – Ariston (WARNING) - il messaggio si è verificato per la prima volta alle 11:05:43 e compare 3 volte

Is maybe the integration trying to get something not exposed in remotethermo?
Is it a known bug or am i missing something?
Thanks.

HTTPSConnectionPool Error

Hi,

In the Home Assistant I've the following error:

2022-11-11 20:09:04.087 WARNING (Thread-119) [custom_components.ariston.ariston] Main read exception: HTTPSConnectionPool(host='www.ariston-net.remotethermo.com', port=443): Read timed out. (read timeout=25)

What could be re root cause?

thanks,
Maurizio

Ariston Genius One - 3 zone

Hi,
I have an Ariston Genius One gas stove, 3 additional zones Bathroom, bedroom and garage. Integrating this with HA, I only have the first visible zone, i.e. Zone 1 - Garage. By logging into the account on the aristona website, I can see all zones. Is it possible to read all zones into the HA? possibly tempretatura control on each separately?

Confort function Acm

possibility of activating / deactivating / timing the comfort function acm alteas one through a switch from home assistant

Ariston Alteas one error

Hello,

Today a gas regulator failed and the heater stoped working with no flame error.
At the same moment home assistant raised an error
2020-12-08 08:20:36 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.ariston_active_errors fails
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/helpers/entity.py", line 278, in async_update_ha_state
await self.async_device_update()
File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/helpers/entity.py", line 474, in async_device_update
raise exc
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/homeassistant/.homeassistant/custom_components/ariston/sensor.py", line 271, in update
self._attrs[valid_error] = ""
TypeError: unhashable type: 'dict'

HA errors 500 and 590

Hi, great work, but in HA logs i had tons of 500 and 590 (or 599, i don't remember) errors (warnings).
Is there a way to fix the problem?
It's not related with sensors, since i've tried with only one sensor in config.yaml and errors start appearing the same...
For the rest the integration seems to work well...
Thanks

Connection error

Today the integration is unavailable, on the register there is thie error:

Login exception: HTTPSConnectionPool(host='www.ariston-net.remotethermo.com', port=443): Max retries exceeded with url: /R2/Account/Login?returnUrl=%2FR2%2FHome (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fea85e6f310>: Failed to establish a new connection: [Errno -2] Name does not resolve'))

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

Ariston Alteas One Net 35

Hello!
I have a Ariston Alteas One Net 35 boiler and with the v1(previos version) integration I managed to monitor and control some of the parameters in the boiler. With this version I have some issues:

  • climate.aaon is unavailable
  • water_heater.aaon is unavailable

but:

  • sensor.aaon_account_ch_gas_use
  • binary_sensor.aaon_flame
    an a lot of the sensors and binary_sensors are available.

I am doing something wrong?

My config is:

username: !secret ariston_username
password: !secret ariston_password
name: 'AAON' #friendly name for integration, default is Ariston
hvac_off_present: 'true' #indicates if HVAC OFF shall be present in climate entity. Default value is false.
hvac_off: 'summer' #indicates how to treat HVAC OFF action in climate (use depends on hvac_off_present). Options are off and summer. By default it is summer, which means that turning off would keep DHW water heating on (e.g. summer mode). Presets in climate allow switching between off, summer and winter.
store_config_files: 'false' #true or false indicating if configuration json files to be stored in /config/custom_components/ariston folder. Can be used for troubleshooting purposes. Default value is false.
units: 'metric' #which uniots to be used. Values are: metric (°C-bar-kW...), imperial (°F-psi-kBtu/h...), auto (detect automatically, which takes additional time). Default is metric. Note that use of auto requires additional request to be used, which would result in slower update of other sensors.
polling: 1.0 #sets floating value of relative polling rate. Default is 1.0. Setting value to 2.0 for example would increase timeouts times and retries by 2 times. It is recommended to set this value to more than one (e.g. 1.2) in case timeouts take place very frequently.
switches:
- internet_time #turn off and on sync with internet time.
- internet_weather #turn off and on fetching of weather from internet.
- ch_auto_function #turn off and on Auto function.
- dhw_thermal_cleanse_function #DHW thermal cleanse function enabled.
sensors:
- account_ch_gas #- gas use summary for CH. Not supported on all models.
- account_ch_electricity #- electricity use summary for CH. Not supported on all models.
- account_dhw_gas #- gas use summary for DHW. Not supported on all models.
- account_dhw_electricity #- electricity use summary for DHW. Not supported on all models.
- ch_antifreeze_temperature #- CH antifreeze temperature.
- ch_detected_temperature #- temperature measured by thermostat.
- ch_mode #- mode of CH (manual or scheduled and others).
- ch_comfort_temperature #- CH comfort temperature.
- ch_economy_temperature #- CH economy temperature.
- ch_set_temperature #- set CH temperature.
- ch_program #- CH Time Program.
- cooling_last_24h #- energy use for pump cooling in a day.
- cooling_last_7d #- energy use for pump cooling in a week.
- cooling_last_30d #- energy use for pump cooling in a month.
- cooling_last_365d #- energy use for pump cooling in a year.
- dhw_program #- DHW Time Program.
- dhw_comfort_function #- DHW comfort function.
- dhw_mode #- mode of DHW. Not supported on all models.
- dhw_comfort_temperature #- DHW storage comfort temperature. Not supported on all models.
- dhw_economy_temperature #- DHW storage economy temperature. Not supported on all models.
- dhw_set_temperature #- set DHW temperature.
- dhw_storage_temperature #- DHW storage temperature. Not supported on all models.
- dhw_thermal_cleanse_cycle #- DHW thermal cleanse cycle.
- electricity_cost #- Electricity cost.
- errors_count #- active errors (no actual errors to test on).
- gas_type #- Gas type.
- gas_cost #- Gas cost.
- heating_last_24h #- energy use for heating in last 24 hours. Not supported on all models.
- heating_last_30d #- energy use for heating in last 7 days. Not supported on all models.
- heating_last_365d #- energy use for heating in last 30 days. Not supported on all models.
- heating_last_7d #- energy use for heating in last 365 days. Not supported on all models.
- mode #- mode of boiler (off or summer or winter and others).
- outside_temperature #- outside temperature. Not supported on all models.
- signal_strength #- Wifi signal strength.
- units #- Units of measurement
- water_last_24h #- energy use for water in last 24 hours. Not supported on all models.
- water_last_30d #- energy use for water in last 7 days. Not supported on all models.
- water_last_365d #- energy use for water in last 30 days. Not supported on all models.
- water_last_7d #- energy use for water in last 365 days. Not supported on all models.
binary_sensors:
- ch_auto_function #- CH AUTO function status.
- ch_flame #- CH heating ongoing.
- ch_pilot #- CH Pilot mode.
- dhw_flame #- DHW heating ongoing. This parameter is not reported by boilers and is approximated based on multiple parameters.
- dhw_thermal_cleanse_function #- DHW thermal cleanse function.
- flame #- CH and/or DHW heating ongoing.
- heat_pump #- Heating pump status.
- holiday_mode #- Holiday mode status.
- internet_time #- Internet time status.
- internet_weather #- Internet weather status.
- changing_data #- API is attempting to configure requested data. API specific sensor.
- online #- Online status. Indicates if API has communication with the heater. API specific sensor.
- update #- API update status. API specific sensor.

And my errors in the log file are:

Logger: custom_components.ariston.ariston
Source: custom_components/ariston/ariston.py:1778
Integration: Ariston (documentation)
First occurred: 11:14:42 AM (5 occurrences)
Last logged: 11:26:43 AM

<custom_components.ariston.ariston.AristonHandler object at 0xb142afd0> _get_param invalid reply code 500

Logger: homeassistant.helpers.entity
Source: custom_components/ariston/sensor.py:271
First occurred: 11:15:13 AM (347 occurrences)
Last logged: 11:26:45 AM

Update for sensor.aaon_active_errors fails
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 278, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 474, in async_device_update
raise exc
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/ariston/sensor.py", line 271, in update
self._attrs[valid_error] = ""
TypeError: unhashable type: 'dict'

In the mean time, i'll try to change the polling to 2 instead of 1.2.

Thank you for your work!

599 errors (solved)

I had some 599 erros in my multizone boiler.

It worked making this change in get_main (adding some parameters)

def _send_params_get_main(self):
        result = ['?zoneNum={0}&umsys=si&firstRoundTrip=true&twoPhaseRefresh=false']
        if self._zones > 1:
            for zone in range(self._ADD_ZONES_START, self._zones + 1):
                result.append(f'?zoneNum={zone}&umsys=si&firstRoundTrip=true&twoPhaseRefresh=false')
        return result

From date 11/07/2022 I have a connection problem with ariston remotethermo

Log show this messages and integration is down:

Logger: custom_components.ariston.ariston
Source: custom_components/ariston/ariston.py:3089
Integration: Ariston (documentation, issues)
First occurred: 22:28:57 (15 occurrences)
Last logged: 22:42:57

ariston action nok for _get_main: Login unexpected reply code

Logger: custom_components.ariston.ariston
Source: custom_components/ariston/ariston.py:3066
Integration: Ariston (documentation, issues)
First occurred: 22:28:57 (15 occurrences)
Last logged: 22:42:57

Connection errors: 11
Connection errors: 12
Connection errors: 13
Connection errors: 14
Connection errors: 15

Questo errore ha avuto origine da un'integrazione personalizzata.

Logger: custom_components.ariston.ariston
Source: custom_components/ariston/ariston.py:1571
Integration: Ariston (documentation, issues)
First occurred: 22:28:57 (15 occurrences)
Last logged: 22:42:57

<custom_components.ariston.ariston.AristonHandler object at 0xabaffcd0> Unexpected reply during login: 404

Configure CH water temperature

Hi!

Is it possible to set the temperature of the heating hot water?

On the ariston-net.remothermo website it appears in option 6.3.0.0 - Tset Z1

I am not able to find how to do it.

I am running on a CHAFFOTEAUX PIGMA GREEN boiler with the Ariston Sensys control unit, and works well your integration.

Thank you very much for this integration.
CH

Set temperature water for CH

Hi!

Is it possible to set the temperature of the heating hot water?

On the ariston-net.remothermo website it appears in option 6.3.0.0 - Tset Z1

I am not able to find how to do it.

I am running on a CHAFFOTEAUX PIGMA GREEN boiler with the Ariston Sensys control unit, and works well your integration.

Thank you very much for this integration.

Connection problem Chaffoteaux link

Hi all,
first of all thank you for the work done....
I'm trying to configure component in HA for my Chffoteaux Chaffolink heating.
It should be work since I'm able to connect and login into https://www.ariston-net.remotethermo.com/.
But I receivede the following problem:

ariston action nok for _get_main: Login parsing of URL failed
13:00:23 – (AVVISO) Ariston (integrazione personalizzata) - il messaggio si è verificato per la prima volta alle 12:57:53 e compare 6 volte
Connection errors: 2
13:00:23 – (AVVISO) Ariston (integrazione personalizzata) - il messaggio si è verificato per la prima volta alle 12:57:53 e compare 6 volte
<custom_components.ariston.ariston.AristonHandler object at 0x7f62b57ee0> Authentication login error
13:00:23 – (AVVISO) Ariston (integrazione personalizzata) - il messaggio si è verificato per la prima volta alle 12:57:53 e compare 6 volte

Have you some idea about ?
Thanks in advance

Energy values

I always update the newset version, but util jul 11 i havent data from any energy entitiy.
I try to remove the all ariston component and reinstall again, but not success.

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.