Closed 2Wanderer closed 5 months ago
hi @2Wanderer ,
I just tried logging in on Zwolle's mediaportal, and I noticed the permitMediaTypeID is different:
in my code its set to 1: https://github.com/ChessSpider/dvsportal/blob/main/dvsportal/dvsportal.py#L148
That probably explains why your login doesnt work.
I hope to have some time this weekend to investigate
hi @2Wanderer , ive tried something which maybe fixes it. Can you give it a try? Dont forget to update to latest version first 👍
No luck yet. re-added integration and tried to login, no joy. error in HA logs:
Logger: root Bron: custom_components/dvsportal/config_flow.py:63 integratie: DVSPortal (documentation, issues) First occurred: 16:58:19 (1 gebeurtenissen) Laatst gelogd: 16:58:19
async step user (400, {'message': '<!DOCTYPE html>\r\n\r\n
\r\n
Hi, i'd tried to add this integration for the visitor potal in Zwolle to my home assistant, however the logs state that the login is was not succusfull and as such the integration wont install.
HA errorlog: async step user (200, {'ErrorMessage': 'Het nummer of de pincode is incorrect.', 'LoginStatus': 2, 'Result': 0, 'RequiresOtp': False}) However, this is not the case. I can login succesfull with the credentials when used directly the portal. We've been forced login with the cardnumber and the pincode https://parkeerloket.zwolle.nl/DVSportal
I try to understand whats going wrong here, as i'd like to use this integration.