Skip to content
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

Python script for zero export does not run anymore with 24.2.12 #1747

Closed
MarkusPVHM opened this issue Feb 14, 2024 · 6 comments
Closed

Python script for zero export does not run anymore with 24.2.12 #1747

MarkusPVHM opened this issue Feb 14, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@MarkusPVHM
Copy link

What happened?

Runing the python script with the firmware 24.2.12, there is a error no data from DTU. Is there changed somehing in the json export?

To Reproduce Bug

every time, fallback to previous version everthing works

Expected Behavior

make the script from

https://github.com/Selbstbau-PV/Selbstbau-PV-Hoymiles-nulleinspeisung-mit-OpenDTU-und-Shelly3EM
run again swith new firmware

Install Method

Pre-Compiled binary from GitHub

What git-hash/version of OpenDTU?

24.2.12

Relevant log/trace output

No response

Anything else?

No response

@MarkusPVHM MarkusPVHM added the bug Something isn't working label Feb 14, 2024
@MetaChuh
Copy link

MetaChuh commented Feb 14, 2024

@MarkusPVHM

the api has changed.

a multi pass query is now necessary.
this has been implemented for memory consumption and stability reasons, especially if using a larger number of inverters, as the esp32 memory is small.

please use opendtu v24.1.26 until the Selbstbau-PV script has been updated.

basic info:
at the endpoint /api/livedata/status you get the inverter list and basic information.
then to get the inverter data, add the serial to the next request /api/livedata/status?inv=116480148266

see:
Breaking API Changes

example:
#1615 (comment)

ps: @reserve85 : api changes everywhere 😉

@reserve85
Copy link

reserve85 commented Feb 14, 2024

Hi, I updated it already.

https://github.com/reserve85/HoymilesZeroExport

@MetaChuh @MarkusPVHM

@tbnobody
Copy link
Owner

In this case I would close the issue.

@MarkusPVHM
Copy link
Author

In this case I would close the issue.

sorry, I am using another scipt von Selbstbau-PV. Therefore my problem isn't solved.

https://github.com/Selbstbau-PV/Selbstbau-PV-Hoymiles-nulleinspeisung-mit-OpenDTU-und-Shelly3EM

This one is it....

@reserve85
Copy link

reserve85 commented Feb 16, 2024

Then you should open an issue in their repository. It’s not a problem of OpenDTU.
Either you use the old OpenDTU Firmware or the script needs an update to support the newer API of the current Firmware.

Copy link

github-actions bot commented Apr 1, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion or issue for related concerns.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants