Post
Topic
Board Mining (Altcoins)
Re: [New version] rig-monitor now includes profitability charts, single dashboard
by
rodney2250
on 11/08/2018, 07:28:43 UTC
So I tried to modify tplink.py to return
Code:
{"emeter":{"get_realtime":{"current":%c%,"voltage":%v%,"power":%p%,"total":0,"err_code":0}}}
For sonoffs, Obviously with replaced tokens, but I guess you don't really call tplink.py from your script, but handle everyhting internally or maybe you do call some commands before
Code:
{"emeter":{"get_realtime":{}}}
which I also should fake output ? I'm to lazy to sniff the traffic right now Smiley

I looked into the official API and I can easily use it, but then I found this https://blog.ipsumdomus.com/sonoff-switch-complete-hack-without-firmware-upgrade-1b2d6632c01, which seems even easier. Coming week I'll give it a go