Closed bmarelja closed 2 years ago
Just tried it yesterday and it Gives me these lines. (Shield on Raspberry 3, RaspOS).
Hi, I am having similar issues as users above have noted.
MY SETUP:
OS DETAILS:
pi@raspberrypi:/etc $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
CONFIGURATION According to ELElabs document here, following config changes were made:
ERROR DURING PROBE TEST
pi@raspberrypi:~/elelabs-zigbee-ezsp-utility $ python3 Elelabs_EzspFwUtility.py probe -p /dev/ttyS0
Traceback (most recent call last):
File "Elelabs_EzspFwUtility.py", line 526, in <module>
elelabs.probe()
File "Elelabs_EzspFwUtility.py", line 307, in probe
ezsp_status = ezsp.initEzspProtocol()
File "Elelabs_EzspFwUtility.py", line 286, in initEzspProtocol
ash_status = self.ash.sendResetFrame()
File "Elelabs_EzspFwUtility.py", line 178, in sendResetFrame
status, response = self.getResponse()
ValueError: too many values to unpack (expected 2)
Please advise, what we are doing wrong and how to correct the issue. Thank You!
When I launch the probe command on Windows 10 - c:\Util\Elelabs\elelabs-zigbee-ezsp-utility-master>python3 Elelabs_EzspFwUtility.py probe -p COM6 I've got response:
Traceback (most recent call last): File "c:\Util\Elelabs\elelabs-zigbee-ezsp-utility-master\Elelabs_EzspFwUtility.py", line 21, in import serial ModuleNotFoundError: No module named 'serial'
What I am doing wrong ?
Hi, It seems your "serial" python library is not installed on your system. Try this, to load all requirements of this ELE package:
pi@raspberrypi:~/elelabs-zigbee-ezsp-utility $ sudo pip3 install -r ./requirements.txt
That should correct your problem.
On window dont use py-serial 5.0 as its broken in windows so need using one older version or waiting for one fixed is released.
Having the same issue. Followed the instructions in the readme, still getting the error.
HARDWARE: Raspberry Pi2 v1.2 Elelabs Zigbee Raspberry Pi Shield EZBPIS
Should be addressed and fixed in the current version of the script
Doesn't seem like this has been addressed & fixed, I'm getting the same error as OP.
C:\tmp\z>python3 Elelabs_EzspFwUtility.py probe -p /COM5
Traceback (most recent call last):
File "C:\tmp\z\Elelabs_EzspFwUtility.py", line 21, in
C:\tmp\z>
and now how to proceed ??
You need to have the python module named serial installed on your system. -------- Original message --------From: Dabbadoeber @.> Date: 25/11/2022 09:54 (GMT+01:00) To: Elelabs/elelabs-zigbee-ezsp-utility @.> Cc: pop13-13 @.>, Comment @.> Subject: Re: [Elelabs/elelabs-zigbee-ezsp-utility] Cannot use the utility to probe (#9)
C:\tmp\z>python3 Elelabs_EzspFwUtility.py probe -p /COM5 Traceback (most recent call last): File "C:\tmp\z\Elelabs_EzspFwUtility.py", line 21, in import serial ModuleNotFoundError: No module named 'serial' C:\tmp\z> and now how to proceed ??
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>
No solution? I have the same problem I installed the requirements and when I start it again I get: Requirement already satisfied: pyserial==3.4 in c:\users\loefkeandreas\appdata\roaming\python\python311\site-packages (from -r ./requirements.txt (line 1)) (3.4) Requirement already satisfied: xmodem==0.4.6 in c:\users\loefkeandreas\appdata\roaming\python\python311\site-packages (from -r ./requirements.txt (line 2)) (0.4.6)
Same issue on my windows setup, requirements are already installed, but still "no module named 'serial'".
When I launch the probe command on Windows 10 - c:\Util\Elelabs\elelabs-zigbee-ezsp-utility-master>python3 Elelabs_EzspFwUtility.py probe -p COM6 I've got response:
Traceback (most recent call last): File "c:\Util\Elelabs\elelabs-zigbee-ezsp-utility-master\Elelabs_EzspFwUtility.py", line 21, in
import serial
ModuleNotFoundError: No module named 'serial'
What I am doing wrong ?