Getting started
Rant HMI makes screens for the machines on a Rant mesh. You design pages in the browser, and the HMI runs them. A project is a folder of plain text files, which you may also edit by hand.
Run it
rant install hmi
rant run Hmi project=my-hmiOpen http://localhost:6739 to design, and http://localhost:6739/run on an operator's screen.
| Param | Default | Is |
|---|---|---|
project |
the project folder. A new folder starts a new project | |
port |
6739 |
the port it serves on |
bind |
0.0.0.0 |
the address it listens on, 127.0.0.1 for this computer only |
rtc_ports |
any | the ports WebRTC may use, as 6740-6759 |
| To | Run |
|---|---|
| stop it | rant stop Hmi |
| see its output | rant log Hmi |
| run it at every boot | rant enable Hmi project=my-hmi |
A first screen
A new project opens on an empty page.
- In Objects, press + on the Objects folder to make an object for the machine, and set its Mesh at to the machine's folder on the mesh.
- Press + on its Mesh section and pick each entity the screen needs, as its speed.
- In Design, press + beside Layers, then Show an import, and pick the entity and a component to show it.
- Open Run to try it.
The counts at the bottom right of the editor list anything that goes wrong.