Thanks Dolby. So there is currently no cloud access via Sonoff to the devices, and no alternative cloud server, regardless of what firmware may be flashed?
By 'local LAN control' are you referring to 2.4MHz access?
EDIT: Just saw the post from Tinuva. So OpenHab or Home Assistant have their own servers that can be used, obviously with different firmware on the devices?
It's basically software that you download and that run on a machine in your own home. You can have zero internet and all your home automation will still work.
So yes, all communication is over wifi and Lan cables. The sonoffs custom firmware then communicate directly with this server.
People just use a raspberry pi since it is small, cheap, runs cooler and can be made to run on batteries.
If iTead studios adds Lan control to their own firmware then you don't have to flash alternative. That would mean that Openhab or HomeAssist could add plug-ins that can talk to the Sonoffs directly. If your internet is down or the eWeLink service is down, you can still control them using your own server. Best of both worlds.