-
Notifications
You must be signed in to change notification settings - Fork 67
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
SMA Homemanager 2.0 integration #702
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
main.cpp muss nicht geändert werden, die 2 Zeilen können ignoriert werden.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Scheint so als wäre hier nur das changeset aufzuräumen, der Code sieht gut aus. Wie testet man das?
webapp_dist/index.html.gz
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Änderungen an dieser Datei sollen nicht Teil des Changesets sein.
webapp_dist/js/app.js.gz
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Änderungen an dieser Datei sollen nicht Teil des Changesets sein.
webapp_dist/zones.json.gz
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Änderungen an dieser Datei sollen nicht Teil des Changesets sein.
platformio_override.ini
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Änderungen an dieser Datei sollen nicht Teil des Changesets sein.
src/main.cpp
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Du schreibst "main.cpp muss nicht geändert werden, die 2 Zeilen können ignoriert werden.". Warum? Für mich sieht das richtig und gewollt aus?
Hi,
Sobald ein SMA HM 2.0 im Netz ist, werden die Daten angezeigt.
In der Config unter Powermeter muss er natürlich vorher ausgewählt sein.
Die 2 Zeilen in der Main.cpp stehen ja nochmals in der powermeter.cpp, der init würde also 2x gemacht werden. Geht definitiv ohne bei mir im Test…
Grüße
HSS
Am 05.03.2024 um 11:36 schrieb Bernhard Kirchen ***@***.***>:
@schlimmchen requested changes on this pull request.
Scheint so als wäre hier nur das changeset aufzuräumen, der Code sieht gut aus. Wie testet man das?
…________________________________
On webapp_dist/index.html.gz<#702 (comment)>:
Änderungen an dieser Datei sollen nicht Teil des Changesets sein.
________________________________
On webapp_dist/js/app.js.gz<#702 (comment)>:
Änderungen an dieser Datei sollen nicht Teil des Changesets sein.
________________________________
On webapp_dist/zones.json.gz<#702 (comment)>:
Änderungen an dieser Datei sollen nicht Teil des Changesets sein.
________________________________
On platformio_override.ini<#702 (comment)>:
Änderungen an dieser Datei sollen nicht Teil des Changesets sein.
________________________________
On src/main.cpp<#702 (comment)>:
Du schreibst "main.cpp muss nicht geändert werden, die 2 Zeilen können ignoriert werden.". Warum? Für mich sieht das richtig und gewollt aus?
—
Reply to this email directly, view it on GitHub<#702 (review)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABHD322ZSYWGFFZC54AX7D3YWWN2XAVCNFSM6AAAAABD453PXCVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTSMJWGUYTKNJQGY>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Ein Software SMA Homemanger zum testen hier: |
Interesting, even though I changed my wording you also did the same wrong thing as Gumbagubanga in #706 😉 Do not delete the whole files (main.cpp and platformio_override.ini), revert your changes to them, so they appear untouched by this PR. Like |
I think this information (and maybe more in the currently missing contribution-section?) should be added to the upstream project. The main documentation is not clear about that. :-/ |
I am confused... @Gumbagubanga you just now told me in a different context that you have discussions at work about code style. That means you have some sort of professional background with programming. Why is this sort of issue giving you trouble? What should be written in the contribution guideline? "Do not delete files from the repo"? Are you suggesting a list of files not to commit changes to, maybe? |
At work we have a "no generated source code in the repository" policy and directories like webapp_dist wouldn't be found as they'd be placed in .gitignore like the .pio directory in this project. I honestly haven't given much thought on that here, as I assumed that the CI/CD pipeline either uses the user-generated package (bad practice, but not my decision) or overwrites the file for the release. So I'm suggesting putting the webapp_dist directory in the .gitignore as it was done for .pio directory. |
A quick follow-up: As the webapp_dist/ files are currently tracked, adding them to |
This pull request 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. |
Integration SMA Homemanager 2.0