In nearest future will be released version 1.0. It redefine way how entities and devices are connect, so there is high risk that data collection will be from begining. To aviod it, please swith to special prepared branch old_stable by switching repo to https://github.com/dmslabsbr/hoymiles/tree/old_stable but it will not be longer devlop so will not include new features.
Application to read Hoymiles Gateway Solar Data using unofficial API
I developed this program to integrade my solar system data to the Home Assistant Application through an add-on.
But you can use the application without using the Home Assistant. You just need a machine that runs Python3. It based on mqtt messages, so could be send from any device to MQTT Broker.
Home Assistant add-on instructions
Before run you need to install: https://github.com/eclipse/paho.mqtt.python and https://github.com/psf/requests
git clone https://github.com/dmslabsbr/hoymiles.git
cd hoymiles
python3 -m venv ./hoymiles/
source ./bin/activate
pip3 install paho-mqtt
pip3 install requests
My solar panels communicate with the internet using a DTU-W100 gateway.
But it will probably work with any device that uses the global.hoymiles.com Website. It was tested with DTU-PRO also.
I invite everyone to help in the this tool development.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.