Skip to content

Commit

Permalink
Merge branch 'docusaurus-version' of github.com:KasunThushara/wiki-do…
Browse files Browse the repository at this point in the history
…cuments into docusaurus-version
  • Loading branch information
KasunThushara committed Jul 30, 2024
2 parents 059d4b1 + 591a1a8 commit e6ed368
Show file tree
Hide file tree
Showing 466 changed files with 42,571 additions and 1,972 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/search_new_update.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: Algolia Docsearch Action

on:
schedule:
- cron: "0 2 15 * *"
# Trigger removed to never automatically run this action
on: []

jobs:
algolia:
Expand All @@ -11,10 +10,8 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: crawling
# the `uses' attribute must be a path, a Docker image, or owner/repo@ref
uses: darrenjennings/algolia-docsearch-action@master
with:
algolia_api_key: ${{ secrets.ALGOLIA_API_KEY }}
algolia_application_id: ${{ secrets.ALGOLIA_APPLICATION_ID }}
# needs to be inside $GITHUB_WORKSPACE from actions/checkout step
file: docs/wiki_update.json
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -137,4 +137,6 @@ yarn.lock
.vscode/*
.*vs*


# plugin FrontMatter
frontmatter.json
taxonomyDb.json
61 changes: 0 additions & 61 deletions docs/Cloud_Chain/SenseCAP_Mate_APP/SenseCAP_APP.md

This file was deleted.

128 changes: 128 additions & 0 deletions docs/Cloud_Chain/SenseCAP_Mate_APP/sensecraft_app.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
---
description: SenseCraft APP
title: Introduction and Usage
keywords:
- App
image: https://files.seeedstudio.com/wiki/wiki-platform/S-tempor.png
slug: /sensecraft_app
last_update:
date: 7/26/2024
author: Jessie
---



:::tip note
SenseCAP Mate App is officially renamed as `SenseCraft` App!
:::


SenseCraft APP is a powerful APP for data visualization and device management.

## Features

* Save time - provides a scan-and-play experience to enable users to complete the whole configuration in 4 steps
* Works for people with less or no technical background to get started with sensor data easily
* Acquire and view data on clean user interfaces
* Set time intervals: improve the battery efficiency
* Set threshold values: focus on the data you need to take action for - coming soon
* Send alarms if data is out of the safe range - coming soon

## Download

SenseCraft App is available in both iOS and Android versions.

<p style={{textAlign: 'center'}}><img src="https://files.seeedstudio.com/wiki/sensecap_mate_app/mate_app_1.png" alt="pir" width={600} height="auto" /></p>


## Account

SenseCraft supports device configuration and remote management. To use the SenseCAP Portal platform and other functions, please register an account.

:::tip Note
Please select `Global` of Server Location. You can also create an account via the <a href="http://sensecap.seeed.cc">SenseCAP Portal</a>
:::

<p style={{textAlign: 'center'}}><img src="https://files.seeedstudio.com/wiki/SenseCAP/introduction/login-page.PNG" alt="pir" width={300} height="auto" /></p>


## Device

* On the device page, you can add new devices by clicking the `+` in the upper right corner.

<p style={{textAlign: 'center'}}><img src="https://files.seeedstudio.com/wiki/SenseCAP/introduction/add-new.png" alt="pir" width={500} height="auto" /></p>

* Click the target device to view the data.

<p style={{textAlign: 'center'}}><img src="https://files.seeedstudio.com/wiki/SenseCAP/introduction/data.png" alt="pir" width={500} height="auto" /></p>


* Click the bell icon in the upper right corner to enter the message center.

<p style={{textAlign: 'center'}}><img src="https://files.seeedstudio.com/wiki/SenseCAP/introduction/message-center.png" alt="pir" width={500} height="auto" /></p>


## AIGC

AIGC is the AI-powered solution that helps you make the most of your sensor data and unlock the full potential of your sensor data. <br/>
By connecting your SenseCAP sensors to the SenseCAP platform, you can easily collect and analyze data on environmental factors such as temperature, humidity, light, and air quality. Meanwhile, our powerful AI algorithms then use this data to provide you with actionable insights and recommendations that can help you optimize your operations, reduce costs, and improve efficiency.
<p style={{textAlign: 'center'}}><img src="https://files.seeedstudio.com/wiki/SenseCAP/introduction/AIGC.PNG" alt="pir" width={300} height="auto" /></p>


Click [here](https://wiki.seeedstudio.com/How_to_Use_SenseCAP_AI_on_SenseCAP_Portal_and_SenseCAP_Mate_APP/) for more details.


## MALL

<p style={{textAlign: 'center'}}><img src="https://files.seeedstudio.com/wiki/SenseCAP/introduction/MAll.PNG" alt="pir" width={300} height="auto" /></p>

## Event


Add Events to get notification.
<p style={{textAlign: 'center'}}><img src="https://files.seeedstudio.com/wiki/SenseCAP/introduction/add-event.PNG" alt="pir" width={300} height="auto" /></p>

1. Click the Add icon or Add Event button to create an Event alert, Add Event page Conditioins to add condition options, and click the Add button to select a device.

<div style={{textAlign:'center'}}><img src="https://files.seeedstudio.com/wiki/sensecap_mate_app/mate_app_2.png" style={{width:1000, height:'auto'}}/></div>

2. Select the device, select the type of measurement, set the alarm conditions, select the conditions such as greater than or less than drag the progress bar to set the value, click on the next step.

<div style={{textAlign:'center'}}><img src="https://files.seeedstudio.com/wiki/sensecap_mate_app/mate_app_3.png" style={{width:1000, height:'auto'}}/></div>

3. Add Event page Back to normal actions device back to normal, select whether to send a notification, click Save, enter Event name, click Submit to add an Event alarm successfully return to Event list.

<div style={{textAlign:'center'}}><img src="https://files.seeedstudio.com/wiki/sensecap_mate_app/mate_app_4.png" style={{width:1000, height:'auto'}}/></div>

4. Device page, click Message Center to view alarm messages, showing Device warning device triggered alarm push messages, System notification system messages.

<div style={{textAlign:'center'}}><img src="https://files.seeedstudio.com/wiki/sensecap_mate_app/mate_app_5.png" style={{width:1000, height:'auto'}}/></div>

5. Click the alarm message, the device triggers the condition item, push the alarm message, click to view the alarm details. Return to the alarm list status changes to read, click the edit button to select the message, you can read, delete and other operations.

<div style={{textAlign:'center'}}><img src="https://files.seeedstudio.com/wiki/sensecap_mate_app/mate_app_6.png" style={{width:1000, height:'auto'}}/></div>

6. Toggle system messages, click to view system push message details.

<div style={{textAlign:'center'}}><img src="https://files.seeedstudio.com/wiki/sensecap_mate_app/mate_app_7.png" style={{width:1000, height:'auto'}}/></div>



## User

Account details and settings, app version, etc.

<p style={{textAlign: 'center'}}><img src="https://files.seeedstudio.com/wiki/SenseCAP/introduction/user-page.PNG" alt="pir" width={300} height="auto" /></p>

**Delete Account**

<p style={{textAlign: 'center'}}><img src="https://files.seeedstudio.com/wiki/SenseCAP/introduction/delete.png" alt="pir" width={600} height="auto" /></p>



## Bluetooth Configuration

Select the corresponding product for quick binding.

<p style={{textAlign: 'center'}}><img src="https://files.seeedstudio.com/wiki/SenseCAP/introduction/configuration.png" alt="pir" width={500} height="auto" /></p>

Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
---
description: This wiki provides a tutorial on how to use NVStreamer for RTSP video streaming on reComputer Jetson.
title: Getting Started with NVStreamer
keywords:
- reComputer
- NVStreamer
- RTSP
image: https://files.seeedstudio.com/wiki/wiki-platform/S-tempor.png
slug: /getting_started_with_nvstreamer
last_update:
date: 7/24/2024
author: ZhuYaoHui
---
# How to Use NVStreamer for RTSP Streaming on reComputer with Jetson Platform Services

## Introduction
[NVStreamer](https://docs.nvidia.com/moj/nvstreamer/moj-nvstreamer.html) is a software developed by NVIDIA that can store and serve video files, which can then be streamed using the RTSP protocol. It is particularly useful for testing with VST, as it provides an alternative method to cameras for creating video sources as input for VST. Specifically, it offers a mechanism to use specific video files as input for VST testing. VST can be configured to receive RTSP streams as if they were coming from ONVIF-S cameras.

This wiki provides a tutorial on how to use NVStreamer for RTSP video streaming on [reComputer J4012](https://www.seeedstudio.com/reComputer-J4012-p-5586.html).

<div align="center">
<img width={700}
src="https://files.seeedstudio.com/wiki/reComputer-Jetson/A608/recomputerj4012.jpg" />
</div>

## Prerequisites
Before proceeding with the setup process, please ensure that your system meets the following prerequisites:
<div align="center">
<img width={800}
src="https://files.seeedstudio.com/wiki/reComputer-Jetson/Llama-Factory/agx_orin.png" />
</div>

<div class="get_one_now_container" style={{textAlign: 'center'}}>
<a class="get_one_now_item" href="https://www.seeedstudio.com/AGX-Orin-32GB-H01-Kit-p-5569.html?queryID=a07376a957f072a4f755e1832fa0e544&objectID=5569&indexName=bazaar_retailer_products">
<strong><span><font color={'FFFFFF'} size={"4"}> Get One Now 🖱️</font></span></strong>
</a>
</div>

- A reComputer J4012 Orin NX 16G running Ubuntu `22.04` or `later`.
- The Linux system must have sufficient available space to store the video files you will be serving (typically several hundred GB).
- Driver Version: `535.113.01`, Jetpack `6.0` and CUDA Version: `12.2`.
- Make sure that `JetPack` and the related `Jetson services` packages are installed.
```bash
sudo apt-get install nvidia-jetpack
sudo apt install nvidia-jetson-services
```

## Getting Started

### Installation and Startup

**Step 1**: Download the application package **`nvstreamer-1.1.0.tar.gz`** from NGC to your Jetson using this link: [NGC Reference Workflow and Resources](https://catalog.ngc.nvidia.com/orgs/nvidia/teams/jps/resources/reference-workflow-and-resources). You will need to enter your NGC credentials. On the page, use one of the options available in the **`Download`** menu (top right corner):

```bash
tar -xvzf nvstreamer-1.1.0.tar.gz
```

**Step 2**: Run the following commands to increase the operating system socket buffer size. This is to avoid packet loss in cases of videos with high bit rates or large IDR frames. Without increasing these buffer sizes, you may sometimes see blocky artifacts in a few video files:

```bash
sudo sysctl -w net.core.wmem_max=2000000
sudo sysctl -w net.core.rmem_max=2000000
```

**Step 3**: Start NVStreamer using the following command line:

```bash
cd nvstreamer
sudo docker compose -f compose_nvstreamer.yaml up -d --force-recreate
```

To terminate the NVStreamer instance, use the following command:

```bash
cd nvstreamer
sudo docker compose -f compose_nvstreamer.yaml down --remove-orphans
```

### Upload Video to NVStreamer
**Step 1**: Open a web browser (we recommend using Chrome) and navigate to this address (on the same system or another system on the same network).

```markdown
http://[reComputer-IP]:31000
```
<div align="center">
<img width={1000}
src="https://files.seeedstudio.com/wiki/reComputer/Application/nvstreamer/fig1.png" />
</div>

**Step 2**: Select **`File Upload`** and choose the video disk file you want to test as a camera (supported codecs: h264/h265, containers: mp4/mkv). Drag and drop it into the indicated area. If the video file contains B-frames, NVStreamer will automatically transcode the file, which may take a few minutes depending on the file size.
<div align="center">
<img width={1000}
src="https://files.seeedstudio.com/wiki/reComputer/Application/nvstreamer/fig2.png" />
</div>

**Step 3** Once the file is successfully uploaded, a green progress bar in the bottom left corner will complete, indicating the end of the upload process. Then, the transcoding process will begin. After completion, the file name will be displayed in gray, and an RTSP stream with the file name will be automatically created.

<div align="center">
<img width={1000}
src="https://files.seeedstudio.com/wiki/reComputer/Application/nvstreamer/fig3.png" />
</div>

The RTSP streaming tutorial ends at this step. Copy or note down the RTSP address (including "rtsp://"; make sure there are no spaces before it). You will need to enter this address into another user interface discussed in the next step.

### Adding RTSP Stream to VST

**Step 1**: Access VST web server here: **`http://[JETSON-IP]:30080/vst/`**, (Note: HTTP, not HTTPS) where `[JETSON-IP]` is the IP address of the Jetson device on which you are running the docker container.

You will see a UI similar to this:
<div align="center">
<img width={1000}
src="https://files.seeedstudio.com/wiki/reComputer/Application/nvstreamer/fig4.png" />
</div>

- If it fails to start, enter the following in the terminal:

```bash
sudo systemctl start jetson-ingress
sudo systemctl start jetson-monitoring
sudo systemctl start jetson-sys-monitoring
sudo systemctl start jetson-gpu-monitoring
sudo systemctl start jetson-redis
sudo systemctl start jetson-vst
```

**Step 2**: Click the **`Camera Management`** tab and Click on **`RTSP`**, paste the RTSP address copied from NVStreamer UI to **`rtsp url`** box. Fill **`location`** and **`name`** fields with the same string (it will become the camera name) and hit **`Submit`**.
<div align="center">
<img width={1000}
src="https://files.seeedstudio.com/wiki/reComputer/Application/nvstreamer/fig5.png" />
</div>

**Step 3**: You can now click on **`Streams tab`** to see the file.
<div align="center">
<img width={1000}
src="https://files.seeedstudio.com/wiki/reComputer/Application/nvstreamer/fig6.png" />
</div>

## More Details
- NVStreamer on Jetson Orin: https://docs.nvidia.com/moj/nvstreamer/moj-nvstreamer.html

## Tech Support & Product Discussion

Thank you for choosing our products! We are here to provide you with different support to ensure that your experience with our products is as smooth as possible. We offer several communication channels to cater to different preferences and needs.

<div class="button_tech_support_container">
<a href="https://forum.seeedstudio.com/" class="button_forum"></a>
<a href="https://www.seeedstudio.com/contacts" class="button_email"></a>
</div>

<div class="button_tech_support_container">
<a href="https://discord.gg/eWkprNDMU7" class="button_discord"></a>
<a href="https://github.com/Seeed-Studio/wiki-documents/discussions/69" class="button_discussion"></a>
</div>
Loading

0 comments on commit e6ed368

Please sign in to comment.