From f55d53c1da5a017b73d182c6cbf2da21da16d8c5 Mon Sep 17 00:00:00 2001 From: Jesper Date: Sat, 19 Feb 2022 13:51:04 +0100 Subject: [PATCH] Change from username and password to auto to fix the capcha issue --- README.md | 14 ++++---- custom_components/apsystems/sensor.py | 46 ++++++++++----------------- 2 files changed, 24 insertions(+), 36 deletions(-) diff --git a/README.md b/README.md index 79d449c..51eea8d 100644 --- a/README.md +++ b/README.md @@ -22,18 +22,20 @@ Use [HACS](https://custom-components.github.io/hacs/) to point to this github UR https://github.com/skelgaard/homeassistant-apsystems ### Configuration -Use your apsystemsema.com user to configure the configuration.yaml. +Use your apsystemsema.com to configure the configuration.yaml. + ```yaml # Minimal configuration.yaml entry: sensor: - platform: apsystems - username: apsystemsema_user - password: !secret apsystems + authId: apsystemsema_user systemId: apsystemsema_system_id ecuId: apsystemsema_ecu_id sunset: off ``` -1 - your systemId is found at apsystemsema.com. See the page source code and at the Settings Menu there is a code like that: +1 - set "Allow visitors to access to this system" and get the authid from here + +2 - your systemId is found at apsystemsema.com. See the page source code and at the Settings Menu there is a code like that: ```html Settings