doc:appunti:hardware:sjcam-8pro-ambarella-wifi-api
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
doc:appunti:hardware:sjcam-8pro-ambarella-wifi-api [2022/05/07 09:01] – [Executing API commands at bootstrap] niccolo | doc:appunti:hardware:sjcam-8pro-ambarella-wifi-api [2022/06/17 13:54] – [Using Python to call the API] niccolo | ||
---|---|---|---|
Line 5: | Line 5: | ||
The server on the camera accepts **only one client at a time**. When the camera is connected to a WiFi client on the controlling port 7878/TCP it will **ignore the Auto Power Off** setting and it remains active. | The server on the camera accepts **only one client at a time**. When the camera is connected to a WiFi client on the controlling port 7878/TCP it will **ignore the Auto Power Off** setting and it remains active. | ||
- | The protocol was at least partially **reversed engineered**. | + | The protocol was at least partially **reversed engineered**. |
See my other page about the SJCAM SJ8 Pro action camera: **[[sjcam-8pro]]**, | See my other page about the SJCAM SJ8 Pro action camera: **[[sjcam-8pro]]**, | ||
Line 254: | Line 254: | ||
===== Using Python to call the API ===== | ===== Using Python to call the API ===== | ||
+ | {{.: | ||
{{ .: | {{ .: | ||
I wrote same **Python scripts** to execute simple actions, like **start** and **stop recording**, | I wrote same **Python scripts** to execute simple actions, like **start** and **stop recording**, | ||
+ | On Android I installed also the **Termux: | ||
Line 266: | Line 268: | ||
I was able to **create a script** to select the Color Profile automatically at boot. Remember that, due a firmware bug, the color profile choice is not preserved across reboots, and you have to disable the Gyro Stabilizer before selecting the Color Profile. | I was able to **create a script** to select the Color Profile automatically at boot. Remember that, due a firmware bug, the color profile choice is not preserved across reboots, and you have to disable the Gyro Stabilizer before selecting the Color Profile. | ||
+ | |||
+ | **NOTICE**: I had written this script because I had customized the //SJCAM - Vivid// profile and I wanted to select it at bootstrap, while the camera starts with a default profile which at the time I did not know how to customize. Today BitrateEditor exposes also the default profile, so I can customize every profile and this script is now useless for me. | ||
Executing that script at camera startup is a rather convoluted process: | Executing that script at camera startup is a rather convoluted process: |
doc/appunti/hardware/sjcam-8pro-ambarella-wifi-api.txt · Last modified: 2023/06/16 10:18 by niccolo