There is also an Edge driver for Sonoff and eWeLink devices but I could never get it to work with my eWeLink switches. I don’t know if energy monitoring was included.
It might work with Sonoff plugs.
I have written an edge driver GitHub - mystifier-gh/sonoff-edge
Currently it supports only switch/light and brightness control.
Everyone is welcome to use it and perhaps maintain it as well.
eWelink (sonoff and other brands) smartthings edge driver
eWelink devices broadcast their status on mDNS (which works on LAN) and can be send commands on LAN. This edge driver uses mDNS to update device state and http commands over LAN to set device states.
eWelink encrypts the communication, both mDNS broadcasts and http commands for non-DIY mode devices. The decryption key is devicekey and can be retrived from eWelink server using eWelink credentials. Each device type is identified using uiid and can be used to configure the devices in greater detail. uiid can also be retrived along with deviceke…