chomupashchuk / ariston-remotethermo-home-assistant-v2

Ariston NET remotethermo integration for Home Assistant based on API
MIT License
92 stars 22 forks source link

Ariston boiler ABS VLS EVO WIFI PW 100 #10

Closed DukeNuken closed 3 years ago

DukeNuken commented 3 years ago

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

chomupashchuk commented 3 years ago

HACS is not an official component and I did not look into how to include it and I have no such plans due to much of work. As for the unavailable state there is not much information. Do you see required data (both water heater and climate) on the site: https://www.ariston-net.remotethermo.com What kind of events do you get in the logs for the integration? You may also set 'store_config_files' to 'true' to gather detailed replies from the remote server.

For example I have encountered following cases in the past:

DukeNuken commented 3 years ago

Hi

1) When I log in to https://www.ariston-net.remotethermo.com i see my boiler in list ariston 2) I do not have a climate device at all. only boiler. 3) Is Home assistant and boiler should be in one network or it doesn't matter? 4) In HA logs I can see those errors: 2021-01-12 17:52:37 WARNING (Thread-12) [custom_components.ariston.ariston] <custom_components.ariston.ariston.AristonHandler object at 0x7f35f7c75bb0> _get_main Problem reading data: HTTPSConnectionPool(host='www.ariston-net.remotethermo.com', port=443): Read timed out. (read timeout=20.0) 2021-01-12 17:52:37 WARNING (Thread-12) [custom_components.ariston.ariston] Connection errors: 1 2021-01-12 17:52:37 WARNING (Thread-12) [custom_components.ariston.ariston] ariston action nok for _get_main: Request _get_main has failed with an exception 2021-01-12 17:53:06 WARNING (Thread-19) [custom_components.ariston.ariston] <custom_components.ariston.ariston.AristonHandler object at 0x7f35f7c75bb0> _get_main Problem reading data: HTTPSConnectionPool(host='www.ariston-net.remotethermo.com', port=443): Read timed out. (read timeout=20.0) 2021-01-12 17:53:06 WARNING (Thread-19) [custom_components.ariston.ariston] Connection errors: 2 2021-01-12 17:53:06 WARNING (Thread-19) [custom_components.ariston.ariston] ariston action nok for _get_main: Request _get_main has failed with an exception 2021-01-12 17:53:36 WARNING (Thread-24) [custom_components.ariston.ariston] <custom_components.ariston.ariston.AristonHandler object at 0x7f35f7c75bb0> _get_main Problem reading data: HTTPSConnectionPool(host='www.ariston-net.remotethermo.com', port=443): Read timed out. (read timeout=20.0) 2021-01-12 17:53:36 WARNING (Thread-24) [custom_components.ariston.ariston] Connection errors: 3 2021-01-12 17:53:36 WARNING (Thread-24) [custom_components.ariston.ariston] ariston action nok for _get_main: Request _get_main has failed with an exception 2021-01-12 17:54:06 WARNING (Thread-29) [custom_components.ariston.ariston] <custom_components.ariston.ariston.AristonHandler object at 0x7f35f7c75bb0> _get_main Problem reading data: HTTPSConnectionPool(host='www.ariston-net.remotethermo.com', port=443): Read timed out. (read timeout=20.0) 2021-01-12 17:54:06 WARNING (Thread-29) [custom_components.ariston.ariston] Connection errors: 4 2021-01-12 17:54:06 WARNING (Thread-29) [custom_components.ariston.ariston] ariston action nok for _get_main: Request _get_main has failed with an exception 2021-01-12 17:54:36 WARNING (Thread-34) [custom_components.ariston.ariston] <custom_components.ariston.ariston.AristonHandler object at 0x7f35f7c75bb0> _get_main Problem reading data: HTTPSConnectionPool(host='www.ariston-net.remotethermo.com', port=443): Read timed out. (read timeout=20.0) 2021-01-12 17:54:36 WARNING (Thread-34) [custom_components.ariston.ariston] Connection errors: 5 2021-01-12 17:54:36 WARNING (Thread-34) [custom_components.ariston.ariston] ariston action nok for _get_main: Request _get_main has failed with an exception

Duke

chomupashchuk commented 3 years ago

Does it mean you use "Aqua Ariston NET" application and not "Ariston NET"? If you only see boiler and not temperatures for climate and water heater then you probably should use following integration: https://github.com/chomupashchuk/ariston-aqua-remotethermo-home-assistant

Aqua Ariston is special as each boiler has unique requests and handling so you probably would have to test if any of supported models works.

The integrations do not depend on network as they basically simulate web browser or android application

DukeNuken commented 3 years ago

I have tried that. The same result( 2021-01-13 15:14:52 WARNING (Thread-12) [custom_components.aquaariston.aristonaqua] <custom_components.aquaariston.aristonaqua.AquaAristonHandler object at 0x7f279d326bb0> _get_main invalid reply code 500 2021-01-13 15:14:52 WARNING (Thread-12) [custom_components.aquaariston.aristonaqua] Connection errors: 1 2021-01-13 15:15:10 WARNING (Thread-25) [custom_components.aquaariston.aristonaqua] <custom_components.aquaariston.aristonaqua.AquaAristonHandler object at 0x7f279d326bb0> _get_main invalid reply code 500 2021-01-13 15:15:10 WARNING (Thread-25) [custom_components.aquaariston.aristonaqua] Connection errors: 2 2021-01-13 15:15:30 WARNING (Thread-42) [custom_components.aquaariston.aristonaqua] <custom_components.aquaariston.aristonaqua.AquaAristonHandler object at 0x7f279d326bb0> _get_main invalid reply code 500 2021-01-13 15:15:30 WARNING (Thread-42) [custom_components.aquaariston.aristonaqua] Connection errors: 3 2021-01-13 15:15:50 WARNING (Thread-53) [custom_components.aquaariston.aristonaqua] <custom_components.aquaariston.aristonaqua.AquaAristonHandler object at 0x7f279d326bb0> _get_main invalid reply code 500 2021-01-13 15:15:50 WARNING (Thread-53) [custom_components.aquaariston.aristonaqua] Connection errors: 4 2021-01-13 15:16:10 WARNING (Thread-57) [custom_components.aquaariston.aristonaqua] <custom_components.aquaariston.aristonaqua.AquaAristonHandler object at 0x7f279d326bb0> _get_main invalid reply code 500 2021-01-13 15:16:10 WARNING (Thread-57) [custom_components.aquaariston.aristonaqua] Connection errors: 5

chomupashchuk commented 3 years ago

Did you try 3 different types for Ariston Aqua? According to official site seems like it is Ariston Aqua application, which is not this specific integration.

As I have mentioned, each boiler has unique requests so if none of existing work then analyzer would have to be connected to fetch data (I used fiddler configured as proxy for android phone to analyze all requests).

DukeNuken commented 3 years ago

Sorry. I just remove the package. You do a great job but for now it looks unfinished/unstable for use.