API with JSON report... active: 1

api-enabled

#1

Hello,
API report have an active key with value 1, even with rig off…
If the rig is off, the “active” key must have 0, right?
Can you fix this?
[list]
[] rig ON… active: 1
[
] rif OFF… active: 0
[/list]
Thanks


#2

Ok, Active mean is active in rigs list. But how I know by API if the rig is ON or OFF?
Thanks


#3

Found the solution :slight_smile:

params = {'method': 'getCurrentStats'} give me what I want

Thanks