Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login domain request #41

Open
TheRealRWJ opened this issue Dec 18, 2022 · 17 comments
Open

Login domain request #41

TheRealRWJ opened this issue Dec 18, 2022 · 17 comments
Labels
enhancement New feature or request feature request Request a new ista EcoTrend feature wait in examination

Comments

@TheRealRWJ
Copy link

TheRealRWJ commented Dec 18, 2022

info

Many thanks for this ecotrend_ista integration. Unfortunately i am unable to use it
Ista is available in different countries.

Error

When I use my credentials of mijn.ista.nl, (the dutch website) The Home assistant throws a login error and refers me to https://ecotrend.ista.de/error , assuming the script tries to login on the https://ecotrend.ista.de server.

Question

Is it an option to change the code so the script tries to login on https://mijn.ista.nl
I am happy to troubleshoot is it doesn't work

OR Request

Can you please add the option to enter a domain to login on another (dutch) ista web server.

@Ludy87
Copy link
Owner

Ludy87 commented Dec 18, 2022

The data structure is different on the site, so I'll have to see how best to implement this. Either integrate it into the main integration or I create a complete extra integration.

@Ludy87 Ludy87 added the feature request Request a new ista EcoTrend feature label Dec 18, 2022
@TheRealRWJ
Copy link
Author

TheRealRWJ commented Dec 19, 2022

Thanks Ludy for your swift reply

Let me know if you need someone to test or troubleshoot

Greetings Richard

@Ludy87 Ludy87 added the wait in examination label Dec 19, 2022
@Ludy87
Copy link
Owner

Ludy87 commented Dec 19, 2022

@TheRealRWJ is there an Android app for the Netherlands?

@TheRealRWJ
Copy link
Author

TheRealRWJ commented Dec 19, 2022

Yes there is, and you can find it here:
https://play.google.com/store/apps/details?id=com.companyname.ista.nl.app&hl=en&gl=US&pli=1

OR do you want me to do something else with it?

@Ludy87
Copy link
Owner

Ludy87 commented Dec 19, 2022

Thanks, the login routine is different from the master one, so I need to find a way and android applications are good for finding a way.

Maybe I can find a way to integrate the Netherlands.

@TheRealRWJ
Copy link
Author

I don't use the android app, but I gathered some details from the webpage though.
I hope this helps

I can only test heating, because I did not find a water meter, unless it is build in somewhere in the walls which seems unlikely.

The https://mijn.ista.nl/Home page shows the sum of usage of all radiators and a building average usage (which I would like to use)

The https://mijn.ista.nl/Home/Graph page shows a graph of the usage per radiator

At last the https://mijn.ista.nl/Home/Data page shows info below for every radiator.

Bedroom 422xxxx87 781 units

Radiatornumber	1	
Order	1	
End value	1.050	
Begin value	0	
Difference	1.050	
Conversionfactor	0.875	
Multiply	1	
Consumption	919 units	
Reduction %	15	
Begin date	01-01-2022	
End date	13-12-2022	

Units appears to be the interger a rounding of consumption / reduction

End value and begin value seem to be the beginning of the year and current value
End value / conversionfactor seems to be consumption rouded

I have no clue why what the difference is of End value and difference

I started living in this apartment in december 2021, so it the ista devices were not new
Maybe I will know on january first 2023

Questions:
Does your python script do some calculation of usage per day?
I really like to compare it with the outside temperature.

Does your script read the building average? I would like to be able to compare my neighbours with others
I will be storing the data in Influxdb to create long term Grafana Graphs

Thanks in advance

@Ludy87
Copy link
Owner

Ludy87 commented Dec 20, 2022

Thank you for your data, I have more questions about that later.

The integration can only work with the data that is partially provided by ista.

When I look at your data status, it will not be up to date.

These are the values ​​that can be read out if they are available.

Room
Meter number
Consumption
Radiatornumber
Order
End value
Begin value
Difference
Conversionfactor
Multiply
Consumption
Reduction %
Loss
Begin date
End date
Billing period:
Compare:
Service:
Billing period:
Measurement period:
Compare to billing period:
Compare to measurement period:
Dwelling:
Total

@TheRealRWJ
Copy link
Author

Happy holidays

@Ludy87 Ludy87 added the enhancement New feature or request label Dec 29, 2022
@mikastrup
Copy link

mikastrup commented Jan 6, 2023

Same error here but for the danish version.

I can login on the ista Ecotrend APP from my Android, but don't know if it is only the danish webserver working on the app.

maybe possible worldwide (worth a shot)
https://play.google.com/store/apps/details?id=dk.ista.IstaUi

@Ludy87
Copy link
Owner

Ludy87 commented Jan 6, 2023

@mikastrup is there a website with dashboard?

@TheRealRWJ
Copy link
Author

Hi Ludy,
Happy new year.

Yes, there is a dashboard.
The url is https://mijn.ista.nl/Identity/Account/Login

What else would you like to know?

@ggonmar
Copy link

ggonmar commented Jan 31, 2023

+1 on this request, extending it from out of the Netherlands:
Ista is extremely popular in Spain, but this integration doesn't seem to work with our platform -> https://www.ista.com/es/oficina-virtual-ista/

I'd be happy to try to help develop this, but I don't even know where to start...

@TheRealRWJ
Copy link
Author

Hi Ludy,

I do not mean to pressure you. doe you have any indication when you will be able to release this?

thanks in advance

@sorenlouv
Copy link

sorenlouv commented Feb 21, 2023

Hi there

Thanks for the awesome work so far @Ludy87 !

I too am unable to use this integration because I'm located in Denmark. I'm seeing this error in the logs:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/pyecotrend_ista/pyecotrend_ista.py", line 57, in __login
    raise LoginError(await response.json())
pyecotrend_ista.exception_classes.LoginError: Login fail, check your input! {'key': 'unauthorized-request', 'message': None}

To add some details for the Danish version of Ista:
Web: https://www.istaonline.dk/Login.aspx
Android app: https://play.google.com/store/apps/details?id=dk.ista.IstaUi

I'd be happy to provide you with credentials (in a safe manner) to the Danish version if that can help you debug this

@TheRealRWJ
Copy link
Author

Hi Ludy,

Are you still working on this issue?

Thanks in advance.

@Ludy87
Copy link
Owner

Ludy87 commented Aug 5, 2023

Hello, yes I'm still working on it, but I don't have much time at the moment - it's more complex than I thought.

@ggonmar
Copy link

ggonmar commented Sep 15, 2023

do let us know if we can help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature request Request a new ista EcoTrend feature wait in examination
Projects
None yet
Development

No branches or pull requests

5 participants