-
Couldn't load subscription status.
- Fork 13
Add sensor request to readme #176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add sensor request to readme #176
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates the README by bumping the installation version and adding new code examples demonstrating how to query sensor data.
- Updated installation instructions to use version 0.16.0.
- Added examples for querying metrics for a single microgrid sensor and for multiple microgrids and sensors.
- Updated the command-line tool description to reflect the new functionality.
Comments suppressed due to low confidence (1)
README.md:77
- Consider adding import statements (e.g., for datetime, timedelta, and Metric) at the beginning of the code snippet to clarify dependencies for users copying the example.
sample async for sample in
Signed-off-by: Flora <[email protected]>
b377f2a to
a267e23
Compare
| microgrid_id=1, | ||
| sensor_id=100, | ||
| metrics=[Metric.SENSOR_IRRADIANCE], | ||
| start_dt=datetime.fromisoformat("2024-05-01T00:00:00"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should first change these argument names to {start,end}_time before sending this out.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would be with the next release tough. Should I just change it for sensors & in this PR and then make a new release?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point, let's get this in, then change the arguments and make a new release with this and the receiver changes soon.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed in #178
No description provided.