-
Hi, nach Ewigkeiten in denen ich versucht haben die alten Wechselrichter hier auch mit Modbus auszulesen und immer gescheitert bin, bin ich nach einigem googlen hierauf gestoßen. Macht Sinn, dass Modbus nicht geht... Der Docker ist eigentlich genau das was ich benötige, da ich auch von den neueren Wechselrichtern die Daten in MQTT schieben möchte. Ich habe jetzt nach Readme die Angaben zum MQTT Server und den Pfad zum USB Adapter eingegeben. Dann den Docker mit docker-compose gestartet, MQTT verbindet sich, dann eine Fehlermeldung.
Der USB Adapter funktioniert, habe damit (mit dem gleichen Laptop, EndeavourOS, Linux 6.1.39-1-lts) schon per Modbus andere WR ausgelsen. Was könnte hier der Fehler sein? |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 16 replies
-
Try yasdi command line first, see if that works. Then try yasdimqtt. |
Beta Was this translation helpful? Give feedback.
-
I had the same issue, and this was the solution for me:
I don't remember where I found that solution. Hope it helps! |
Beta Was this translation helpful? Give feedback.
-
I copied the libraries in the build folder manually to /usr/lib. Now yasdi starts with an |
Beta Was this translation helpful? Give feedback.
-
yasdi.ini file was sensitive to extra whitespace in it. try removing any leading or trailing space and tab characters. |
Beta Was this translation helpful? Give feedback.
-
or the yasdi.conf file was the whitespace issue for me. Also check to see which path and file it is trying to use. |
Beta Was this translation helpful? Give feedback.
-
No, I'm barely capable, I should not be giving advice beyond "don't give up, keep trying, you'll get it working". I'm not sure how mine is setup exactly, without spending some time to figure it out again. I'm amazed my RPi does all that it does, with my infrequent work on it. Maybe I mean using docker exec to run something in a container for debugging. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the help, I'll try the steps @pkwagner suggested tomorrow. But doesn't the docker-compose.yaml create a yasdi.ini itself when starting the docker with |
Beta Was this translation helpful? Give feedback.
i copied the yasdi.ini from the yasdishell folder to the folder with the docker-compose.yaml and changed YASDI_DRIVER_ID to 0, because Driver0 is inside the yasdi.ini. Now the container starts and updates every 30 seconds. Data is readable in the MQTT Broker