adamoutler / pikvm-homeassistant-integration

A Home Assistant integration for PiKVM.
7 stars 1 forks source link

Unable to Connect with 2FA enabled #2

Closed ejpenney closed 2 weeks ago

ejpenney commented 3 weeks ago

If 2FA is enabled in PiKVM, the integration fails to connect with a 403:

This error originated from a custom integration.

Logger: custom_components.pikvm_ha.cert_handler
Source: custom_components/pikvm_ha/cert_handler.py:136
integration: pikvm_ha (documentation, issues)
First occurred: 9:37:36 AM (4 occurrences)
Last logged: 9:38:36 AM

RequestException while checking PiKVM device at https://192.168.86.5: 403 Client Error: Forbidden for url: https://192.168.86.5/api/info
adamoutler commented 2 weeks ago

You can add the code after your password for temporary access. You'll need to reconfigure each time you restart the unit, home assistant, or the connection is disrupted.