-
Notifications
You must be signed in to change notification settings - Fork 8
Station Controller API
jeno96 edited this page Dec 20, 2018
·
31 revisions
Status info about a segment if it is enabled or disabled.
Segment State changed messages are sent automatically by StationControllerAPI.
"state" has the current state.
Topic: segment/state
{"segmentID":01,"state":0}
{"segmentID":01,"state":1}
You can request manually to get Segment State current state, to Topic: segment/state.
Just send:
Topic: segment/state
{"segmentID":01,"getstate":"one"} //for one state
{"getstate":"every"} //for every states