JSON Set Turnout Demonstration


This sample page sends a request to throw the specified turnout when the turnout image is clicked. This page will update the turnout automatically as the turnout is thrown elsewhere in JMRI.

The icon is grey if the turnout state is unknown, green if closed, and red if open.

Unknown

Click the turnout to set its initial state and start monitoring it.