Support Portal

AN: RFH5xx with SIG200 REST API

This Application Note is a small reference, how to use RFH5xx in combination with SIG200 and control the device via REST API of the SIG200. It shows the usage with a REST API Client like Insomnia.
Related Products
RFH505-1004301 RADIO FREQUEN. SENSOR
RFH510-1004301 RADIO FREQUEN. SENSOR
RFH515-1004301 RADIO FREQUEN. SENSOR
RFH5xx
Attachments
AN_RFH5xx_RESTAPI.pdf
RFH5xx_Commands_Insomnia.json

Table of Contents

Introduction

The attached Application Note ("AN_RFH5xx_RESTAPI") is a small reference, how to use RFH5xx in combination with SIG200 and control the device via REST API of the SIG200. It shows the usage with a REST API Client like Insomnia. A general introduction to the REST API of SIG200 is given in this YouTube video

generation of code

To generate code for the usage of RFH5xx with SIG200 RESt API for a programming language e.g. Python, C#, etc., you could use Insomnia REST API client like shown in the Application Note. The following steps help you to automatically generate code for easy usage.  

 

1. Create a new request via Insomania

 

2. Name the request and select type of request

3. Specify the request as described in the application note and send it to the SIG200 to test it

4. When successfully tested, right-click on the command in the left column 

5. Select the programming language (e.g. Python), for which the code is needed

6. copy the code into your IDE, e.g Visual Studio Code and test it.

import of commands

In the download section, you find a command set of useful commands for the Insomnia REST Client to work with RFH5xx ("RFH5xx_Commands_Insomnia"). To import these, download the command set and store it on your computer. 

 

1. Open Insomnia Dashboard

2. Click "Import from File"

3. Select the downloaded command file

4. The commands are now displayed in the Dashboard of Insomnia as a "collection"

5. Open the commands by double-click on the "collection". The commands will be displayed on the right side of the window. They are ordered in folders. Just edit the IP Address to one of your SIG200 in the commands and start the communication as described in the Application Note. 

Attention: The old command set had some bugs with 33 Bytes in writing Data. Therefore on 2022/01/12, we updated the command set to V2.
Keywords:
RFH5xx, REST, REST API, SIG200, insomnia, RFH505, RFH510, RFH515