I've spent the afternoon trying to sniff the https comms from the android app to see the API commands it was issuing to the smartplug ... and eventually found your repo.
A thousand thanks! I'm now finally able to solve a very pesky problem.
Unrelated question, if I may. I have a nifty frequency inverter running on a HS110 smartplug with energy monitoring. The problem is that the HS110 energy monitoring is sometimes reading completely erratic values for the power (so either current, voltage, or both). Every once in a while, instead of a constant 264-266W power draw, it jumps to something like a few tens of million W for like half a second. This is enough to completely skew all energy measurements for the day or the total, making it look like I'm consuming the entire planet's energy supply, see screenshot below.
What do the Igain and Vgain do exactly? Can this issue be fixed by changing those values?
I've spent the afternoon trying to sniff the https comms from the android app to see the API commands it was issuing to the smartplug ... and eventually found your repo.
A thousand thanks! I'm now finally able to solve a very pesky problem.
Unrelated question, if I may. I have a nifty frequency inverter running on a HS110 smartplug with energy monitoring. The problem is that the HS110 energy monitoring is sometimes reading completely erratic values for the power (so either current, voltage, or both). Every once in a while, instead of a constant 264-266W power draw, it jumps to something like a few tens of million W for like half a second. This is enough to completely skew all energy measurements for the day or the total, making it look like I'm consuming the entire planet's energy supply, see screenshot below.
What do the
Igain
andVgain
do exactly? Can this issue be fixed by changing those values?