# Automation Toolbox

**URL:** https://forum.qoitech.com/c/community-support/otii-automation-toolbox/19.md

[Latest](https://forum.qoitech.com/latest.md) · [Categories](https://forum.qoitech.com/categories.md)

---

## [About the Automation Toolbox category](https://forum.qoitech.com/t/about-the-automation-toolbox-category/398)

<div class="topic-metadata">

**Author:** [@vanja79](https://forum.qoitech.com/u/vanja79)\
**Replies:** 0

</div>

About the Automation Toolbox

---

## [How to setup a event queue for handling multiple triggers from GitHub](https://forum.qoitech.com/t/how-to-setup-a-event-queue-for-handling-multiple-triggers-from-github/531)

<div class="topic-metadata">

**Author:** [@suresh](https://forum.qoitech.com/u/suresh)\
**Replies:** 1\
**Last updated:** [March 28, 2025, 4:14pm UTC](https://forum.qoitech.com/t/how-to-setup-a-event-queue-for-handling-multiple-triggers-from-github/531 "2025-03-28T16:14:52Z")

</div>

Hi I would like to check how to setup a wait event queue for handling multiple event triggers from GitHub Actions potentially from multiple repositories to utilize the automation tool box. So that the existing script whi…

---

## [Project\_stop\_recording on Falling Edge/UART Output](https://forum.qoitech.com/t/project-stop-recording-on-falling-edge-uart-output/508)

<div class="topic-metadata">

**Author:** [@moultriemobile](https://forum.qoitech.com/u/moultriemobile)\
**Replies:** 1\
**Last updated:** [September 9, 2024, 5:55am UTC](https://forum.qoitech.com/t/project-stop-recording-on-falling-edge-uart-output/508 "2024-09-09T05:55:25Z")

</div>

Is it possible to trigger project\_stop\_recording based on a falling edge of the current/power measurement? (ex. stop recording when power falls below 10 mA) Is it possible to trigger it based on UART outputs? (ex. stop …

---

## [Data export from command line or python API](https://forum.qoitech.com/t/data-export-from-command-line-or-python-api/504)

<div class="topic-metadata">

**Author:** [@pontus.fuchs](https://forum.qoitech.com/u/pontus.fuchs)\
**Replies:** 2\
**Last updated:** [September 3, 2024, 7:35am UTC](https://forum.qoitech.com/t/data-export-from-command-line-or-python-api/504 "2024-09-03T07:35:24Z")

</div>

Hi, I’m using the otii3 + automation license to measure power in an automated test setup. Is it possible to extract data in CSV or other format from command line or python API? Pontus

---

## [Automating current sink functionality using set\_battery\_profile](https://forum.qoitech.com/t/automating-current-sink-functionality-using-set-battery-profile/487)

<div class="topic-metadata">

**Author:** [@charlie-resilient](https://forum.qoitech.com/u/charlie-resilient)\
**Replies:** 6\
**Last updated:** [March 8, 2024, 5:42pm UTC](https://forum.qoitech.com/t/automating-current-sink-functionality-using-set-battery-profile/487 "2024-03-08T17:42:38Z")

</div>

I’d like to control the battery profiler through the JSON TCP API. Specifically, I’d like to programmatically update the “constant current” value as seen in the image below: I see the set\_battery\_profile() function i…

---

## [Otii Arc Pro - Uart channel delay](https://forum.qoitech.com/t/otii-arc-pro-uart-channel-delay/482)

<div class="topic-metadata">

**Author:** [@federico](https://forum.qoitech.com/u/federico)\
**Replies:** 1\
**Last updated:** [January 18, 2024, 8:36am UTC](https://forum.qoitech.com/t/otii-arc-pro-uart-channel-delay/482 "2024-01-18T08:36:46Z")

</div>

Hi all, I’m using the uart channel of Otii Arc Pro to automate some measurements on Raspberry Pi 3B+ (RPI), but I ran some tests and noticed that the uart channel adds a non-negligible delay in RPI-PC communication. The…

---

## [Transaction id mismatch exception](https://forum.qoitech.com/t/transaction-id-mismatch-exception/457)

<div class="topic-metadata">

**Author:** [@chiara](https://forum.qoitech.com/u/chiara)\
**Replies:** 1\
**Last updated:** [January 13, 2023, 1:52pm UTC](https://forum.qoitech.com/t/transaction-id-mismatch-exception/457 "2023-01-13T13:52:16Z")

</div>

Hi, I have a Pro + automation license, and I use an Otii Arc with the software at version 3.2.4 on Windows. I wrote a Python script that collects small measures at a periodic rate. Unfortunately, after a while, the API…

---

## [Extra character received from UART](https://forum.qoitech.com/t/extra-character-received-from-uart/453)

<div class="topic-metadata">

**Author:** [@chiara](https://forum.qoitech.com/u/chiara)\
**Replies:** 3\
**Last updated:** [November 28, 2022, 9:10am UTC](https://forum.qoitech.com/t/extra-character-received-from-uart/453 "2022-11-28T09:10:20Z")

</div>

Hi, I’m experiencing some issues when reading from the UART. Basically, I periodically send a start message to a raspberry using the UART connection. Once it receives the UART message, the raspberry performs some netwo…

---

## [USB dongle](https://forum.qoitech.com/t/usb-dongle/448)

<div class="topic-metadata">

**Author:** [@solene](https://forum.qoitech.com/u/solene)\
**Replies:** 1\
**Last updated:** [October 13, 2022, 11:17am UTC](https://forum.qoitech.com/t/usb-dongle/448 "2022-10-13T11:17:07Z")

</div>

Hi, Because I had some issues to connect to server, I received from Qoitech an USB dongle to activate my license. This is perfectly working, the license appears when I open otii.exe. But some errors appears now when I…

---

## [Python set\_range in auto mode doesn't work!](https://forum.qoitech.com/t/python-set-range-in-auto-mode-doesnt-work/446)

<div class="topic-metadata">

**Author:** [@phs](https://forum.qoitech.com/u/phs)\
**Replies:** 1\
**Last updated:** [September 15, 2022, 11:46am UTC](https://forum.qoitech.com/t/python-set-range-in-auto-mode-doesnt-work/446 "2022-09-15T11:46:27Z")

</div>

Hy, In a TCP server API call, when we create a new project. We would like to set as like as the GUI of Otii, the main outputs measurement range at auto. We call set\_range() with the ‘low’ parameter with Pyhon client f…

---

## [Saving projects](https://forum.qoitech.com/t/saving-projects/445)

<div class="topic-metadata">

**Author:** [@solene](https://forum.qoitech.com/u/solene)\
**Replies:** 6\
**Last updated:** [September 14, 2022, 6:36am UTC](https://forum.qoitech.com/t/saving-projects/445 "2022-09-14T06:36:46Z")

</div>

Hi, I would like to save my otii project. For this, I use python and write : def saving\_project(project\_id,filename): project\_id.save(filename) then : try: otii\_object = otii.Otii(connection) devices = o…

---

## [Run script on command-line](https://forum.qoitech.com/t/run-script-on-command-line/444)

<div class="topic-metadata">

**Author:** [@solene](https://forum.qoitech.com/u/solene)\
**Replies:** 3\
**Last updated:** [August 29, 2022, 8:22am UTC](https://forum.qoitech.com/t/run-script-on-command-line/444 "2022-08-29T08:22:50Z")

</div>

Hi, I am new on OTII Automation toolbox I need to launch a python script without open manually OTII soft. For this : I open command-line and type : otiicli -s example\_basic\_function\_check.py’ And after that, I can…

---

## [UART scripting](https://forum.qoitech.com/t/uart-scripting/440)

<div class="topic-metadata">

**Author:** [@annecharlotte](https://forum.qoitech.com/u/annecharlotte)\
**Replies:** 2\
**Last updated:** [May 20, 2022, 8:37am UTC](https://forum.qoitech.com/t/uart-scripting/440 "2022-05-20T08:37:19Z")

</div>

Hello, I am running automatic tests on the otii device. I can’t find a way to send the AT-command “write\_tx” command. The sent commands appear in the window only after the project is closed. Could you help me to do thi…

---

## [Running Otiicli Script on Raspberry Pi to Output Current Reading](https://forum.qoitech.com/t/running-otiicli-script-on-raspberry-pi-to-output-current-reading/385)

<div class="topic-metadata">

**Author:** [@liamcmartin](https://forum.qoitech.com/u/liamcmartin)\
**Replies:** 3\
**Last updated:** [August 9, 2021, 12:36pm UTC](https://forum.qoitech.com/t/running-otiicli-script-on-raspberry-pi-to-output-current-reading/385 "2021-08-09T12:36:17Z")

</div>

Hello, I have just paid for the automation licence in the hope I could run command line scripts on the Raspberry Pi to read out current (ideally average current over a period) via USB. I have been on this forum looking…

---

## [Export as CSV with TCP server](https://forum.qoitech.com/t/export-as-csv-with-tcp-server/378)

<div class="topic-metadata">

**Author:** [@tbornon](https://forum.qoitech.com/u/tbornon)\
**Replies:** 2\
**Last updated:** [April 29, 2021, 2:22pm UTC](https://forum.qoitech.com/t/export-as-csv-with-tcp-server/378 "2021-04-29T14:22:41Z")

</div>

Hi, I’m using the TCP server and I’m willing to use it to automate the export of CSV files. I couldn’t find any information about it in the help. Is it feasible ? Regards, Théophile BORNON

---

## [Otiicli does not reserve a license](https://forum.qoitech.com/t/otiicli-does-not-reserve-a-license/286)

<div class="topic-metadata">

**Author:** [@oulab.mbedcloudtesti](https://forum.qoitech.com/u/oulab.mbedcloudtesti)\
**Replies:** 3\
**Last updated:** [March 26, 2021, 12:30pm UTC](https://forum.qoitech.com/t/otiicli-does-not-reserve-a-license/286 "2021-03-26T12:30:57Z")

</div>

Hello, I am trying to use otiicli and follow the example at https://www.qoitech.com/help/otii/tcp-server, however it is unsuccessful with the following output: $ otiicli -t 60 -s -r -v otiicli - Copyright (C) Qoitech A…
