AlexxIT / SonoffLAN

Control Sonoff Devices with eWeLink (original) firmware over LAN and/or Cloud from Home Assistant
https://github.com/AlexxIT/Blog
MIT License
2.61k stars 407 forks source link

Sonoff CH4 PRO R3 switching randomly #1236

Open PiotrLesiak opened 10 months ago

PiotrLesiak commented 10 months ago

I got 6 Sonoff CH4 Pro R3 devices, I use them to control my window shutters. One of them (only one) is randomly switching channel 4. I checked logs and there are multiple records like this

2023-09-25 19:38:57 [D] SysInfo: {'installation_type': 'Home Assistant Core', 'version': '2023.1.1', 'dev': False, 'hassio': False, 'virtualenv': True, 'python_version': '3.9.2', 'docker': False, 'arch': 'aarch64', 'timezone': 'Europe/Warsaw', 'os_name': 'Linux', 'os_version': '6.1.21-v8+', 'user': 'homeassistant', 'sonoff_version': '3.5.2 (2ad1cd7)'}
2023-09-25 20:07:29 [D] CLOUD True => True
2023-09-25 20:11:51 [D] 1001ecae8a <= Cloud3 | {'switches': [{'switch': 'off', 'outlet': 0}, {'switch': 'off', 'outlet': 1}, {'switch': 'off', 'outlet': 2}, {'switch': 'off', 'outlet': 3}]} | None
2023-09-25 20:13:11 [D] CLOUD True => True
2023-09-25 20:16:36 [D] 1001ecae8a <= Cloud3 | {'switches': [{'switch': 'off', 'outlet': 0}, {'switch': 'off', 'outlet': 1}, {'switch': 'off', 'outlet': 2}, {'switch': 'on', 'outlet': 3}]} | None
2023-09-25 20:22:18 [D] 1001ecae8a <= Cloud3 | {'switches': [{'switch': 'off', 'outlet': 0}, {'switch': 'off', 'outlet': 1}, {'switch': 'off', 'outlet': 2}, {'switch': 'off', 'outlet': 3}]} | None
2023-09-25 20:23:15 [D] 1001ecae8a <= Cloud3 | {'switches': [{'switch': 'off', 'outlet': 0}, {'switch': 'off', 'outlet': 1}, {'switch': 'off', 'outlet': 2}, {'switch': 'on', 'outlet': 3}]} | None

Only difference between them is that faulty one has firmware v 3.7.6 and the others has v3.7.3

config_entry-sonoff-1786a5bd459bfb42a81c96d71afa8de9.json (2).txt

Logs in Ewelink app for that device also shows that action was triggered by ewelink account. That happens quite randomly, sometimes it happens every couple minutes and sometimes it doesn't happen for hours.

Any idea what can be reason for that odd behaviour?

AlexxIT commented 10 months ago

There is can't be any magic. Or you have some auto somewhere. Or you setup this auto on device. Try to reset it and setup again.

PiotrLesiak commented 10 months ago

I reset and setup device again, unfortunatelly got same effect. I don't have any automations in ewelink app. Guess I'll return that device and get another one in that place.

Edit: I sent message to sonoff support. I'll post their response here for people with same problem.

jibrilsharafi commented 1 month ago

@PiotrLesiak I have the same issues. Did you manage to solve this?

PiotrLesiak commented 1 month ago

Unfortunately not, I returned my device to seller and they gave me new one.

pon., 3 cze 2024 o 20:29 Jibril Sharafi @.***> napisał(a):

@PiotrLesiak https://github.com/PiotrLesiak I have the same issues. Did you manage to solve this?

— Reply to this email directly, view it on GitHub https://github.com/AlexxIT/SonoffLAN/issues/1236#issuecomment-2145859827, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3UBLG4TQUQN5SDEL3PIPXDZFSYY3AVCNFSM6AAAAAA5GRITFKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBVHA2TSOBSG4 . You are receiving this because you were mentioned.Message ID: @.***>