N5GEH / n5geh.services.controller

This repository contains exemplary implementations of a cloud-based control services that can be connected to a FIWARE platform.
MIT License
2 stars 2 forks source link

PID_controller docker contrainer restarting #3

Open RAWA97 opened 1 year ago

RAWA97 commented 1 year ago

Hi there,

I have the problem, that the docker container "python ./PID4FIWARE…" is always restarting. I went through the tutorial https://github.com/N5GEH/n5geh.services.controller/tree/master/PIDControl, made it until the end, and I can access the control panel.

Attached you can find a screenshot of the running docker containers:

Thanks for helping

2023_01_30_Docker_Container_Restarting

RAWA97 commented 1 year ago

additionally I can’t choose a controller in the drop-down menu of the control panel.

RAWA97 commented 1 year ago

I think, I know where the problem is. The text says, the following:

"Most importantly, you must set up the entity information in PIDControl/config/input.json and PIDControl/config/command.json. The id, type, and the attribute name are the most important information and must be given correctly. Besides, you can also set initial values for the control parameters in PIDControl/config/controller.json. Then you can pass these configuration files into a docker volume with the following command: Then, you can run the image pid4fiware as a container:"

Unfotunatelly there is no code to the sentence: "Then you can pass these configuration files into a docker volume with the following command:".

Is this the problem?

djs0109 commented 6 months ago

Hi @RAWA97 , apologize for the delayed response. I truly appreciate your patience!

We are now reconstructing the settings of the controller framework, because the way it use right now does not reflect state of the art. I would be really appreciate, if you could try it out after this revision process. I will of course let you know, once it is ready to use.

djs0109 commented 6 months ago

@RAWA97 The controller framework is now updated :) please feel free to test