Skip to content

[EDGE] Official driver of PLCnext platform of Phoenix Contact - #3555

Open
mbreier-sw wants to merge 30 commits into
OpenEMS:developfrom
mbreier-sw:feature/phoenix_contact_official_plcnext_driver_2
Open

[EDGE] Official driver of PLCnext platform of Phoenix Contact#3555
mbreier-sw wants to merge 30 commits into
OpenEMS:developfrom
mbreier-sw:feature/phoenix_contact_official_plcnext_driver_2

Conversation

@mbreier-sw

Copy link
Copy Markdown

New drivers for PLCnext Meter, ESS, PV-Inverter and Load-Circuit/PCU/EZA added using PLCnext REST-API

@mbreier-sw

Copy link
Copy Markdown
Author

@ALL: What about review?

@Sn0w3y
Sn0w3y self-requested a review April 28, 2026 11:56
@Sn0w3y

Sn0w3y commented Apr 28, 2026

Copy link
Copy Markdown
Collaborator

First of all thank you for your Contribution. Just one Question beforehand:

Why is the tools/phoenix needed? To keep the Packages clean i would prefer not to Push "non-generic" Files or "User-Changeable" Files to the Repo except it is impossible to run the Code with it which i don't think here :D @mbreier-sw

In my Opinion and as far as I see this it is not needed and shoul be removed.

@mbreier-sw

mbreier-sw commented Apr 28, 2026

Copy link
Copy Markdown
Author

First of all thank you for your Contribution. Just one Question beforehand:

Why is the tools/phoenix needed? To keep the Packages clean i would prefer not to Push "non-generic" Files or "User-Changeable" Files to the Repo except it is impossible to run the Code with it which i don't think here :D @mbreier-sw

In my Opinion and as far as I see this it is not needed and shoul be removed.

@Sn0w3y : You are totally right, the folder contains supporting scripts for the deployment on PLCnext controller. They shouldn't be checked into the generic "tools" folder.

Update: Files have been moved to the modules "doc" folder, because they can be used as examples to deploy OpenEMS to PLCnext controllers.

@mbreier-sw

Copy link
Copy Markdown
Author

@Sn0w3y : Sorry for bothering ... Are there any news to this PR?

…fficial_plcnext_driver_2'

Fixes due to code review

See merge request pxc/openems!44
@mbreier-sw

Copy link
Copy Markdown
Author

@Sn0w3y : We've finished the internal review of this branch and fixed the issues. What about the official review?

@mbr74 mbr74 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed by SiccoPleuger

@mbreier-sw

Copy link
Copy Markdown
Author

@Sn0w3y & @sfeilmeier : Any update regarding this PR?

@sfeilmeier sfeilmeier left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I started applying Checkstyle, but there is just too many. Could you please fix Checkstyle violations? (see also Coding Guidelines at https://openems.github.io/openems.io/openems/latest/development/coding-guidelines.html#_openems_edge_backend)

We need to find a way on how to handle documentation. The way it is right now, it's quite hidden. We usually just use the readme.adoc files and copy them over to our Antora Docs - see for example: https://openems.github.io/openems.io/openems/latest/edge/bridge.d/io.openems.edge.bridge.http.html; but that's without images.

We could move all your docs to the main /docs folder to have it properly attached to Antora. Or we find a way to integrate the images with the Antora build... At least you should mention the docs inside the readme, otherwise nobody will find them.

I did not yet look into the details of the code logic. Maybe you should have a look at HttpBridgeAuthenticationService which was added recently. It might help with updating the authentication token.

@mbreier-sw

Copy link
Copy Markdown
Author

Will check and adjust this. Thanks for the feedback @sfeilmeier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants