Shelly sensor do not update the entity

I’ve installed HA as Docker. container: ghcr.io/home-assistant/home-assistant:stable. Im also using Postgres DB. All fine as so far.
Configuration, i forward port from host to the container 5683/UDP for CoIoT. This seems also to work.

Integration step for Shelly H&T Sensor. (Sensor firmware 20220324-134040/v1.11.8-HT-fix-g60b9bd1)

  1. On the sensor webpage: Internet&Security → advanced developer settings → Enable CoIoT hook set my host into the CoIoT Peer field 192.168.10.50:5683
  2. On HA, settings → device&service → add integration and put the IP of my Shelly device in.

The device is now available and the actual values are shown. But the values will not update over time. It stay the same and after some time they change to unavailable.
I go research a littel bit. I can trace the CoIoT package till inside the container. Also the HA log tells me that something arrive.

2022-10-08 10:48:39.056 DEBUG (MainThread) [aioshelly.coap] CoapMessage: ip=192.168.10.90, type=periodic(30), payload={'G': [[0, 9103, 0], [0, 3101, 20.0], [0, 3102, 68.0], [0, 3103, 55.0], [0, 3115, 0], [0, 3111, 58], [0, 9102, ['sensor']]]}
2022-10-08 10:48:54.146 DEBUG (MainThread) [aioshelly.coap] CoapMessage: ip=192.168.10.90, type=periodic(30), payload={'G': [[0, 9103, 0], [0, 3101, 20.0], [0, 3102, 68.0], [0, 3103, 55.0], [0, 3115, 0], [0, 3111, 58], [0, 9102, ['sensor']]]}
2022-10-08 10:49:09.395 DEBUG (MainThread) [aioshelly.coap] CoapMessage: ip=192.168.10.90, type=periodic(30), payload={'G': [[0, 9103, 0], [0, 3101, 20.0], [0, 3102, 68.0], [0, 3103, 55.0], [0, 3115, 0], [0, 3111, 58], [0, 9102, ['sensor']]]}

Is the native integration broken?

2 Likes

I also have this issue with all my Shelly H&T sensors. They will report the initial temperature and humidity value when added to homeassistant, but not again.

Tried mcast and unicast across all devices but it doesn’t seem to make any difference.

I have the same issue. I would love to have that get fixed. I get the data in the shelly app, but in HASS there is nothing

I own a Shelly 4PM pro and voltage data doesnt update

Try enabling “IGMP Snooping Static Router Port” on your switch.