sambarlick
(Samuel Myers)
December 1, 2023, 11:59pm
1
Hi,
Is it possible to have the power and energy monitoring telemetry from TP Link and Sonoff/eWelink outlets the same as the Smartthings Outlets show in the Smartthings app/platform?
They both (TP Link and Sonoff/eWelink) only show in Smartthings as simple on/off switches.
Thanks,
Sam
Do you have SmartThings hub, and are your TP-Link plugs Kasa or Tapo brands?
sambarlick
(Samuel Myers)
December 2, 2023, 12:36am
3
Thanks for your reply. Yes I have a v3 (2018) Hub and my TP Link devices are Kasa.
If you use the following Edge driver for your Kasa plugs they will show power and energy monitoring.
1 Like
sambarlick
(Samuel Myers)
December 2, 2023, 12:42am
5
Ok awesome, thanks I’ll try that. Are you aware of anything similar for eWelink/Sonoff?
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…
sambarlick
(Samuel Myers)
December 2, 2023, 12:49am
7
I’ll check it out thanks.