JSON Set Power Demonstration

This sample page sends a request to change layout power when clicked. This page will update the power button automatically as the track power is changed elsewhere in JMRI.

The button is grey if the power state is unknown, green if powered on, and red if powered off.