PaHub v2.1 Doesn't recognise ENV III Unit
-
Having difficulty with getting my ENV III Unit recognised. Setup below:
UIFlow2.0 AtomS3R v2.2.8
PaHub v2.1 - DIP switches on factory setting.
ENVIII UnitThe ENV III works fine without the hub. but will not work in any assigned port, whether on it's own, or with other units.
Other I2C units work as expected. Only the ENV III has this problem.
All channels tried.Has anyone else had this happen?
Thanks in advance for any help. -
-
@felmue I followed the instructions, and am getting this result"
Traceback (most recent call last):
File "<stdin>", line 21, in <module>
File "<stdin>", line 15, in setup
File "unit/env.py", line 41, in init
File "driver/qmp6988.py", line 99, in init
File "unit/pahub.py", line 100, in readfrom_mem
File "unit/pahub.py", line 37, in select_channel
OSError: [Errno 19] ENODEVHere is the relevant code
-
Hello @Boomvalt
I do not have an M5AtomS3R, but with my M5AtomS3 it works for me. See M5AtomS3_PaHUB_EnvIII_EnviV_UIFlow2.2.8 example in UIFlow2 Project Zone.
Make sure you power-cycle everything after changing the I2C address of PaHub. And maybe try another channel for the EnvIII unit?
Thanks
Felix -
@felmue Finally got it working correctly. In addition to your code, I initialised the Pahub, and then changed the dip switch to 0x71. Additional units work fine when assigned to 0x71.
Thanks for the help!