rosswarren / epevermodbus

Python library for communicating with EPever solar charge controllers
MIT License
43 stars 18 forks source link

Add switches to command line tool (filters, load control, etc.) #6

Open hrford opened 2 years ago

hrford commented 2 years ago

As the API might be starting to show all the information the API has to offer, I suggest we default to showing everything but could limit to certain sections by using switches.

I'm familiar with argparse and would like to implement this. examples might include --realtimedata, --batteryparameters or --load off

This would allow users without python knowledge to start using the API directly on the CLI. It would also allow the command line tool to become the "demo" for your API.

rosswarren commented 2 years ago

I like the sound of the feature, it sounds useful 👍 once the library gets more complex it might be that I should introduce some automated testing.