Instructions for creating a simple IP (http) device

I’ve reviewed the DDK instructions but I also saw a post that said most of that has been deprecated.

My use case. I have a raspberry pi controlling a speaker selector via serial and I’ve exposed a simple RESTful API on the pi that translates those commands. I want to create a manual IP device and then tie commands like:

POWER_ON > GET http://192.168.1.1/on
POWER_OFF > GET http://192.168.1.1/off
VOLUME_UP > GET http://192.168.1.1/up
VOLUME_DOWN > GET http://192.168.1.1/down
MUTE > GET http://192.168.1.1/mute
SELECT_SOURCE > GET http://192.168.1.1/1

I see the section the app to create new devices and the top part is intuitive but I don’t know what to enter in the Codes area and I couldn’t find reference documentation.

Thanks!

The DDK provides exactly such samples. To see what they look like in the editor, just import the sample into the editor.