With ser2net and socatwould it also work for sensors connected to a remote system.
To check what kind of data is arriving at your serial port, use a command-line tool like minicom or picocom on Linux, on a macOS you can use screen or on Windows putty .
And when connecting to home assistant with ssh and I type
sudo minicom -D /dev/ttyACM0
there the output: -bash: minicom: command not found
HassOs is only a minimum hypervisor for Hassio.
If you install Hassio on Raspbian Lite you can install minicom & possibly give Hassio access to the serial port. Some people have had Hassio upgrades ignore the custom Docker settings file though.
Obviously, Hassbian or a HASS venv installation on Raspbian Lite are other options that could access the serial port directly.
On any of those other options you should be able to install minicom
Hi,
I can read my serial port device ( Current Cost) that transmit the power and the temperature
on a serial port through the USB connected to my PI with Hassio (/dev/USB0).
I enter in ssh consolle and under /usr/bin you I download :
sudo pip3 install requests pyserial
then I used tty to open the serial streaming that has the parameter.
for open the com port:
/dev stty -F /dev/ttyUSB0 57600 cs8 -cstopb -parenb -icanon min 1 time 1