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.75k stars 417 forks source link

S-MATE 2 logbook events for automations #1418

Closed luigui2906 closed 6 months ago

luigui2906 commented 6 months ago

Hi,

I recently bought an S-MATE 2 to connect to a classical switch that controls both non-smart and smart lights together by adding a miniR3 to the non smart lights. I found this as a perfect solution to control all these lights from the classical switch along with my home assistant app and some wireless smart switch I installed in another location.

However, I am not able to receive the events for the S-MATE 2, which is linked to the miniR3 on my home assistant. I observed on this review https://www.cnx-software.com/2023/11/30/review-of-sonoff-basicr4-smart-switch-and-s-mate2-smart-remote-control/ that events from the S-MATE 2 appear on the logbook of the device, but is not the case for me.

Can you guide me on how to debug this issue to find a solution?

For the moment I just created an automation based on the state change of the miniR3 which was configured to toggle from the S-MATE2 directly on ewelink, but this creates an annoying delay. I would be very grateful of you can guide me on the right direction to solve it.

Thanks a lot for the hard work !

luigui2906 commented 6 months ago

I was able to solve it. For anyone facing the same problem, the integration mode needs to be on Auto, I had configured it on local previously which I think was the cause of the issue !