Get latest readings
get_latestRetrieve the current reading for each source on a SolarNetwork node, including weather and irradiance, to determine if a stream is live. Remember that zero generation at night is normal.
Instructions
Get the most recent reading for each source on a node, including weather and irradiance where available. Use this for 'what is happening right now' and to check whether a stream is still live. Note that generation is legitimately zero at night.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | SolarNetwork node ID | |
| sourceIds | No | Restrict to these source IDs; omit for all sources |