Replacement of sonoff devices, need advice

You could try using the official HA SkyConnect Dongle and place more router devices around the house. My approach is to use smart lights with router functionality and avoid turning them off frequently. You can use wall-mounted remotes instead of traditional switches to achieve this. This ensures you have enough routers operating 24/7, making it more convenient when activating different lighting scenes.

However, I suggest avoiding routers from small manufacturers, as many haven’t passed certification and may struggle to perform as the main router. You can go with HUE, or the Xsky lights and switch set that I use, which has been consistently stable.

I have a sonoff temp and humidity sensor and it has not missed a beat in the 2 plus years its been there. I have a mix of aqara and sonoff door contacts and 60% of each make never miss a beat while the other 40% need reconnecting every now and again.

I would say there is nothing inherently wrong with these sensors. I think it is somehow the network that causes the issue, whether that be positioning or some thing else I don’t know about.

Our messages must have been written at the same time, have a look at my map, it’s full of repeaters :wink:

Yes, I expect something must be wrong. But I’m using canal 1 for wifi, and 20 for zigbee, to avoid interferences, and the weirdest part is really that only tehese devices are disconnecting.

I have a ton of battery powered switches (a mix of hue smart buttons and tradfri ones) and they never disconnect)

The only disconnection issues I do have are with these temp sensors and these damn ZBMINI-L switches. all the rest is pretty stable.

I actually do have a closer look at the aqara devices, and while Z2M reports them as offline, they DO report this :

confusing…

Put one of the ones that are reporting disconnected in your hand and breathe on it. If it changes values you need to disable the availability or set it to a higher timer.

1 Like

Will do, what I started to do is to pair each of these sensors to the closest tradfri bulb, just to make sure they have the best possible signal to the controller, through a “wired” repeater. I hope this will stabilize things, but I’m quite sure I did this already and that it ended up disconnecting as always :slight_smile:

Pair all router devices (bulbs etc) before your pair battery devices.

regarding the first aqara, I’m afraid I just did reconnect it to the closest bulb before I’ve read your comment, but even with the bulb being at approx 1,5 meters away from the devicek, I get terrible link quality (18). As soon. I blown on it, the temperature changed though.

That means that it is connected. These only report new values when a change is siginificant enough. So you should probably disable availability on these.

I will repair them all, and disable availability for every single temperature device, for the sake of testing.

can I change this in the webui ? It looks like it can only be passed to the conf file ?

I don’t use it myself, but it’s documented here Device-Availability | Zigbee2MQTT

It is a bit expensive if you just want temp/humidity, but fortunately there is much more to this than just temp/humidity which justifies the price.

Look for the UltimateSensor Pro or Mini. They are packed with a lot of sensors.

Below an overview of what you get with the UltimateSensor mini:

  • CO2 sensor
  • Temperature sensor
  • Humidity sensor
  • Lux Sensor (Light Intensity)
  • VOC Sensor
  • NOx Sensor
  • Particulate Matter Sensor (PM)
  • mmWave Sensor
  • PIR Sensor
  • Microphone
  • Speaker
  • Voice Commands

Hi silkyclouds,

Just a thought, if you rely on bulbs as routers, are all the bulbs always powered, or are some powered down at times by turning off mains power. Powering routing devices up and down causes network havoc, regardless of the mesh.

As others have reported that the devices you are using are normally quite reliable I’d be investigating your network first.

What zigbee channel are you using?

What Wifi channel(s) are you using?

Is your coordinator near a USB3 port?

All the bulbs remains powered 24/7 :confused:

1 Like

Yep, I’ve followed these guides. My Z2M network uses channel 20 while I underfortunately LOST control on configuring my wifi channel manually since I’ve bought and installed TP-lin deco X50 mesh routers around the house :frowning:

my coordinator is plugged using an extension cable, and put far away from the mini pc running my proxmox/HASS VM instance.

You checked that the sensor registered temperature changes. Is the issue that you get flat graphs with no changes or that it reports unavailable / offline in Z2M?

offline in Z2M
and therefore not reporting anything to HA anymore.

But you said the sensor changed temperature when you blew air on it? Then it isn’t offline. How are the graphs over the last 24 hours looking? My point is that if it changes values but is reporting offline in Z2M the availability should be disabled / adjusted. It means that the time for Z2M to consider the device offline is too low. What’s the last seen value on it?

Homeautomationguy.io has a good article and yt video on the availability feature in z2m.

1 Like