Create a directory with your app name somewhere on your computer. This directory is the Config Bundle that you will later pass to Monogram.
The Config Bundle tells Monogram how to communicate with your app and what inputs are available for your app.
In this example, we made a directory named
myphotoeditor.monogram. Now, add a file named
config.jsonand add the following:
idis a globally unique string that allows Monogram Service to identify your application. It is written in Reverse domain name notation. For example,
com.example.myphotoeditorfor an application named "myphotoeditor" created by a programmer at
nameis a user-friendly string that is shown to the end user.
In this example, the
nameis the identifier that Monogram uses to maintain the connection with the photo editor.
typeis used in this example. Monogram's WebSocket server is located at
ws://localhost:59177. Monogram sends commands to your app over this connection when modules (e.g. Dials) are actuated.