Sync with server's Port States
NodeKey (received during Node pairing)
SecretKey (received during Node pairing)
Sends a Port States request to the cloud server. Route parameters include the Node and Secret keys received during the Node’s pairing. The body of the message is expected to be a JSON-serialized message of the PortStateReq class.
The server will reply with a Port States Response.
For more information check out State synchronization