R5905948 /12
Event Master Devices
555
PRESET -a 10
(Recall preset 10 and auto transition)
•
Query Format: N/A
•
Query Response: N/A
B.2 Event Master series processor JSON RPC
remote control
General
JSON (JavaScript Object Notation) is a lightweight format that is used for interchanging data. It is based on a
subset of JavaScript language: the way objects are built in JavaScript.
Introduction to JSON
JSON is built on two structures:
•
A collection of name/value pairs: In various languages, this is realized as an object, record, struct,
dictionary, hash table, keyed list, or associative array.
•
An ordered list of values: In most languages, this is realized as an array, vector, list, or sequence.
Here is an example of JSON data:
{
"firstName": "John",
"lastName": "Smith",
"address": {
"streetAddress": "21 2nd Street",
"city": "New York",
"state": "NY",
"postalCode": 10021
},
"phoneNumbers": [
"212 555-1234",
"646 555-4567"
]
}
How JSON interacts with Event Master processors
JSON uses JSON RPC (REST based) to interact with the Event Master processors such as E2, S3
–
4K, and
EX. JSON-RPC is a remote procedure call protocol encoded in JSON.
JSON-RPC works by sending a request to a server implementing this protocol. The client in that case is
typically software intending to call a single method of a remote system. Multiple input parameters can be
passed to the remote method as an array or object, whereas the method itself can return multiple output data
as well.
There are JSON RPCs defined to perform tasks on the Event Master processor. User needs to send JSON
request through their application or open source application like Postman.
These applications should send request on IP where the Event Master processor is running and fixed port
9999 (Webserver of Event Master processor is running on port 9999).
Use JSON from the web application
To use the JSON APIs from the web application, select the
Settings icon
on the Menu navigation bar, and
select
JSONRPC API
from the web app dashboard.
Summary of Contents for Event Master E2 Series
Page 1: ...ENABLING BRIGHT OUTCOMES User s Guide Event Master Devices...
Page 12: ...R5905948 12 Event Master Devices 12...
Page 24: ...R5905948 12 Event Master Devices 24 Safety...
Page 52: ...R5905948 12 Event Master Devices 52 General...
Page 82: ...R5905948 12 Event Master Devices 82 Hardware orientation...
Page 102: ...R5905948 12 Event Master Devices 102 Front Panel Menu orientation...
Page 272: ...R5905948 12 Event Master Devices 272 Image 6 137 EM GUI orientation...
Page 304: ...R5905948 12 Event Master Devices 304 Updating firmware...
Page 326: ...R5905948 12 Event Master Devices 326 Image 9 28 General operation example...
Page 382: ...R5905948 12 Event Master Devices 382 Preventive maintenance actions...
Page 444: ...R5905948 12 Event Master Devices 444 E2 Maintenance...
Page 528: ...R5905948 12 Event Master Devices 528 EC 200 EC 210 Maintenance...
Page 569: ...569 R5905948 12 Event Master Devices Troubleshooting C...
Page 572: ...R5905948 12 Event Master Devices 572 Troubleshooting...