Giga
May 25, 2025, 10:23pm
1
Hello folks,
i have configured all my Shelly Gen1 devices to:
enable CoIoT
use unicast instead of multicast
[homeassistant IP]:5683
But it seems like Home Assistant OS is not listening:
So, what needs to be done to make Home Assistant OS listening?
Thanks!
tom_l
May 25, 2025, 10:36pm
2
Install the Shelly integration.
Giga
May 25, 2025, 10:39pm
3
I did, of course.
All my Shelly Gen2 devices work fine!
tom_l
May 25, 2025, 10:40pm
4
Sorry, my mind reading skills are a bit off today.
Try manually adding one of the Gen 1 devices.
Giga
May 25, 2025, 11:03pm
5
Adding the devices manually does not work:
I can say for sure that the Shellys are woken up and reachable. They are in the same IP network as the Home Assistant OS, nothing in between (like a firewall).
tom_l
May 25, 2025, 11:10pm
6
Double check your CoIoT settings.
Working for me:
Giga
May 25, 2025, 11:14pm
7
Sometimes, Home Assistant OS can discover the Gen 1 Shelly on it’s own (but never all of them at the same time):
If i add the Shellys as suggested, those Shellys get into a flapping state. The status is permanently switching between these two states:
This Problem is not related to one or few Shellys. All my Gen 1 Shellys have this problem.
Also, the Home Assistant is still not listening on CoIoT Port (udp/5683). I think this is the Problem.
tom_l
May 25, 2025, 11:15pm
8
Firmware up to date on the Shellys?
Giga
May 25, 2025, 11:16pm
9
yes, all of them have the latest firmware.
tom_l
May 25, 2025, 11:20pm
10
What installation type, core and OS version are you running?
Giga
May 25, 2025, 11:25pm
11
Home Assistant OS (running on KVM)
Home Assistant OS: 15.2
Home Assistant Core: 2025.5.3
tom_l
May 25, 2025, 11:29pm
12
Giga:
(running on KVM)
It is running on a keyboard video and mouse switch?
Giga
May 25, 2025, 11:32pm
13
No, KVM ist a Hypervisor like VMWare ESXi.
See: Kernel-based Virtual Machine - Wikipedia
There are official Home Assistant OS Images for KVM:
tom_l
May 25, 2025, 11:39pm
14
Check your network adapter is bridged to the VM correctly.
Also what host OS are you using for the VMs?
Giga
May 25, 2025, 11:48pm
15
Bridge Settings are correct, everything else works fine (like SSH, for example).
Host OS is “Proxmox”. It’s a Debian based Distro designed as a KVM Hypervisor.
Can you do me a favor and enter netstat -tulpn
into you Home Assistant Commandline?
tom_l
May 26, 2025, 12:15am
16
Giga:
netstat -tulpn
Had to pipe it through more
there were a lot:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:1883 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:1884 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:8883 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:8884 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:9090 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:9000 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 368/sshd: /usr/sbin
tcp 0 0 127.0.0.1:445 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:57435 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:139 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:8485 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:3483 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:3493 0.0.0.0:* LISTEN -
tcp 0 0 10.1.1.100:139 0.0.0.0:* LISTEN -
tcp 0 0 10.1.1.100:445 0.0.0.0:* LISTEN -
tcp 0 0 10.1.1.100:40000 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:5355 0.0.0.0:* LISTEN -
tcp 0 0 172.30.32.1:62919 0.0.0.0:* LISTEN 369/ttyd
tcp 0 0 0.0.0.0:4357 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:8086 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:8088 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:8123 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:64969 0.0.0.0:* LISTEN -
tcp 0 0 172.30.32.1:64969 0.0.0.0:* LISTEN -
tcp6 0 0 :::1883 :::* LISTEN -
tcp6 0 0 :::1884 :::* LISTEN -
tcp6 0 0 :::8883 :::* LISTEN -
tcp6 0 0 :::8884 :::* LISTEN -
tcp6 0 0 :::9000 :::* LISTEN -
tcp6 0 0 :::111 :::* LISTEN -
tcp6 0 0 :::22 :::* LISTEN 368/sshd: /usr/sbin
tcp6 0 0 :::8485 :::* LISTEN -
tcp6 0 0 :::3306 :::* LISTEN -
tcp6 0 0 :::3493 :::* LISTEN -
tcp6 0 0 fe80::b064:6540:3:40000 :::* LISTEN -
tcp6 0 0 :::5355 :::* LISTEN -
tcp6 0 0 :::4357 :::* LISTEN -
tcp6 0 0 :::8086 :::* LISTEN -
tcp6 0 0 :::8088 :::* LISTEN -
tcp6 0 0 :::8123 :::* LISTEN -
udp 0 0 0.0.0.0:111 0.0.0.0:* -
udp 0 0 10.1.1.255:137 0.0.0.0:* -
udp 0 0 10.1.1.100:137 0.0.0.0:* -
udp 0 0 0.0.0.0:137 0.0.0.0:* -
udp 0 0 10.1.1.255:138 0.0.0.0:* -
udp 0 0 10.1.1.100:138 0.0.0.0:* -
udp 0 0 0.0.0.0:138 0.0.0.0:* -
udp 0 0 0.0.0.0:42775 0.0.0.0:* -
udp 0 0 0.0.0.0:1900 0.0.0.0:* -
udp 0 0 0.0.0.0:1900 0.0.0.0:* -
udp 0 0 0.0.0.0:34991 0.0.0.0:* -
udp 0 0 0.0.0.0:3483 0.0.0.0:* -
udp 0 0 0.0.0.0:36446 0.0.0.0:* -
udp 0 0 0.0.0.0:36832 0.0.0.0:* -
udp 0 0 0.0.0.0:45801 0.0.0.0:* -
udp 0 0 10.1.1.100:5353 0.0.0.0:* -
udp 0 0 127.0.0.1:5353 0.0.0.0:* -
udp 0 0 10.1.1.100:5353 0.0.0.0:* -
udp 0 0 172.30.32.1:5353 0.0.0.0:* -
udp 0 0 172.30.232.1:5353 0.0.0.0:* -
udp 0 0 0.0.0.0:5353 0.0.0.0:* -
udp 0 0 172.30.32.1:5353 0.0.0.0:* -
udp 0 0 0.0.0.0:5353 0.0.0.0:* -
udp 0 0 0.0.0.0:5353 0.0.0.0:* -
udp 0 0 0.0.0.0:5355 0.0.0.0:* -
udp 0 0 0.0.0.0:54709 0.0.0.0:* -
udp 0 0 0.0.0.0:5683 0.0.0.0:* -
udp 0 0 0.0.0.0:39527 0.0.0.0:* -
udp6 0 0 :::111 :::* -
udp6 0 0 :::58972 :::* -
udp6 0 0 :::1900 :::* -
udp6 0 0 :::1900 :::* -
udp6 0 0 :::53936 :::* -
udp6 0 0 :::46110 :::* -
udp6 0 0 :::5353 :::* -
udp6 0 0 :::5353 :::* -
udp6 0 0 fe80::b064:6540:37:5353 :::* -
udp6 0 0 :::5355 :::* -
(12th line from the bottom is CoIoT).
Giga
May 26, 2025, 8:33am
17
I wonder what’s necessary to enable this…
tom_l
May 26, 2025, 8:34am
18
Nothing. The integration listens on the port.
Giga
May 26, 2025, 8:38am
19
In my case, netstat states that it does not.
The shelly integration is running in the core/homeassistant container, right? Or could it be, that there’s a different container that’s listening?
Giga
May 26, 2025, 8:49am
20
I think, i will login to the HA OS host itself and check out the Docker compose file. This way, i can verify if udp/5683 is mapped to the Container (and find out which container it is)
I found this guide:
But it requries physical access to the hardware, which i do not have today. I will do it tomorrow.