Luligu / matterbridge-shelly

Matterbridge shelly plugin
Apache License 2.0
31 stars 0 forks source link

Shelly gen detection #15

Closed copystring closed 3 months ago

copystring commented 3 months ago

Hi, I want to continue this from the other issue with z2m.

When I restart matterbridge, the log shows this:

image

Some devices have missing gen. Is this ok or a bug? Maybe you want to take a look at this. shelly: Could you please try with shelly if the mdnsDiscovery find correctly the PRO devices: [07:21:15.215] [mdnsShellyDiscover] Discovered 8 shelly devices: [07:21:15.215] [mdnsShellyDiscover] - id: shellypro1pm-30c6f78bb964 host: 192.168.1.60 port: 80 gen: NaN [07:21:15.216] [mdnsShellyDiscover] - id: shellypro1pm-30c6f7819174 host: 192.168.1.84 port: 80 gen: NaN [07:21:15.216] [mdnsShellyDiscover] - id: shellypro1pm-30c6f780bf38 host: 192.168.1.90 port: 80 gen: NaN [07:21:15.217] [mdnsShellyDiscover] - id: shellypro1pm-30c6f781a31c host: 192.168.1.76 port: 80 gen: NaN [07:21:15.217] [mdnsShellyDiscover] - id: shellypro1pm-30c6f7819d10 host: 192.168.1.43 port: 80 gen: NaN [07:21:15.218] [mdnsShellyDiscover] - id: shellypro1pm-30c6f7819d2c host: 192.168.1.50 port: 80 gen: NaN [07:21:15.218] [mdnsShellyDiscover] - id: shellypro1pm-30c6f781b768 host: 192.168.1.87 port: 80 gen: NaN this log was not correct. Don't forget to reset the shelly storage as I wrote in the changelog.

z2m: The log you posted are definitely not in plugin debug mode.

Originally posted by @Luligu in https://github.com/Luligu/matterbridge-zigbee2mqtt/issues/33#issuecomment-2186222896

Luligu commented 3 months ago

Hi, are you still seeing these?: [07:21:15.215] [mdnsShellyDiscover] - id: shellypro1pm-30c6f78bb964 host: 192.168.1.60 port: 80 gen: NaN [07:21:15.216] [mdnsShellyDiscover] - id: shellypro1pm-30c6f7819174 host: 192.168.1.84 port: 80 gen: NaN [07:21:15.216] [mdnsShellyDiscover] - id: shellypro1pm-30c6f780bf38 host: 192.168.1.90 port: 80 gen: NaN [07:21:15.217] [mdnsShellyDiscover] - id: shellypro1pm-30c6f781a31c host: 192.168.1.76 port: 80 gen: NaN [07:21:15.217] [mdnsShellyDiscover] - id: shellypro1pm-30c6f7819d10 host: 192.168.1.43 port: 80 gen: NaN [07:21:15.218] [mdnsShellyDiscover] - id: shellypro1pm-30c6f7819d2c host: 192.168.1.50 port: 80 gen: NaN [07:21:15.218] [mdnsShellyDiscover] - id: shellypro1pm-30c6f781b768 host: 192.168.1.87 port: 80 gen: NaN

copystring commented 3 months ago

The NaN? Yes, for some devices I still see these.

Luligu commented 3 months ago

Since the devices are the same, can you check please if they have different firmware ? If is different can you tell me what firmware is that cause the issue? Or do you have any idea of what is different between the devices with NaN and the others? Thanks.

copystring commented 3 months ago

I updated all firmware to the latest version. This is looking good now. My bad, I did not update the firmware before. Thank you!

image