-
Type:
New Feature
-
Resolution: Fixed
-
Priority:
Major
-
Component/s: Setup
-
None
We'd like to support issuing instructions directly to SolarNode, so that external network access is not necessary to send instructions to a node from a system on the same local network as the node.
The complete SolarUser /instr/* API set must be implemented:
- GET /instr
- POST /instr/add
- POST /instr/add/{topic}
- GET /instr/view
- GET /instr/viewActive
- GET /instr/viewPending
- POST /instr/updateState
The nodeId in all API methods can be assumed to be the node's own ID, and must be strictly enforced.
It is not clear how authentication should be handled. The node will most likely not have a TLS enabled HTTP server, so making use of the SN Authentication Scheme V2 would be ideal. However the node will not have access to the security tokens in SolarNetwork, so a way of configuring and managing node-local security tokens would be necessary.