Primary test - Otii

Instructions

Step 1 - Download "otii-consumption-analysis" from Github.

Step 2 - Connect otii setup to your computer and run Otii software - open New project.

otii settings:  new project
        project settings
        
        -> arc
        supply: power box
        main voltage: 3,30V
        over current protection: 0,500A
        digital voltage level: check ''same as supply''
        
        -> current 
        check main current
        check auto range
        
        -> voltage
        check GPI1 value
        
        -> logs
        check UART
        baud rate: 115200

Step 3 - In Otii software navigate to File -> Preferences -> Server and click "Start"

Step 4 - Connect the device via "tag-connect".

Step 5 - Run the command with Command Prompt or Visual Studio Code

a) Command Prompt: Navigate to your folder with "otii-consumption-analysis" and run:

python .\otii_analyzer.py -f .\otii_smartparks_rhino.json

b) Visual Studio Code: Navigate to your folder with "otii-consumption-analysis" and run command:

PS C:\Users\Sticker\Documents\otii-consumption-analysis> python .\otii_analyzer.py -f .\otii_smartparks_rhino.json

Step 6 - Log file after a successful test should look like this:

OK 0.0400186968914555 μWh
OK 0.2927783995633925 μWh
OK 0.029815154270834313 μWh
OK 0.012477693194445067 μWh
OK 140.1002367360885 μWh
OK 0.02873970756828776 μWh
OK 9.717506900152328 μWh
.
----------------------------------------------------------------------
Ran 1 test in 47.983s
OK

Step 7 - Rename the device log in Otii software "week number"-"device number".

Last updated