suaveolent / hoymiles-wifi

Library to communicate with Hoymiles DTUs and HMS-XXXXW-2T microinverters via protobuf.
MIT License
54 stars 10 forks source link

Error output as json with commands identify-dtu and identify-inverters #19

Closed pipp37 closed 2 months ago

pipp37 commented 4 months ago

Thanks First thanks for great tool. I made a docker container and found a issue on 2 commands with json output.

Describe the bug Output as json generates some errors with hms800w-2t and DTUL. Normal output runs fine with Response:

Coommands:

To Reproduce Steps to reproduce the behavior:

  1. RUN: hoymiles-wifi --host 192.168.28.193 identify-inverters - OK
  2. RUN: hoymiles-wifi --host 192.168.28.193 identify-inverters --as-json - ERROR
  3. See error

Expected behavior Output should generate json string

Screenshots look at attached logfile.

Linux :

bash-shell-log-error.txt

pipp37 commented 4 months ago

Docker python container: python:3.12.4-slim-bullseye

github-actions[bot] commented 3 months ago

This issue is stale because it has been open for 30 days with no activity.

suaveolent commented 3 months ago

Thanks I somehow missed this issue: will have a look at it.

github-actions[bot] commented 2 months ago

This issue is stale because it has been open for 30 days with no activity.