Konnected - Failed to set up - Error setting up entry Konnected Alarm Panel for konnected

I can’t seem to connect my new Konnected board to home assistant.

Logger: homeassistant.config_entries
Source: components/konnected/panel.py:357
First occurred: 16:07:05 (3 occurrences)
Last logged: 16:52:40

Error setting up entry Konnected Alarm Panel for konnected
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 372, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/usr/src/homeassistant/homeassistant/components/konnected/__init__.py", line 260, in async_setup_entry
    await client.async_connect()
  File "/usr/src/homeassistant/homeassistant/components/konnected/panel.py", line 133, in async_connect
    await self.async_sync_device_config()
  File "/usr/src/homeassistant/homeassistant/components/konnected/panel.py", line 378, in async_sync_device_config
    != self.async_current_settings_payload()
  File "/usr/src/homeassistant/homeassistant/components/konnected/panel.py", line 356, in async_current_settings_payload
    "sensors": [
  File "/usr/src/homeassistant/homeassistant/components/konnected/panel.py", line 357, in <listcomp>
    {self.api_version: s[self.api_version]}
KeyError: 'pin'

I’m running home assiastnt in docker on a debian laptop. HA and Konnected board on latest firmware. I can set the board up to run on Konnected cloud and Smartthings and Home Assistant detects it as a new device. I ran through the configuration and can’t get any further. I just get the error above.
I’ve tried disconnecting from Smartthings and Deactivated Konnected Cloud as I am only interested in running it through HA. It as third party equivelant board based on NodeMCU.

Any ideas?

1 Like

I just installed HA and my Konnected system, in fact, Konnected was what finally pushed me to go to HA. I am receiving the same error, likely that a recently release broke something, let’s hope it can be repaired soon.


Logger: homeassistant.config_entries
Source: components/konnected/panel.py:359
First occurred: 7:21:25 PM (7 occurrences)
Last logged: 7:37:33 PM

Error setting up entry Konnected Alarm Panel for konnected
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 382, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/usr/src/homeassistant/homeassistant/components/konnected/__init__.py", line 260, in async_setup_entry
    await client.async_connect()
  File "/usr/src/homeassistant/homeassistant/components/konnected/panel.py", line 133, in async_connect
    await self.async_sync_device_config()
  File "/usr/src/homeassistant/homeassistant/components/konnected/panel.py", line 380, in async_sync_device_config
    != self.async_current_settings_payload()
  File "/usr/src/homeassistant/homeassistant/components/konnected/panel.py", line 358, in async_current_settings_payload
    "sensors": [
  File "/usr/src/homeassistant/homeassistant/components/konnected/panel.py", line 359, in <listcomp>
    {self.api_version: s[self.api_version]}
KeyError: 'pin

Andy over at Konnected was able to help me out, @Zaphod360 what worked was reflashing using install.konnected.io and then adding to home network and integrating with HA before doing anything further in the app. If you had your konnected registered before going to HA this should fix it.

Thanks, I actually signed this yesterday by doing exactly that. Firstly though I unregistered with smarthings and Konnected cloud. Flashed the latest firmware, setup WiFi then went straight to home assistant. Auto detected, finished config and it works.

Thank for the solution here. With what you wrote, it gave me the hint I needed.

For people not confortable with reflashing a board, here is how I did it without reflashing.

First, I went into the Konnected App on my phone. I clicked on the Konnected board that was not recongnized by HA. Then, at the bottom of the page where there is the “Konnected Cloud image”, I clicked on “Details”. On the next window, I clicked on “Disconnect”.

DO NOT REGISTER AGAIN the unit when that page show up.

I did, “back” to get the window with the “Konnected Cloud image” again and I clicked on the “Open Status Page”. Finally, at the end of that page, you have a “Restart” button.

In HA, in the Integration window, I only had to do a “Reload” for the Konnected board to show up.

Cheers,
CAM