Hello,
I’m new to the Home Assistant community, I’ve swtiched from Jeedom to Home Assistant a few months ago on a Raspberry 4B.
Now, I’m trying to develop a python program to read my 2 electric meters informations with a USB device that I’ve bought when I was using Jeedom ( Téléinfo 2 compteurs USB - Cartelectronic).
This works with a FTDI chip and thus, I need to use the pyftdi
python package.
My problem is that pyftdi uses the pyusb
package which needs to have libusb
library installed on my Raspberry ( Téléinfo 2 compteurs USB - Cartelectronic).
It works fine on Raspbian installing libusb
with apt-get install
but on Home Assistant OS, I can’t do this, and thus, I don’t know how to make it work.
I’ve tried to compile the library with my other Raspberry, to copy it to Home Assistant OS and to add it to LD_LIBRARY_PATH
, but the library fails to work…
Do you have any idea please ?
Thank you for your help.
If you need more information, do not hesitate.
Baptiste