#Sonoff Matter module troubleshooting

1 messages · Page 1 of 1 (latest)

elfin leaf
#

@neat fable @twin pivot @vagrant geyser

twin pivot
#

thx

vagrant geyser
#

@twin pivot what type of IP are you pinging (first 4 digits)?

twin pivot
#

what's the best way to get debug log for the next time the problem occurs ?

vagrant geyser
#

You can also get the logs from last night, e.g. this command run from the web terminal gets the last 10000 lines of log:

ha host logs --identifier addon_core_matter_server -n 10000 > /config/matter.log
elfin leaf
#

wow, this module is really small!

#

sorry, just unpacked it for the first time

twin pivot
vagrant geyser
#

But we know from other brands that this does not say anything about software quality 🙈

elfin leaf
twin pivot
#

Interrupteur lumière chambre parents became unavailable
1:15:17 AM - 10 hours ago

#

nothing in this timeframe in the log

#

here is the matter.log file

#

Interrupteur lumière chambre parents became unavailable
8:14:20 AM - 4 hours ago

#

Interrupteur lumière chambre parents became unavailable
9:15:18 AM - 3 hours ago

#

3 times today

vagrant geyser
#

The first timestamp is UTC.

neat fable
#

I think Sonoff’s dev is registering discord😆

elfin leaf
#

Looking at your log its indeed doing resubs

vagrant geyser
#

There are Timeout waiting for mDNS resolution..

neat fable
elfin leaf
#

In the meanwhile I have this device added to my development instance, running in the debugger so I will keep an eye on it

viscid plank
#

sonoff dev

elfin leaf
#

I reproduced the issue here already as it seems.

#

The device is indeed denying the case session now

#

Now I'll find out if we're using the correct ip

#

I think this says it all

neat fable
elfin leaf
#

and this happens only moments later

#

so when the subscription is failing, the link local addresses also are not pingable

twin pivot
#

I can't paste picture here ?

#

everything is red actually for me

elfin leaf
#

ah, yeah that could be true, I think its by default disabled and I have some elevated rights or whatever

twin pivot
#

but sometimes it's green

#

even if i had never been able to ping local v6

elfin leaf
twin pivot
#

but it should be able to ping ipv4

elfin leaf
#

OK, power cycling the sonoff device fixed it so we're probably looking at a device issue here.
@daner could it be that the device is at times denying case sessions ? Or is communicating the wrong IP's on mdns ?
Or perhaps even the entire ipv6 stack not responding ?

neat fable
#

It’s 7:25pm here, she might have clocked off 🫣

elfin leaf
#

Yeah, that is imaginable

#

Well, at least we did find something. I'll poke around a bit more if I can narrow it down

twin pivot
#

great

#

i'am available for testing

#

why i can ping device from my computer

#

and not the addon :?

neat fable
#

I grabbed a unit too, can give it a try once I’m home

twin pivot
#

ho now it's green (excepted for fe80) 😄

karmic vault
#

so icmp pings work

viscid plank
viscid plank
elfin leaf
neat fable
#

HAOS on VM (latest OS and Matter server) It is also attached to Google and Samsung fabric

twin pivot
#

hi, no disconnection since I rebooted the module 4 days ago

elfin leaf
twin pivot
#

spoke too quickly 😦

neat fable
twin pivot
#

everything is green

#

haven't rebooted the device

#

Devices id : 100209feb0

elfin leaf
#

But now its back available right ?

twin pivot
#

yep

#

en fully fonctionnal

#

and when it's unavailable

#

if i use the device

#

it's OK

#

it trigger my automation

#

the real problem for me is that when it came back alone, it trigger also my automation

twin pivot
#

this morning the mini4rm became unavailable on HA AND eweelink 🤔 nothing weird on my (w)lan and no problem with all my others iot

twin pivot
#

woo

#

device seems in trouble 😄

#

3 times unavailable since 00:00

#

and i can't ping it from my computer

#

looks not associated to my 2.4ghz wifi

#

had to reboot it

#

now it ping from HA, ipv4 and ipv6 (excepted link local)

vagrant geyser
#

So it essentially dropped off from the WiFi network then without recovery on it's own? 🤔 Probably worth reporting to Sonoff.

twin pivot
#

this is the first time i receive the eweelink offline notification

#

but anyway, every time it starts to fail in ha, rebooting the device help

#

i'll probably put an old zigbee relay in place 😦

neat fable
#

@twin pivot any behavior of the indicator? When it went offline, what’s the blinking pattern?

twin pivot
#

i'll try to check but it's in my wall :x

neat fable
#

I have a unit in debug mode for testing for a few days but not sure if I have the same issue cuz my network and matter setup is messy. It might go offline from matter fabrics but controllable from eWeLink app. A couple of toggle would get it back online to matter controllers, rebooting also helps

#

We are still trying to capture the log that could help to navigate the cause, sorr for the inconvenience

twin pivot
#

device just gone offline during update (don't know if it's the update or the vmware snapshot the origine)

#

but why it came back with the last state triggered ?

#

OFF then UNAVAILABLE then OFF

#

if there had been a change of state why not but there...