Not that I’ve noticed [I’m not a ‘power user’ but I do have some familiarity with the FBOS internals] . . Have you searched this forum ?
The FarmbotOS code itself will actually use /dev/ttyUSB0 to talk to the Arduino RAMPS setup in Genesis V1.2 models, so your application can certainly be realized.
There is a (deprecated) Python 3.11 execution environment still there in the latest FBOS but not exactly safe or simple to use
Elixir/Erlang are your friends for this sort of integration, but it’s a rather steep learning curve to begin building your own FarmbotOS versions and to understand where your Nano-handling code should live, etc. I can help with the Elixir code which does the New Sensor Reading (which sends the sensor reading to the WebApp to be stored).
There is also a Lua function to create your new Sensor Reading Pins | FarmBot Developer Documentation
In that sample code you would not use Lua read_pin() function but instead your own function which gathers values from the serial Nano feed.
I would like to know if it’s possible to use a language that’s easier than Erlang or Elixir. For example, using an ESP32 board to connect to a device, and then linking it to a Nano board or a Raspberry Pi.
Yes, FarmBot Inc. have made the Lua language useful for controlling most of Farmbot,
however Lua coding seems to be only available in Sequences (i.e. no long-running Lua execution environment ?)