Open StephanVerbeeck opened 2 years ago
Have a look at https://github.com/skydiver/ewelink-api/blob/master/src/classes/DevicePowerUsageRaw.js
You should be able to reuse parts of SetDevicePowerState
, and pass in the parameters specific for that request.
I haven't got an eWeLink device which delivers power readings unfortunately, so I cannot test it out.
Any suggestions or documentation how I can add this (or a final date when you will have implemented this) ? I only need the power reading features. I am writing software that can identify the individual devices (airco, freezer, cooking, oven, circulation, ...) and the timing when they are ON/OFF (assuming these are not switched ON/OFF by ewelink)