msoon / PyMonsoon

Monsoon Power Monitor Python Library
MIT License
55 stars 23 forks source link

How to reset power monitor in automation tests #36

Closed RehabAbdAllah closed 2 years ago

RehabAbdAllah commented 2 years ago

I have Automation tests that needs reseting of power monitor - something that simulates the actual hardware reset of power monitor ? I tried closeDevice() and Protocol.sendCommand(op.OpCodes.resetPowerMonitor, 0) But that didn't do it , please help with what is the right sequence to simulate a reset of the power monitor