Actions
Feature #665
closedAdd support for getting device state.
Status:
Closed
Priority:
Immediate
Assignee:
Category:
Command Processing
Target version:
Start date:
15 Aug 2018
Due date:
% Done:
100%
Estimated time:
Severity:
02 - High
Description
This is a command like: "Are the lights on in the office?"
This causes a command to be sent to imrest that causes it to retrieve state data from the "office" lightsw. The return values is the state value which Jarvis must "read out loud."
This requires changes to:- Jarvis: send command and speak response
- imrest: accept command and query correct device - this probably needs to be a generic format that can be easily forwarded to the correct device.
The command is synchronous, that is, the request to imrest will not complete until the request by imrest to lightsw responds. There may need to be timeouts set on this, however.
This command must be used to verify that the response from the device node can be properly deciphered by imrest, which must translate it into a response to Jarvis.
Actions