I'm trying to employ the HassBridge connection to the Home Assistant Rest API in order to capture Insteon double-click. Can't seem to find any guidance on how to get it working.
MQTT is working well and I believe my "Home Assistant Settings" are properly entered in Indigo > Configure HassBridge. Screen shot attached.
I haven't made any changes to Home Assistant and suspect that's where the problems is, although I'm not certain that any Rest data is being sent from Indigo.
HassBridge doesn't like having "Accept Unvalidated SSL Certificates" enabled:
- Code: Select all
Nov 23, 2021 at 9:45:08 AM
HassBridge Connecting to the MQTT Server...
HassBridge Connected to MQTT Server!
HassBridge Error Exception trapped:HTTPSConnectionPool(host='192.168.1.60', port=8123): Max retries exceeded with url: /api/states (Caused by SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727)'),))
HassBridge Error Error in plugin execution UiClosed1:
Traceback (most recent call last):
File "plugin.py", line 157, in closedPrefsConfigUi
File "plugin.py", line 137, in _update_perfs
File "plugin.py", line 361, in _setup_ha_devices
File "plugin.py", line 480, in _refresh_ha_info
File "/Library/Application Support/Perceptive Automation/Indigo 2021.1/Plugins/HassBridge.indigoPlugin/Contents/Server Plugin/libs/requests/api.py", line 61, in request
File "/Library/Application Support/Perceptive Automation/Indigo 2021.1/Plugins/HassBridge.indigoPlugin/Contents/Server Plugin/libs/requests/sessions.py", line 530, in request
File "/Library/Application Support/Perceptive Automation/Indigo 2021.1/Plugins/HassBridge.indigoPlugin/Contents/Server Plugin/libs/requests/sessions.py", line 643, in send
File "/Library/Application Support/Perceptive Automation/Indigo 2021.1/Plugins/HassBridge.indigoPlugin/Contents/Server Plugin/libs/requests/adapters.py", line 514, in send
SSLError: HTTPSConnectionPool(host='192.168.1.60', port=8123): Max retries exceeded with url: /api/states (Caused by SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727)'),))
Is there a tutorial or setup example that I could follow?