Support NEO MX inverter (with example) #94
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi @indykoning ,
Thank you very much for hosting and maintaining this wonderful project.
After using the existing functionality, I wanted to be able to retrieve all data from my NEO 800M-X inverter. So I did some additions, which you might like to integrate into your wonderful project. Feel free to merge this PR (existing functionality will not be harmed, new functionality added) or feel free just to take some tiny bits and pieces if you prefer.
Data was gathered using Android Emulator "BlueStack" and HTTP-Toolkit
Most probably, I will not find much time to do more contributions here, as I decided to try to implement Growatt's official public REST API in a new project (pre-pre-alpha stage): https://github.com/timohencken/GrowattPublicApiPy
Key features:
(Huge) example to retrieve and show all Android App screens (and their data) for NEO inverter
Extended docstrings
Type annotations added
source code PEP-compliant
flake8 `growattServersource code formatted using black
black -l 120 `growattServerAdditional endpoints
login_v2()inverter_energy_chart()inverter_panel_energy_chart()tlx_energy_chart()device_detail()device_event_logs()plant_energy_data_v2()plant_power_chart()plant_energy_chart()plant_energy_chart_comparison()update_device_alias()read_inverter_setting()weather()