Do you have some more information about docker and python? Maybe a documentation to install the docker image? And is python just programmable via console, or like Notered over web, with a special port?
Dear Jesse, thank you very much for the video. This solution really solves a lot of problems. However, it would be nice to install pip this way as well, because without additional libraries, python lacks most of its functionality (like the ssl library). opkg, unfortunately, does not allow you to install pip in standard ways...
Great video! I'm currently calling a .py program containing a function. Do you know of a way to assign the parameters for the function directly from e!Cockpit?
This is a hard question to answer. This always takes some creative thinking and discipline. I have used this for many things like an easier MQTT client, database interaction and like I mentioned in the video, to take advantage of Python libraries which can be very powerful.
If you are looking for updarted solutions and you have Gen2 PFC hardware, please watch this video on Docker. It may solve for the technology gaps when adding python to PFC ruclips.net/video/Gdy33BGlSSU/видео.html
Yes, the package has to align with the firmware. I built this package with the board support package for firmware 11. I can update this in the next several days to support firmware 12.
Excellent @Jessecox! And now, it is even easier to use Docker and Python in our Wago PLCs.
Do you have some more information about docker and python? Maybe a documentation to install the docker image? And is python just programmable via console, or like Notered over web, with a special port?
Hi Jesse,
Does Wago offer any professional training courses?
Dear Jesse, thank you very much for the video. This solution really solves a lot of problems. However, it would be nice to install pip this way as well, because without additional libraries, python lacks most of its functionality (like the ssl library). opkg, unfortunately, does not allow you to install pip in standard ways...
Does this work with Python 3 as well?
Hi Jesse Cox! Its possible to install the module psycopg2 to save data PFC to a PostgreSQL database?
Great video! I'm currently calling a .py program containing a function. Do you know of a way to assign the parameters for the function directly from e!Cockpit?
Hi, Jesse Cox. Can I ask you about python ipk for 15 fw?
Nice tutorial!! How can I install additional packages for python??
Could you describe potential application of such solution, please?
This is a hard question to answer. This always takes some creative thinking and discipline. I have used this for many things like an easier MQTT client, database interaction and like I mentioned in the video, to take advantage of Python libraries which can be very powerful.
How to install additional .py modules on PFC ?
I would like to use pyPDF2
UP
If you are looking for updarted solutions and you have Gen2 PFC hardware, please watch this video on Docker. It may solve for the technology gaps when adding python to PFC ruclips.net/video/Gdy33BGlSSU/видео.html
Ipkg: command not found
If you are using firmware version 12 then you will use opkg instead of ipkg
Jesse Cox ty for responding! But opkg refuses to install the package, wrong architecture :(
Yes, the package has to align with the firmware. I built this package with the board support package for firmware 11. I can update this in the next several days to support firmware 12.
Jesse Cox that would be great!
@@JesseCoxPDX Hello Jesse, did you have time to update the package for FW12 and up?