pi@raspberrypi:~ $ ls 2023-08-10-195325_1680x1050_scrot.png Music qca7000 2023-08-10-195327_1680x1050_scrot.png open-plc-utils Templates Desktop Pictures thinclient_drives Downloads plc-utils-2.1.13 Videos MagPi Public pi@raspberrypi:~ $ cd Downloads pi@raspberrypi:~/Downloads $ ls \FreeV2G-EVSE_v2.0.1_4 FreeV2G-EVSE_v2.0.1_4.zip open-plc-utils-master.zip pi@raspberrypi:~/Downloads $ cd FreeV2G-EVSE_v2.0.1_4 pi@raspberrypi:~/Downloads/FreeV2G-EVSE_v2.0.1_4 $ ls Application.py Evse.py SEVENSTAX_WhiteBeet_UserManual.pdf Battery.py FramingAPIDef.py SpiAdapter.py Charger.py FramingInterface.py SUTAdapter.py EthernetAdapter.py Logger.py Whitebeet.py ev.json __pycache__ Ev.py README.md pi@raspberrypi:~/Downloads/FreeV2G-EVSE_v2.0.1_4 $ python --version Python 2.7.16 pi@raspberrypi:~/Downloads/FreeV2G-EVSE_v2.0.1_4 $ pip list Package Version ----------------- ----------- arandr 0.1.9 asn1crypto 0.24.0 automationhat 0.2.0 blinker 1.4 blinkt 0.1.2 buttonshim 0.0.2 Cap1xxx 0.1.3 certifi 2018.8.24 chardet 3.0.4 Click 7.0 colorama 0.3.7 colorzero 1.1 configparser 3.5.0b2 cookies 2.2.1 cryptography 2.6.1 drumhat 0.1.0 entrypoints 0.3 enum34 1.1.6 envirophat 1.0.0 ExplorerHAT 0.4.2 Flask 1.0.2 fourletterphat 0.1.0 funcsigs 1.0.2 gpiozero 1.5.1 gyp 0.1 idna 2.6 ipaddress 1.0.17 itsdangerous 0.24 Jinja2 2.10 keyring 17.1.1 keyrings.alt 3.1.1 MarkupSafe 1.1.0 microdotphat 0.2.1 mock 2.0.0 mote 0.0.4 motephat 0.0.3 numpy 1.16.2 oauthlib 2.1.0 olefile 0.46 pantilthat 0.0.7 pbr 4.2.0 phatbeat 0.1.1 pianohat 0.1.0 picamera 1.13 picraft 1.0 piglow 1.2.5 pigpio 1.44 Pillow 5.4.1 pip 18.1 pycairo 1.16.2 pycrypto 2.6.1 pygame 1.9.4.post1 PyGObject 3.30.4 pyinotify 0.9.6 PyJWT 1.7.0 pyOpenSSL 19.0.0 pyserial 3.4 pyxdg 0.25 rainbowhat 0.1.0 requests 2.21.0 requests-oauthlib 1.0.0 responses 0.9.0 RPi.GPIO 0.7.0 RTIMULib 7.2.1 scrollphat 0.0.7 scrollphathd 1.2.1 SecretStorage 2.3.1 sense-emu 1.1 sense-hat 2.2.0 setuptools 40.8.0 simplejson 3.16.0 six 1.12.0 skywriter 0.0.7 sn3218 1.2.7 spidev 3.4 touchphat 0.0.1 twython 3.7.0 unicornhathd 0.0.4 urllib3 1.24.1 Werkzeug 0.14.1 wheel 0.32.3 pi@raspberrypi:~/Downloads/FreeV2G-EVSE_v2.0.1_4 $ python3 --version \Python 3.7.3 pi@raspberrypi:~/Downloads/FreeV2G-EVSE_v2.0.1_4 $ python3 Application.py spi -i spidev0.0 -m C4:93:00:22:22:22 -r EVSE Traceback (most recent call last): File "Application.py", line 6, in from Ev import * File "/home/pi/Downloads/FreeV2G-EVSE_v2.0.1_4/Ev.py", line 4, in from scapy.automaton import Message ModuleNotFoundError: No module named 'scapy' pi@raspberrypi:~/Downloads/FreeV2G-EVSE_v2.0.1_4 $ sudo python3 Application.py spi -i spidev0.0 -m C4:93:00:22:22:22 -r EVSE Traceback (most recent call last): File "Application.py", line 6, in from Ev import * File "/home/pi/Downloads/FreeV2G-EVSE_v2.0.1_4/Ev.py", line 4, in from scapy.automaton import Message ModuleNotFoundError: No module named 'scapy' pi@raspberrypi:~/Downloads/FreeV2G-EVSE_v2.0.1_4 $ sudo python Application.py spi -i spidev0.0 -m C4:93:00:22:22:22 -r EVSE Traceback (most recent call last): File "Application.py", line 5, in from Evse import * File "/home/pi/Downloads/FreeV2G-EVSE_v2.0.1_4/Evse.py", line 9 print(f"WHITE-beet-EI firmware version: {self.whitebeet.version}") ^ SyntaxError: invalid syntax pi@raspberrypi:~/Downloads/FreeV2G-EVSE_v2.0.1_4 $ python Application.py spi -i spidev0.0 -m C4:93:00:22:22:22 -r EVSE Traceback (most recent call last): File "Application.py", line 5, in from Evse import * File "/home/pi/Downloads/FreeV2G-EVSE_v2.0.1_4/Evse.py", line 9 print(f"WHITE-beet-EI firmware version: {self.whitebeet.version}") ^ SyntaxError: invalid syntax pi@raspberrypi:~/Downloads/FreeV2G-EVSE_v2.0.1_4 $ python3 Application.py spi -i spidev0.0 -m C4:93:00:22:22:22 -r EVSE Traceback (most recent call last): File "Application.py", line 6, in from Ev import * File "/home/pi/Downloads/FreeV2G-EVSE_v2.0.1_4/Ev.py", line 4, in from scapy.automaton import Message ModuleNotFoundError: No module named 'scapy' pi@raspberrypi:~/Downloads/FreeV2G-EVSE_v2.0.1_4 $ sudo pip install scapy Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting scapy Downloading https://www.piwheels.org/simple/scapy/scapy-2.5.0-py2.py3-none-any.whl (1.4MB) 100% |████████████████████████████████| 1.5MB 133kB/s Installing collected packages: scapy Successfully installed scapy-2.5.0 pi@raspberrypi:~/Downloads/FreeV2G-EVSE_v2.0.1_4 $ pip install scapy Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Requirement already satisfied: scapy in /usr/local/lib/python2.7/dist-packages (2.5.0) pi@raspberrypi:~/Downloads/FreeV2G-EVSE_v2.0.1_4 $ python3 Application.py spi -i spidev0.0 -m C4:93:00:22:22:22 -r EVSE Traceback (most recent call last): File "Application.py", line 6, in from Ev import * File "/home/pi/Downloads/FreeV2G-EVSE_v2.0.1_4/Ev.py", line 4, in from scapy.automaton import Message ModuleNotFoundError: No module named 'scapy' pi@raspberrypi:~/Downloads/FreeV2G-EVSE_v2.0.1_4 $ sudo python3 Application.py spi -i spidev0.0 -m C4:93:00:22:22:22 -r EVSE Traceback (most recent call last): File "Application.py", line 6, in from Ev import * File "/home/pi/Downloads/FreeV2G-EVSE_v2.0.1_4/Ev.py", line 4, in from scapy.automaton import Message ModuleNotFoundError: No module named 'scapy' pi@raspberrypi:~/Downloads/FreeV2G-EVSE_v2.0.1_4 $ pip install scapy Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Requirement already satisfied: scapy in /usr/local/lib/python2.7/dist-packages (2.5.0) pi@raspberrypi:~/Downloads/FreeV2G-EVSE_v2.0.1_4 $ pip3 install scapy Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting scapy Downloading https://www.piwheels.org/simple/scapy/scapy-2.5.0-py2.py3-none-any.whl (1.4MB) 100% |████████████████████████████████| 1.5MB 155kB/s Installing collected packages: scapy The script scapy is installed in '/home/pi/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. Successfully installed scapy-2.5.0 pi@raspberrypi:~/Downloads/FreeV2G-EVSE_v2.0.1_4 $ sudo python3 Application.py spi -i spidev0.0 -m C4:93:00:22:22:22 -r EVSE Traceback (most recent call last): File "Application.py", line 6, in from Ev import * File "/home/pi/Downloads/FreeV2G-EVSE_v2.0.1_4/Ev.py", line 4, in from scapy.automaton import Message ModuleNotFoundError: No module named 'scapy' pi@raspberrypi:~/Downloads/FreeV2G-EVSE_v2.0.1_4 $ sudo python3 Application.py spi -i spidev0.0 -m C4:93:00:22:22:22 -r EVSE Traceback (most recent call last): File "Application.py", line 6, in from Ev import * File "/home/pi/Downloads/FreeV2G-EVSE_v2.0.1_4/Ev.py", line 4, in from scapy.automaton import Message ModuleNotFoundError: No module named 'scapy' pi@raspberrypi:~/Downloads/FreeV2G-EVSE_v2.0.1_4 $ gpio readall +-----+-----+---------+------+---+---Pi 3B--+---+------+---------+-----+-----+ | BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM | +-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+ | | | 3.3v | | | 1 || 2 | | | 5v | | | | 2 | 8 | SDA.1 | IN | 1 | 3 || 4 | | | 5v | | | | 3 | 9 | SCL.1 | IN | 1 | 5 || 6 | | | 0v | | | | 4 | 7 | GPIO. 7 | IN | 1 | 7 || 8 | 1 | ALT5 | TxD | 15 | 14 | | | | 0v | | | 9 || 10 | 1 | ALT5 | RxD | 16 | 15 | | 17 | 0 | GPIO. 0 | IN | 0 | 11 || 12 | 0 | IN | GPIO. 1 | 1 | 18 | | 27 | 2 | GPIO. 2 | IN | 0 | 13 || 14 | | | 0v | | | | 22 | 3 | GPIO. 3 | IN | 0 | 15 || 16 | 0 | IN | GPIO. 4 | 4 | 23 | | | | 3.3v | | | 17 || 18 | 0 | IN | GPIO. 5 | 5 | 24 | | 10 | 12 | MOSI | ALT0 | 0 | 19 || 20 | | | 0v | | | | 9 | 13 | MISO | ALT0 | 0 | 21 || 22 | 0 | IN | GPIO. 6 | 6 | 25 | | 11 | 14 | SCLK | ALT0 | 1 | 23 || 24 | 1 | OUT | CE0 | 10 | 8 | | | | 0v | | | 25 || 26 | 1 | OUT | CE1 | 11 | 7 | | 0 | 30 | SDA.0 | IN | 1 | 27 || 28 | 1 | IN | SCL.0 | 31 | 1 | | 5 | 21 | GPIO.21 | IN | 1 | 29 || 30 | | | 0v | | | | 6 | 22 | GPIO.22 | IN | 1 | 31 || 32 | 0 | IN | GPIO.26 | 26 | 12 | | 13 | 23 | GPIO.23 | IN | 0 | 33 || 34 | | | 0v | | | | 19 | 24 | GPIO.24 | IN | 0 | 35 || 36 | 0 | IN | GPIO.27 | 27 | 16 | | 26 | 25 | GPIO.25 | IN | 0 | 37 || 38 | 0 | IN | GPIO.28 | 28 | 20 | | | | 0v | | | 39 || 40 | 0 | IN | GPIO.29 | 29 | 21 | +-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+ | BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM | +-----+-----+---------+------+---+---Pi 3B--+---+------+---------+-----+-----+ pi@raspberrypi:~/Downloads/FreeV2G-EVSE_v2.0.1_4 $ gpio readall +-----+-----+---------+------+---+---Pi 3B--+---+------+---------+-----+-----+ | BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM | +-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+ | | | 3.3v | | | 1 || 2 | | | 5v | | | | 2 | 8 | SDA.1 | IN | 1 | 3 || 4 | | | 5v | | | | 3 | 9 | SCL.1 | IN | 1 | 5 || 6 | | | 0v | | | | 4 | 7 | GPIO. 7 | IN | 1 | 7 || 8 | 1 | ALT5 | TxD | 15 | 14 | | | | 0v | | | 9 || 10 | 1 | ALT5 | RxD | 16 | 15 | | 17 | 0 | GPIO. 0 | IN | 0 | 11 || 12 | 0 | IN | GPIO. 1 | 1 | 18 | | 27 | 2 | GPIO. 2 | IN | 0 | 13 || 14 | | | 0v | | | | 22 | 3 | GPIO. 3 | IN | 0 | 15 || 16 | 0 | IN | GPIO. 4 | 4 | 23 | | | | 3.3v | | | 17 || 18 | 0 | IN | GPIO. 5 | 5 | 24 | | 10 | 12 | MOSI | ALT0 | 0 | 19 || 20 | | | 0v | | | | 9 | 13 | MISO | ALT0 | 0 | 21 || 22 | 0 | IN | GPIO. 6 | 6 | 25 | | 11 | 14 | SCLK | ALT0 | 1 | 23 || 24 | 1 | OUT | CE0 | 10 | 8 | | | | 0v | | | 25 || 26 | 1 | OUT | CE1 | 11 | 7 | | 0 | 30 | SDA.0 | IN | 1 | 27 || 28 | 1 | IN | SCL.0 | 31 | 1 | | 5 | 21 | GPIO.21 | IN | 1 | 29 || 30 | | | 0v | | | | 6 | 22 | GPIO.22 | IN | 1 | 31 || 32 | 0 | IN | GPIO.26 | 26 | 12 | | 13 | 23 | GPIO.23 | IN | 0 | 33 || 34 | | | 0v | | | | 19 | 24 | GPIO.24 | IN | 0 | 35 || 36 | 0 | IN | GPIO.27 | 27 | 16 | | 26 | 25 | GPIO.25 | IN | 0 | 37 || 38 | 0 | IN | GPIO.28 | 28 | 20 | | | | 0v | | | 39 || 40 | 0 | IN | GPIO.29 | 29 | 21 | +-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+ | BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM | +-----+-----+---------+------+---+---Pi 3B--+---+------+---------+-----+-----+ pi@raspberrypi:~/Downloads/FreeV2G-EVSE_v2.0.1_4 $ sudo python3 Application.py spi -i spidev0.0 -m C4:93:00:22:22:22 -r EVSE Traceback (most recent call last): File "Application.py", line 6, in from Ev import * File "/home/pi/Downloads/FreeV2G-EVSE_v2.0.1_4/Ev.py", line 4, in from scapy.automaton import Message ModuleNotFoundError: No module named 'scapy' pi@raspberrypi:~/Downloads/FreeV2G-EVSE_v2.0.1_4 $ sudo python3 Application.py spi -i spidev0.0 -m C4:93:00:22:22:22 -r EVSE Traceback (most recent call last): File "Application.py", line 6, in from Ev import * File "/home/pi/Downloads/FreeV2G-EVSE_v2.0.1_4/Ev.py", line 4, in from scapy.automaton import Message ModuleNotFoundError: No module named 'scapy' pi@raspberrypi:~/Downloads/FreeV2G-EVSE_v2.0.1_4 $ gpio readall +-----+-----+---------+------+---+---Pi 3B--+---+------+---------+-----+-----+ | BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM | +-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+ | | | 3.3v | | | 1 || 2 | | | 5v | | | | 2 | 8 | SDA.1 | IN | 1 | 3 || 4 | | | 5v | | | | 3 | 9 | SCL.1 | IN | 1 | 5 || 6 | | | 0v | | | | 4 | 7 | GPIO. 7 | IN | 1 | 7 || 8 | 1 | ALT5 | TxD | 15 | 14 | | | | 0v | | | 9 || 10 | 1 | ALT5 | RxD | 16 | 15 | | 17 | 0 | GPIO. 0 | IN | 0 | 11 || 12 | 0 | IN | GPIO. 1 | 1 | 18 | | 27 | 2 | GPIO. 2 | IN | 0 | 13 || 14 | | | 0v | | | | 22 | 3 | GPIO. 3 | IN | 0 | 15 || 16 | 0 | IN | GPIO. 4 | 4 | 23 | | | | 3.3v | | | 17 || 18 | 0 | IN | GPIO. 5 | 5 | 24 | | 10 | 12 | MOSI | ALT0 | 0 | 19 || 20 | | | 0v | | | | 9 | 13 | MISO | ALT0 | 0 | 21 || 22 | 0 | IN | GPIO. 6 | 6 | 25 | | 11 | 14 | SCLK | ALT0 | 1 | 23 || 24 | 1 | OUT | CE0 | 10 | 8 | | | | 0v | | | 25 || 26 | 1 | OUT | CE1 | 11 | 7 | | 0 | 30 | SDA.0 | IN | 1 | 27 || 28 | 1 | IN | SCL.0 | 31 | 1 | | 5 | 21 | GPIO.21 | IN | 1 | 29 || 30 | | | 0v | | | | 6 | 22 | GPIO.22 | IN | 1 | 31 || 32 | 0 | IN | GPIO.26 | 26 | 12 | | 13 | 23 | GPIO.23 | IN | 0 | 33 || 34 | | | 0v | | | | 19 | 24 | GPIO.24 | IN | 0 | 35 || 36 | 0 | IN | GPIO.27 | 27 | 16 | | 26 | 25 | GPIO.25 | IN | 0 | 37 || 38 | 0 | IN | GPIO.28 | 28 | 20 | | | | 0v | | | 39 || 40 | 0 | IN | GPIO.29 | 29 | 21 | +-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+ | BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM | +-----+-----+---------+------+---+---Pi 3B--+---+------+---------+-----+-----+ pi@raspberrypi:~/Downloads/FreeV2G-EVSE_v2.0.1_4 $ sudo python3 Application.py spi -i spidev0.0 -m C4:93:00:21:50:BB -r EVSE Traceback (most recent call last): File "Application.py", line 6, in from Ev import * File "/home/pi/Downloads/FreeV2G-EVSE_v2.0.1_4/Ev.py", line 4, in from scapy.automaton import Message ModuleNotFoundError: No module named 'scapy' pi@raspberrypi:~/Downloads/FreeV2G-EVSE_v2.0.1_4 $ sudo python3 Application.py spi -i spidev0.0 -m C4:93:00:21:50:BB -r EVSE Traceback (most recent call last): File "Application.py", line 6, in from Ev import * File "/home/pi/Downloads/FreeV2G-EVSE_v2.0.1_4/Ev.py", line 4, in from scapy.automaton import Message ModuleNotFoundError: No module named 'scapy' pi@raspberrypi:~/Downloads/FreeV2G-EVSE_v2.0.1_4 $ pip list Package Version ----------------- ----------- arandr 0.1.9 asn1crypto 0.24.0 automationhat 0.2.0 blinker 1.4 blinkt 0.1.2 buttonshim 0.0.2 Cap1xxx 0.1.3 certifi 2018.8.24 chardet 3.0.4 Click 7.0 colorama 0.3.7 colorzero 1.1 configparser 3.5.0b2 cookies 2.2.1 cryptography 2.6.1 drumhat 0.1.0 entrypoints 0.3 enum34 1.1.6 envirophat 1.0.0 ExplorerHAT 0.4.2 Flask 1.0.2 fourletterphat 0.1.0 funcsigs 1.0.2 gpiozero 1.5.1 gyp 0.1 idna 2.6 ipaddress 1.0.17 itsdangerous 0.24 Jinja2 2.10 keyring 17.1.1 keyrings.alt 3.1.1 MarkupSafe 1.1.0 microdotphat 0.2.1 mock 2.0.0 mote 0.0.4 motephat 0.0.3 numpy 1.16.2 oauthlib 2.1.0 olefile 0.46 pantilthat 0.0.7 pbr 4.2.0 phatbeat 0.1.1 pianohat 0.1.0 picamera 1.13 picraft 1.0 piglow 1.2.5 pigpio 1.44 Pillow 5.4.1 pip 18.1 pycairo 1.16.2 pycrypto 2.6.1 pygame 1.9.4.post1 PyGObject 3.30.4 pyinotify 0.9.6 PyJWT 1.7.0 pyOpenSSL 19.0.0 pyserial 3.4 pyxdg 0.25 rainbowhat 0.1.0 requests 2.21.0 requests-oauthlib 1.0.0 responses 0.9.0 RPi.GPIO 0.7.0 RTIMULib 7.2.1 scapy 2.5.0 scrollphat 0.0.7 scrollphathd 1.2.1 SecretStorage 2.3.1 sense-emu 1.1 sense-hat 2.2.0 setuptools 40.8.0 simplejson 3.16.0 six 1.12.0 skywriter 0.0.7 sn3218 1.2.7 spidev 3.4 touchphat 0.0.1 twython 3.7.0 unicornhathd 0.0.4 urllib3 1.24.1 Werkzeug 0.14.1 wheel 0.32.3 pi@raspberrypi:~/Downloads/FreeV2G-EVSE_v2.0.1_4 $ sudo python3 Application.py spi -i spidev0.0 -m C4:93:00:21:50:BB -r EVSE Traceback (most recent call last): File "Application.py", line 6, in from Ev import * File "/home/pi/Downloads/FreeV2G-EVSE_v2.0.1_4/Ev.py", line 4, in from scapy.automaton import Message ModuleNotFoundError: No module named 'scapy' pi@raspberrypi:~/Downloads/FreeV2G-EVSE_v2.0.1_4 $ sudo python Application.py spi -i spidev0.0 -m C4:93:00:21:50:BB -r EVSE Traceback (most recent call last): File "Application.py", line 5, in from Evse import * File "/home/pi/Downloads/FreeV2G-EVSE_v2.0.1_4/Evse.py", line 9 print(f"WHITE-beet-EI firmware version: {self.whitebeet.version}") ^ SyntaxError: invalid syntax pi@raspberrypi:~/Downloads/FreeV2G-EVSE_v2.0.1_4 $ sudo python Application.py spi -i spidev0.0 -m C4:93:00:21:50:BB -r EVSE Traceback (most recent call last): File "Application.py", line 5, in from Evse import * File "/home/pi/Downloads/FreeV2G-EVSE_v2.0.1_4/Evse.py", line 9 print(f"WHITE-beet-EI firmware version: {self.whitebeet.version}") ^ SyntaxError: invalid syntax pi@raspberrypi:~/Downloads/FreeV2G-EVSE_v2.0.1_4 $ sudo python3 Application.py spi -i spidev0.0 -m C4:93:00:21:50:BB -r EVSE Traceback (most recent call last): File "Application.py", line 6, in from Ev import * File "/home/pi/Downloads/FreeV2G-EVSE_v2.0.1_4/Ev.py", line 4, in from scapy.automaton import Message ModuleNotFoundError: No module named 'scapy' pi@raspberrypi:~/Downloads/FreeV2G-EVSE_v2.0.1_4 $ sudo python Application.py spi -i spidev0.0 -m C4:93:00:21:50:BB -r EVSE^C pi@raspberrypi:~/Downloads/FreeV2G-EVSE_v2.0.1_4 $ ls Application.py Evse.py SEVENSTAX_WhiteBeet_UserManual.pdf Battery.py FramingAPIDef.py SpiAdapter.py Charger.py FramingInterface.py SUTAdapter.py EthernetAdapter.py Logger.py Whitebeet.py ev.json __pycache__ Ev.py README.md pi@raspberrypi:~/Downloads/FreeV2G-EVSE_v2.0.1_4 $ cd.. bash: cd..: command not found pi@raspberrypi:~/Downloads/FreeV2G-EVSE_v2.0.1_4 $ ls Application.py Evse.py SEVENSTAX_WhiteBeet_UserManual.pdf Battery.py FramingAPIDef.py SpiAdapter.py Charger.py FramingInterface.py SUTAdapter.py EthernetAdapter.py Logger.py Whitebeet.py ev.json __pycache__ Ev.py README.md pi@raspberrypi:~/Downloads/FreeV2G-EVSE_v2.0.1_4 $ cd.. bash: cd..: command not found pi@raspberrypi:~/Downloads/FreeV2G-EVSE_v2.0.1_4 $ cd... bash: cd...: command not found pi@raspberrypi:~/Downloads/FreeV2G-EVSE_v2.0.1_4 $ cd pi@raspberrypi:~ $ ls 2023-08-10-195325_1680x1050_scrot.png Music qca7000 2023-08-10-195327_1680x1050_scrot.png open-plc-utils Templates Desktop Pictures thinclient_drives Downloads plc-utils-2.1.13 Videos MagPi Public pi@raspberrypi:~ $ cd Downloads pi@raspberrypi:~/Downloads $ ls FreeV2G-EVSE_v2.0.1_4 FreeV2G-plug_and_charge FreeV2G-EVSE_v2.0.1_4.zip FreeV2G-plug_and_charge.zip FreeV2G-master open-plc-utils-master.zip FreeV2G-master.zip pi@raspberrypi:~/Downloads $ cd FreeV2G-plug_and_charge pi@raspberrypi:~/Downloads/FreeV2G-plug_and_charge $ ls Application.py Ev.py README.md Battery.py Evse.py SEVENSTAX_WhiteBeet_UserManual.pdf Charger.py FramingAPIDef.py SpiAdapter.py EthernetAdapter.py FramingInterface.py SUTAdapter.py ev.json Logger.py Whitebeet.py pi@raspberrypi:~/Downloads/FreeV2G-plug_and_charge $ sudo python3 Application.py spi -i spidev0.0 -m C4:93:00:21:50:BB -r EVSE Traceback (most recent call last): File "Application.py", line 6, in from Ev import * File "/home/pi/Downloads/FreeV2G-plug_and_charge/Ev.py", line 4, in from scapy.automaton import Message ModuleNotFoundError: No module named 'scapy' pi@raspberrypi:~/Downloads/FreeV2G-plug_and_charge $ sudo python Application.py spi -i spidev0.0 -m C4:93:00:21:50:BB -r EVSE Traceback (most recent call last): File "Application.py", line 5, in from Evse import * File "/home/pi/Downloads/FreeV2G-plug_and_charge/Evse.py", line 2, in from Whitebeet import * File "/home/pi/Downloads/FreeV2G-plug_and_charge/Whitebeet.py", line 7, in from FramingInterface import * File "/home/pi/Downloads/FreeV2G-plug_and_charge/FramingInterface.py", line 10 def log(x): return print(x) ^ SyntaxError: invalid syntax pi@raspberrypi:~/Downloads/FreeV2G-plug_and_charge $ python Application.py spi -i spidev0.0 -m C4:93:00:21:50:BB -r EVSE Traceback (most recent call last): File "Application.py", line 5, in from Evse import * File "/home/pi/Downloads/FreeV2G-plug_and_charge/Evse.py", line 2, in from Whitebeet import * File "/home/pi/Downloads/FreeV2G-plug_and_charge/Whitebeet.py", line 7, in from FramingInterface import * File "/home/pi/Downloads/FreeV2G-plug_and_charge/FramingInterface.py", line 10 def log(x): return print(x) ^ SyntaxError: invalid syntax pi@raspberrypi:~/Downloads/FreeV2G-plug_and_charge $ python3 Application.py spi -i spidev0.0 -m C4:93:00:21:50:BB -r EVSE Welcome to Codico Whitebeet EVSE reference implementation Initiating framing interface Traceback (most recent call last): File "/home/pi/Downloads/FreeV2G-plug_and_charge/Whitebeet.py", line 104, in __init__ self.framing.initialize_framing(iftype, iface, None) File "/home/pi/Downloads/FreeV2G-plug_and_charge/FramingInterface.py", line 66, in initialize_framing self.sut_adapter.start() File "/home/pi/Downloads/FreeV2G-plug_and_charge/SpiAdapter.py", line 188, in start self.spi.open(bus, device) FileNotFoundError: [Errno 2] No such file or directory During handling of the above exception, another exception occurred: Traceback (most recent call last): File "Application.py", line 61, in with Evse(args.interface_type, args.interface, args.mac) as evse: File "/home/pi/Downloads/FreeV2G-plug_and_charge/Evse.py", line 8, in __init__ self.whitebeet = Whitebeet(iftype, iface, mac) File "/home/pi/Downloads/FreeV2G-plug_and_charge/Whitebeet.py", line 114, in __init__ raise ConnectionError("Failed to initialize the framing interface on \"{}\"".format(self.framing.sut_interface)) ConnectionError: Failed to initialize the framing interface on "" pi@raspberrypi:~/Downloads/FreeV2G-plug_and_charge $ cd pi@raspberrypi:~ $ cd Downloads pi@raspberrypi:~/Downloads $ ls FreeV2G-EVSE_v2.0.1_4 FreeV2G-plug_and_charge FreeV2G-EVSE_v2.0.1_4.zip FreeV2G-plug_and_charge.zip FreeV2G-master open-plc-utils-master.zip FreeV2G-master.zip pi@raspberrypi:~/Downloads $ cd FreeV2G-master pi@raspberrypi:~/Downloads/FreeV2G-master $ ls Application.py Ev.py README.md Battery.py Evse.py SEVENSTAX_WhiteBeet_UserManual.pdf Charger.py FramingAPIDef.py SpiAdapter.py EthernetAdapter.py FramingInterface.py SUTAdapter.py ev.json Logger.py Whitebeet.py pi@raspberrypi:~/Downloads/FreeV2G-master $ python3 Application.py spi -i spidev0.0 -m C4:93:00:21:50:BB -r EVSE Welcome to Codico Whitebeet EVSE reference implementation Initiating framing interface Traceback (most recent call last): File "/home/pi/Downloads/FreeV2G-master/Whitebeet.py", line 109, in __init__ self.framing.initialize_framing(iftype, iface, None) File "/home/pi/Downloads/FreeV2G-master/FramingInterface.py", line 66, in initialize_framing self.sut_adapter.start() File "/home/pi/Downloads/FreeV2G-master/SpiAdapter.py", line 188, in start self.spi.open(bus, device) FileNotFoundError: [Errno 2] No such file or directory During handling of the above exception, another exception occurred: Traceback (most recent call last): File "Application.py", line 52, in with Evse(args.interface_type, args.interface, args.mac) as evse: File "/home/pi/Downloads/FreeV2G-master/Evse.py", line 8, in __init__ self.whitebeet = Whitebeet(iftype, iface, mac) File "/home/pi/Downloads/FreeV2G-master/Whitebeet.py", line 120, in __init__ raise ConnectionError("Failed to initialize the framing interface on \"{}\"".format(self.framing.sut_interface)) ConnectionError: Failed to initialize the framing interface on "" pi@raspberrypi:~/Downloads/FreeV2G-master $ sudo python3 Application.py spi -i spidev0.0 -m C4:93:00:21:50:BB -r EVSE Traceback (most recent call last): File "Application.py", line 4, in from Ev import * File "/home/pi/Downloads/FreeV2G-master/Ev.py", line 4, in from scapy.automaton import Message ModuleNotFoundError: No module named 'scapy' pi@raspberrypi:~/Downloads/FreeV2G-master $ sudo python Application.py spi -i spidev0.0 -m C4:93:00:21:50:BB -r EVSE Traceback (most recent call last): File "Application.py", line 3, in from Evse import * File "/home/pi/Downloads/FreeV2G-master/Evse.py", line 9 print(f"WHITE-beet-EI firmware version: {self.whitebeet.version}") ^ SyntaxError: invalid syntax pi@raspberrypi:~/Downloads/FreeV2G-master $ python Application.py spi -i spidev0.0 -m C4:93:00:21:50:BB -r EVSE Traceback (most recent call last): File "Application.py", line 3, in from Evse import * File "/home/pi/Downloads/FreeV2G-master/Evse.py", line 9 print(f"WHITE-beet-EI firmware version: {self.whitebeet.version}") ^ SyntaxError: invalid syntax pi@raspberrypi:~/Downloads/FreeV2G-master $