Question: How to enable the Serial Port and to read values in /dev/ttyAMA0

Hello,
my first post.
My Hardware: Raspberry Pi 3 with HassOS 1.11 and Home Assistant 0.93.2.

So I have one of the new energy meters with S0 Port. An infrared LED sends data like power consumption, ampere…
(here is some pdf of my energy meter)

My aim is to read these values with a photodiode, wich is connected to RXD (GPIO15) and GND. Serial data will be coming to /dev/ttyAMA0

this is my inspiration

But how can I get these values? Serial component says:

With ser2net and socat would 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

please help me, how can I access these values?

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

for reading the string:
cat /dev/ttyUSB0