Can't find enable CoIot on my shelly plug

I have a shelly US plug and it seems to be working fine. However, I cannot get it to integrate with home assistant. I am following this guide, which says:

Shelly devices use the CoIoT protocol to communicate with integration. For Shelly firmware 1.10.0 or newer, CoIoT must be enabled in the device settings. Navigate to the local IP address of your Shelly device, Internet & Security >> ADVANCED - DEVELOPER SETTINGS and check the box Enable CoIoT.

When I look at my options, though (yes I’m connected via the web interface and not the app), I don’t have the button below MQTT that everyone seems to have. Here’s what I have:

Here’s what I see on other posts Screenshot from 2022-01-23 01-13-41

Could someone help me figure out why this is and how to get it working?

What is the plug model?

I cant see your link, it’s blocked by my work’s firewall.

Only Gen 1 devices need to have CoIoT configured.

EDIT: never mind, I used the cellular connection on my phone to see that it is a Shelly Plus 2PM.

See the ‘2’ in the name?

That is a generation 2 device. You don need to configure CoIoT

Got it. Any idea why I’m getting the “unexpected error” when I try to manually discover? It’s not auto discovering. I am connected to the same network that my device is. I am using Ethernet, but it’s still the same router and stuff and home assistant has auto detected other devices like this before.

Can you see the device connected to your router?

Can you ping it from another computer on the network?

Yes, I can see it. I also can ping it from the pi and my mac. Maybe I’m typing it in wrong in the “host” box? I’m just try typing the ip of the device right? Also I have factory reset it once.

Also, here are the logs:

Logger: homeassistant.components.shelly.config_flow
Source: components/shelly/config_flow.py:205
Integration: Shelly (documentation, issues)
First occurred: 7:48:23 AM (3 occurrences)
Last logged: 8:46:12 AM

Unexpected exception
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/shelly/config_flow.py", line 73, in async_step_user
    info = await self._async_get_info(host)
  File "/usr/src/homeassistant/homeassistant/components/shelly/config_flow.py", line 205, in _async_get_info
    return await aioshelly.get_info(
  File "/usr/local/lib/python3.8/site-packages/aioshelly/__init__.py", line 128, in get_info
    if not supported_firmware(result["fw"]) or result["type"] in ["SHSW-44", "SHSEN-1"]:
KeyError: 'fw'

Looks like it wants firmware, but I’ve already tried updating it to no avail.

Contact Shelly support.

Got it. Out of curiosity, why Shelly? Do they maintain the integration?

It’s an issue updating your firmware, not with the integration.