Hey there guys,
I would like to ask what's the easiest method to communicate with Arduino over ethernet (Arduino as server PC as the client (Python script, Node.js script)?
I will probably use python as a client and I will need to control 16 digital outputs on the Arduino mega using ethernet.
So I have been just wondering what's the easiest method to proceed
I have checked some UDP communication between Arduino server and Python PC client
Or Arduino as Modbus TCP server and then using PyModbus and communicate like that
I have also seen some OPC UA server running on Arduino but I guess that's the most complicated method.
The process we're doing is that my colleague will run some shell script on testing devices which we have which will check everything necessary on those devices then he will make some .txt file which will simply tell "OK" or "NOK" I will read this file probably by using Python or Node.js and if the output will be "OK" then I will send the request to Arduino over ethernet to switch digital output in order to shut down the board and in few moments switch it back on (To make testing device reboot - We're testing the repeatability of the board if couldn't happen that some of the components on the board wouldn't start correctly).
And this process will repeat over and over for 16 boards at the same time and if the output of the file will be "NOK" then I will let the device powered so we can check what didn't work on the testing device.
Thank you in advance for any hints!