Code : Tout sélectionner
sudo apt-get install minicomCode : Tout sélectionner
sudo minicom --device /dev/ttyUSB21 --baud 9600Code : Tout sélectionner
sudo apt-get install minicomCode : Tout sélectionner
sudo minicom --device /dev/ttyUSB21 --baud 9600Code : Tout sélectionner
2020-11-17 19:11:44.483 Error: ASyncSerial: Error setting options!
2020-11-17 20:03:54.320 Error: (PiTinfo) CRC check failed on Teleinfo line 'PTEC089484 7' using both modes 1 and 2. Line skipped.
2020-11-17 20:31:31.431 Error: (PiTinfo) CRC check failed on Teleinfo line 'ADCO A040 '' using both modes 1 and 2. Line skipped.
2020-11-17 20:31:31.554 Error: (PiTinfo) CRC check failed on Teleinfo line 'IINSPTEC HP.. ' using both modes 1 and 2. Line skipped.
2020-11-17 22:02:30.653 Error: (PiTinfo) CRC check failed on Teleinfo line 'H1681 C' using both modes 1 and 2. Line skipped.
2020-11-18 01:03:30.651 Error: (PiTinfo) CRC check failed on Teleinfo line 'ADCO 03HC A ,' using both modes 1 and 2. Line skipped.
2020-11-18 02:04:30.595 Error: (PiTinfo) CRC check failed on Teleinfo line 'HCHC 01C' using both modes 1 and 2. Line skipped.
2020-11-18 03:05:30.325 Error: (PiTinfo) CRC check failed on Teleinfo line 'HC.. <' using both modes 1 and 2. Line skipped.
2020-11-18 04:06:30.615 Error: (PiTinfo) CRC check failed on Teleinfo line 'MOTDETAT 000' using both modes 1 and 2. Line skipped.
2020-11-18 05:07:30.603 Error: (PiTinfo) CRC check failed on Teleinfo line 'AT 000000 B' using both modes 1 and 2. Line skipped.
2020-11-18 06:08:30.363 Error: Frame #HC1681 C# passed the checksum test but failed analysis
2020-11-18 08:10:30.528 Error: (PiTinfo) CRC check failed on Teleinfo line 'MOTDETAT 000000 B340 )' using both modes 1 and 2. Line skipped.
2020-11-18 09:11:30.569 Error: (PiTinfo) CRC check failed on Teleinfo line 'ISOUSC 60861721681 C' using both modes 1 and 2. Line skipped.
2020-11-18 15:12:30.881 Error: (PiTinfo) CRC check failed on Teleinfo line 'HCHC 0156287TARIF HC.. <' using both modes 1 and 2. Line skipped.
2020-11-18 16:13:30.874 Error: (PiTinfo) CRC check failed on Teleinfo line 'IINST 003 ZP 021108197 0' using both modes 1 and 2. Line skipped.
2020-11-18 17:14:30.794 Error: (PiTinfo) CRC check failed on Teleinfo line 'MOTDETAT0 H' using both modes 1 and 2. Line skipped.
2020-11-18 20:17:53.696 Error: (PiTinfo) CRC check failed on Teleinfo line 'IMAX 0928883 /' using both modes 1 and 2. Line skipped.
2020-11-18 20:26:46.433 Error: Serial Port closed!... Error: End of fileCode : Tout sélectionner
● socat.service - LSB: Start/stop (socat a multipurpose relay)
Loaded: loaded (/etc/init.d/socat; generated)
Active: active (exited) since Tue 2020-11-17 19:11:35 CET; 1 day 12h ago
Docs: man:systemd-sysv-generator(8)
Process: 718 ExecStart=/etc/init.d/socat start (code=exited, status=0/SUCCESS)
nov. 17 19:11:35 rpi4 systemd[1]: Starting LSB: Start/stop (socat a multipurpose
nov. 17 19:11:35 rpi4 socat[718]: Starting multipurpose relay: socat.
nov. 17 19:11:35 rpi4 systemd[1]: Started LSB: Start/stop (socat a multipurpose
lines 1-9/9 (END)
Code : Tout sélectionner
cat: /dev/ttyUSB21: Aucun fichier ou dossier de ce type
Code : Tout sélectionner
sudo service socat stop
sudo service socat start
sudo cat /dev/ttyUSB21 Code : Tout sélectionner
sudo cat /dev/ttyUSB21 Code : Tout sélectionner
sudo minicom --device /dev/ttyUSB21 --baud 9600Code : Tout sélectionner
sudo cp socat-init/socat /etc/init.d/
sudo chmod +x /etc/init.d/socat
sudo update-rc.d socat defaults
sudo cp socat-init/defaults/socat.conf /etc/default/
Code : Tout sélectionner
sudo nano /etc/default/socat.conf
Code : Tout sélectionner
OPTIONS="pty,link=/dev/ttyUSB21,raw,ignoreeof,echo=0 tcp:192.168.1.215:8888"