AlexxIT / XiaomiGateway3

Home Assistant custom component for control Xiaomi Multimode Gateway (aka Gateway 3), Xiaomi Multimode Gateway 2, Aqara Hub E1 on default firmwares over LAN
https://github.com/AlexxIT/Blog
MIT License
2.45k stars 342 forks source link

Lost control for some options and some empty values in statististic table - after upgrade to V4.0.0. #1314

Open bobofruit1970 opened 6 months ago

bobofruit1970 commented 6 months ago

Hi AlexIT

After upgrade to version V.4.0.0 we lost two important options:

  1. Lost option . Support bluetooth devices (I often disable bluetooth support for my GW3) . Add Statistic tables (when I have problems with zigbee/bluetooth devices I used this option to see what is going on)

Version v3.3.6 alex 0

Version V.4.0.0 alex 3

  1. Statistics now does not show some values an look like this Version v3.3.6 alex 5

Version V.4.0.0 alex 1

I lost information in Statistic Tables column IEE, NWK, Parent, type, LQI, RSS etc.

When I get back to version V.3.3.6 everything is OK.

I have checked one ZigBee entity and its attributes. Only two attributes are copied to statistict table Msg received Msg missed And they look different as You can see below:

alex 2

AlexxIT commented 6 months ago
  1. Support bluetooth devices was useless. You can disable bluetooth for the gateway in the MiHome
  2. Stats table attributes changed https://github.com/AlexxIT/XiaomiGateway3/releases/tag/v4.0.0
paulojjuliao commented 6 months ago

I have several bluetooth devices connected through the gateway and with versions 4.0.0 and 4.0.1 the devices went missing on HA. Is the support for BLE devices removed from this new version? After I reverted to version 3.X.X BLE devices are already working again

AlexxIT commented 6 months ago

@paulojjuliao Nothing's removed. Everything continues to work fine for dozens of users

paulojjuliao commented 6 months ago

@paulojjuliao Nothing's removed. Everything continues to work fine for dozens of users

I've upgraded my instance and the BLE devices were not appearing on my gateway (I've waited almost 24 hours following your advice on waiting several hours). Any clues on why it is happening to me? Latest HA version (2024.3.3)

AlexxIT commented 6 months ago

Start from providing device diagnostics for gateway device

paulojjuliao commented 6 months ago

config_entry-xiaomi_gateway3-7edee2600c13d1cd6ea25769f52810f1.json

Here it goes on attachment

ripapaksoe commented 6 months ago

I noticed after upgrading that the quadruple button action is not available anymore in my wireless buttons (mi wireless switch). Do i need to reconfigure them or it is removed now?

AlexxIT commented 6 months ago

@paulojjuliao I guess you haven't looked at the errors in the Hass log. And not read the documentation section about supported firmwares.

paulojjuliao commented 6 months ago

@paulojjuliao I guess you haven't looked at the errors in the Hass log. And not read the documentation section about supported firmwares.

Since I'm running what is seems that is the latest available firmware version available on MiHome app (I've checked and it still is reporting that it is the latest avaliable version), I didn't realized that a newer version of the firmware would be needed for your new release. I'll stick with the 3.3.6 version, that is working for my needs (reporting the status of the BLE devices connected on the gateway). Thanks for your help and patience

r-jean-pierre commented 6 months ago

Not sure I should post here, but concerning statistics, my temperature+humidity sensors lost their state_class value (empty string) since the update 4.0.1 and as a consequence are not belonging to "long term statistics" My sensors are the quite well known LYWSD03MMC and are connected through the GatewayV3 (firmware 1.5.0_0026) I tried to trick that using homeassistant:/customize: in my configuration yaml, but it has no effect

Except that everything seems to work well

Note also that I run the latest core 2024.04

AlexxIT commented 6 months ago

Long-term fixed in latest master version