Sonoff S31 wifi integration with HaOS

Hello everyone

I got several Sonoff S31 wifi switches with energy measurements.

My question - how can add them to HaOS without Sonoff eWElink usage? So I can use them only locally, without any cloud connectivity? Is this possible without flashing their firmware?

I have HACS, installed Sonoff LAN, and added integration. But how can I discover/pair these switches after this and where to do this?

Thanks

You need to flash the firmware. You have to disassemble them (it’s quite easy) and manually hold pins to contacts to flash. I’ve got a half-dozen of these working with Tasmota quite well. Good luck!